Welcome Guest, Not a member yet? Register   Sign In
Removing index.php using htaccess works on one server and doesn't work on others!
#1

[eluser]behnampmdg3[/eluser]
Hello friends;

I have a verison of the website on 2 differnet servers. I use htaccess to get rid of the index.php and it works fine on one server here is the link, please note the site is in a subdirectory.

But in second website; the other server it doesn't work and I need to have index.php in URL so it shows.

Whats should I change in my htaccess so it shows in the second website?

htaccess:
Code:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
Thank you


Messages In This Thread
Removing index.php using htaccess works on one server and doesn't work on others! - by El Forum - 02-04-2013, 07:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB