Hello,
I have removed the index.php from my site using the LG .htaccess Generator (v.1.0.0).
My site is currently running EE 1.6.9 Build: 20100430.
Previously the .htaccess file was working fine without problems.
The next day, all of the internal links would point to the homepage or spit out 404 errors.
The main template group is “site” (I know, original). The index template in this group is checked as the site’s home page.
Previously, (http://www.mydomain.com) worked fine as the homepage and relevant URLs such as http://www.mdomain.com/pizza, www.mydomain.com/beer, etc., when ‘pizza’ and ‘beer’ were template pages.
Now the pages will only work with http://www.mdomain.com/site/pizza, www.mydomain.com/site/beer added to the URL.
Also, following template groups worked…say I had a template group called ‘pepperoni’. The URL http://www.mydomain.com/pepperoni/pizza works fine still?
I am using the include method for index.php removal.
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?$1 [L]
Any reason why this would just quit working suddenly? Apache upgrade at hosting company?
Is there any way I can remove the ‘site’ from the URL again?
Thank you