redirection works except on page.php?article…
-
I’m using the Redirection plugin. It works fine except where I need it most…
Firstly, my old static pages (on a bespoke website) redirect fine using the plugin:
/page.php?page=50_12846
goes to its destination fine in the Redirection plugin:
http://www.socialistnigeria.org/1550/2009/11/26/nigeria-on-the-brink/(No need to escape the period in page.php – good!)
But my article posts on my old website had urls of the form
/page.php?article=1234
And it kinda seems that “article” is a problem.
My new wordpress site has the same article IDs so I expected the Redirection plug in to send a simple (non regex) test url:
/page.php?article=3836
to go to
/3836/2019/05/07/urgent-need-for-speedy-construction-and-repair-of-roads-in-agbado-oke-aro-lcda-to-prevent-tragedy-in/But it gives me a 404.
Redirect to ?p=3836 also gives a 404.
Hope someone can help.
Incidentally, I’m only using the Redirection plugin because I had the same problem in a direct edit of .htaccess,
RewriteRule ^page\.php?article=([^/\.]+)/?$ /?p=$1 [R=301,L]
but I guess that’s different forum, might be a different problem, and in any case, Redirection is more convenient.The page I need help with: [log in to see the link]
- The topic ‘redirection works except on page.php?article…’ is closed to new replies.