Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

.htaccess file to remove "index.php" from URL


Guest

Recommended Posts

Posted

I have a site running currently with no issues except when going to the site in any browser you see the "index.php" included in the URL

 

http://www.example.com/index.php'>http://www.example.com/index.php <-- what shows

http://www.example.com/ <-- What would like to show

 

I basically would just like to drop the index.php from the initial screen, what people see and after that i'm not concerned about what else shows. I was hoping someone would be able to provide me with the line of code that i need to do this. i have found many examples but nothing exactly what i need. Below i have pasted what the .htaccess file is right now.

 

 

# For security reasons, Option all cannot be overridden.

#Options All Indexes

# For security reasons, Option all cannot be overridden.

#Options ExecCGI Includes IncludesNOEXEC SymLinksIfOwnerMatch All

# For security reasons, Option all cannot be overridden.

#Options ExecCGI Includes IncludesNOEXEC SymLinksIfOwnerMatch All

Options ExecCGI Includes IncludesNOEXEC SymLinksIfOwnerMatch Indexes

 

 

I would greatly appreciate anyones help on this matter. Thankyou!!

 

Dave

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...