Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

remove index.php & Joomsef htaccess help please
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: remove index.php & Joomsef htaccess help please

remove index.php & Joomsef htaccess help please 16 years, 6 months ago #4215

Hi all

Joomsef 2.2.6 on Joomla 1.0.15

At the moment my site can be accessed by going to mydomain.com/ and mydomain.com/index.php.

I have in the Joomsef set the config to use the default index file of index.php which is fine and works.

However I want to be able to redirect all calls to index.php files to the directory without the index.php file - confused yet :) so /index.php goes to /

I have added to my htaccess file the following

# Rule for not using index.php as home page
Options +FollowSymLinks
RewriteCond %{THE_REQUEST} ^.*/index.php
RewriteRule ^(.*)index.php$ mysite.com/$1 [R=301,L]

This works great for the home page - BUT - it does not work for other components that have been JoomSef'd - e.g. when one tries to view the weblinks which is normally mydomain.com/links/index.php - the above code makes it go to mydomin.com/links/ but then shows a 404 error.

Question:
1. If I remove the index.php from the joomsef config wil that fix it?
Or
2. Can you share any advice how I can modify my htaccess to get it to work please

Thanks
Last Edit: 16 years, 6 months ago by gwmbox. Reason: minor edits to fix post
  • Page:
  • 1
User Login Empty