Redirect by .htaccess: questionmark in URL |
Hi everyone,
I have a line: Code: RedirectPermanent /old http://www.example.com/new in my .htaccess file, followed by: Code: RewriteEngine on I also tried it without the questionmark: Code: RewriteRule ^(.*)$ /index.php/$1 [L] But this results in the error message: "No input file specified." If I now call the URL http://www.example.com/new the addressbar of the browser shows: http://www.example.com/new?/old. But I only want it to show: http://www.example.com/new. Is there any way to manage this? Codeigniter version is 2.0.
The "old" and "new" was only one example. In fact there are some more permanent Redirects in front of the Rewrite Engine part like:
Code: RedirectPermanent /old1 http://www.example.com/new1 |
Welcome Guest, Not a member yet? Register Sign In |