• Resolved halsnalle

    (@halsnalle)


    OK. After two years powering my blog with Nucleus, I’m considering migrating to WordPress. However, the last catch seems to be permalinks. In Nucleus, I’ve never managed to enable FancierURLs, so instead my permalinks look like this:

    https://www.mothugg.se/item/331

    Now, when I migrate to WordPress, I’d like to keep those permalinks in the background (so as not to lose incoming links from other blogs), while also having nice WordPress-style permalinks. Perhaps I’m anal, but I also want to make it easy for my readers and have been annoyed myself when websites switch CMS and ruin my links (like the Swedish parliament did when launching the new Riksdagen.se).

    So is it possible to have double permalink structures? If so, I’m joining your team.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Assuming your posts keep the same IDs as they had on Nucleus, it’d be uber easy to do.

    If not, your .htaccess would probably have to have a rule for each old post or something.

    Though I am afraid it isn’t possible to have “double permalinks structure”.

    Yeah, sorry, I meant you’d just set it up to have the old permalinks redirect to the new URLs seemlessly.

    Thread Starter halsnalle

    (@halsnalle)

    Thanks, yes, since the post id numbers match perfectly, it was easy to preserve the old permalinks. Guess I’ll have to live without the fancier permalinks, then…

    No, use the fancy WordPress permalinks. Then via .htaccess, redirect the old URLs to the new URLs:

    RewriteEngine On
    RewriteRule ^item/?$ /index.php?p=$1 [QSA,L]

    Then you can even use a plugin like this one to make sure that people are always using the new URLs.

    Or, if you like your current structure, you can use your old permalink structure for WordPress. Just set a custom permalink structure in your options page. ??

    Thread Starter halsnalle

    (@halsnalle)

    Viper007bond: Thanks for the help. However, when I put that in my .htacess (just below RewriteRule . /wordpress/index.php) any URL (like ../wordpress/item/331 or ../wordpress/item/banana)leads to ../wordpress/index.php. I haven’t changed anything else.

    I’m surprised your IDs were left intact. When I imported my RSS feed into WP, the entire database was reversed. I had to write some code in the 404 error page to “guess” what page a visitor was trying to view.

    Writing rewrite rules would’ve taken too long for me.

    halsnalle: Put all of your rewrite rules above and outside of WordPress’.

    Thread Starter halsnalle

    (@halsnalle)

    Viper007Bond: Strange, even if I put the rewrite rules atop of the other stuff in .htacess, any URL will lead to index.php.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Can I keep my old permalinks when migrating from Nucleus?’ is closed to new replies.