WordPress to NodeBB
-
@John-Smith 301 is moved permanently. So unless you plan on going back to abc.com at any point, 301 is the correct one to use.
EDIT: One thing you need to be aware of though is that Bing will not follow a stacked redirect*, however Google will. Bing will re-index your data on efg.com. Whereas Google will use the pagerank from abc.com.
*stacked redirect - Having 2 or more 301 redirects in a row.
-
@John-Smith Correct.
-
@John-Smith Having a few issues getting a dev environment set up, but will let you know as soon as I have more info. I'm still quite new to NodeBB, so, I'm picking things up as I go along.
-
by the way, @John-Smith and @a_5mith
the importer will spit out links to create a redirect map.
see this issue for explanation: https://github.com/akhoury/nodebb-plugin-import/issues/29
-
@Hawon-Nguyen Not had time to look at it, this isn'y my full time job unfortunately. I can put what I've got up on github if someone has more time to dedicate to it.
I've hit an obstacle at getting the comments in due to their ID, but I will get to it.
-
@a_5mith Any updates for this yet? I have been waiting since forever.
-
@Flexi-Hackify said:
@a_5mith Any updates for this yet? I have been waiting since forever.
@a_5mith said:
I've hit an obstacle at getting the comments in due to their ID, but I will get to it.
I've not touced the wordpress plugin for a while. You're welcome to take a look to see how if it's easily doable. The issue is the IDs of the comments start at 1, as do the IDs of the posts. But there's nothing linking the comment IDs to the topic ID. From what I could see, I've not looked at this for a while. I may look now 4.0 is out and see how it's changed. But if someone else wishes to take a look at this, I won't say no.
-
I've upped what I've got so far so other people can take a look, I've made @bentael a collaborator on this as there's a few bits and pieces I'm not sure about. For example matching the comment to the post, as it's done in the term_taxonomy and not in with the actual data itself. So for example, comment 23 is for post 3 etc, rather than having everything together.
It's here if anyone wants to check it out (it's not done yet, there's still some SMF table names in the
getPosts
portion)