redirecting to an url with ? in it? [moved]

HendrikGent

Member
Apr 27, 2006
10
0
151
Hi,

I would like to permantly redirect a few pages.
Because the site has gone from a static to a dynamic one the links to the articles now get the article dynamic.

So instead of /articles/article001.html it is now /articles.php?title=article001
If I make this redirection in my cpanel the link is redirected to articles.php%3ftitle=article001
Is there a way to make it work?
Thanks
 

HendrikGent

Member
Apr 27, 2006
10
0
151
Code:
RedirectMatch temp ^/article001.html$ http://www.mydomain.com/articles.php?title=article001
where mydomain is offcourse my real domain name :)
 

lloyd_tennison

Well-Known Member
Mar 12, 2004
698
1
168
How about the other way around, from a URL with a question mark to one with or without.

With a %3f in it, Apache gives an error. With a question mark in it - Cpanel will not take it, and if added manually it is ignored (to htaccess.)