staff.php
(Staff Php)
1
How can i remove index.php for temp url using htaccess. My temp url
192.168.1.25/~username/mysite
i have my files in mysite folder I tried this but getting 404 error
RewriteEngine on
#RewriteBase /~username/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ./index.php
h3rm
2
i think this is should be:
RewriteEngine on
#RewriteBase /~username/mysite
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ./index.php
staff.php
(Staff Php)
3
Yup… That did the trick. A very useful one since most of the developers try in these test url.Thanks .