cancel
Showing results for 
Search instead for 
Did you mean: 

Index.php duplicate URL

Index.php duplicate URL

Hi i discovered that my site contain a duplicate one with /index.php/  in all the URLs.

 

If i redirect this last URLs (in .htaccess) to all URLs without /index.php/ , something could happened to the website? Crashing or similar?

 

Many thanks

1 REPLY 1

Re: Index.php duplicate URL

Try this on .htaccess ..

RewriteEngine On
RewriteRule ^index\.php/(.*)$ /$1 [R=301,L]

Enables the Apache mod_rewrite engine. RewriteEngine On and test it