htaccess and rewrite/redirect
-
I have an old (custom) cms I wrote, where the format of the urls are /article.php?section=food
I have converted my articles to wordpress and would like to redirect each article to it’s corresponding wordpress url.I have tried using redirect, but I always get the 404 page.
I know redirect “works” because if i:
redirect 301 /article.php https://domain.tld/2007/05/27/food-article
it works, but /article.php?section=food does not.
With rewrite rules I have equal success
Any tips on using redirect, or rewrite would be greatly appreciated.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘htaccess and rewrite/redirect’ is closed to new replies.