News:

Support the VirtueMart project and become a member

Main Menu

How to remove Index.php from URL?

Started by anamari, August 08, 2012, 07:44:06 AM

Previous topic - Next topic

anamari

Hi, please someone help me,
How can I  remove Index.php from the URL?

I have
VirtueMart Engine: 2.0.x
Joomla! Engine: 2.5.4
Godaddy

I'm not a web developer..


Thank you SOOO much!!

bytelord

#1
Hello,

This a joomla configuration and not VM. If we assume that you have already both Joomla 2.5 SEO and VM 2.0x SEO enabled to remove the index.php you can simple rename in your home folder htaccess.txt to .htaccess
The default joomla htaccess has a rule that hides the index.php from your url.
The .htaccess to work needs on your joomla globa configuration-> SEO settings to enable Use URL rewriting.

The above regarding on .htaccess it will work if you use Apache as web server.

for information about htaccess you can find here: http://docs.joomla.org/How_do_you_convert_an_htaccess.txt_file_into_a_.htaccess_file

Hope it helps.

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

ivus

Hi anamari,

What bytelord said is perfect.  ;D

Rozie

#3
Definitely  ;D

Thanks bytelord, it works a treat!

jackluter

The information added on htaccess is helpful one, but the link related with is not working. Please correct it bytelord.

jenkinhill

Quote from: jackluter on August 16, 2017, 13:18:59 PM
the link related with is not working. Please correct it bytelord.

You can't really expect a 5 year old docs link to still work or now be relevant! bytelord left the forum over a year ago. The link is fixed if you want to read the page.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum