Migrate joomla to wordpress, redirect question
-
Hi all …
For a few days now i have been trying to get some redirect working with a htaccess file.
I have tried every trick in the book, but apparently i have the wrong book, since i can’t get it to work.
Simple thing i’m trying to do:
Migrate a site from joomla to wordpress.
Joomla url is:
https://www.domain.com/index.php?option=com_content&task=section&id=2&Itemid=5
Corresponding WordPress url is:
https://www.domain.com/categoriename/artikelname.htmlWhen i try to redirect with plain filenames, like
Redirect 301 filename.html https://www.domain.com/categoriename/artikelname.html
it works like a charme, however, when i try this with a joomla style url, the redirect is not working. Nothing happens, no errors.I figured out it has something to do with the query string in the (joomla generated) url, and that’s where i get stuck.
So, what is the correct syntax for my htaccess file when i want to redirect
https://www.domain.com/index.php?option=com_content&task=section&id=2&Itemid=5
to
https://www.domain.com/categoriename/artikelname.htmlThanks for any help on this,
Greetings,
Johan.
- The topic ‘Migrate joomla to wordpress, redirect question’ is closed to new replies.