Jinovich
08-07-2008, 02:52 PM
Basically, I have moved my web application from
/public_html/news/ to /public_html/
I would like to set the redirects so that
/news/index.php?catid=22&newsid=23 would go to /index.php?catid=22&newsid=23
Basically all I want it to do is get the url and remove the /news from it so that all the links to content on my site still works.
Can anyone help as I am failing with the code for this task.
RewriteRule ^news/([^/\.]+)/?$ /$1 [L] would this rule work?
/public_html/news/ to /public_html/
I would like to set the redirects so that
/news/index.php?catid=22&newsid=23 would go to /index.php?catid=22&newsid=23
Basically all I want it to do is get the url and remove the /news from it so that all the links to content on my site still works.
Can anyone help as I am failing with the code for this task.
RewriteRule ^news/([^/\.]+)/?$ /$1 [L] would this rule work?
