VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: anamari on August 08, 2012, 07:44:06 AM

Title: How to remove Index.php from URL?
Post by: anamari on August 08, 2012, 07:44:06 AM
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!!
Title: Re: How to remove Index.php from URL?
Post by: bytelord on August 08, 2012, 07:57:31 AM
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
Title: Re: How to remove Index.php from URL?
Post by: ivus on August 09, 2012, 04:07:07 AM
Hi anamari,

What bytelord said is perfect.  ;D
Title: Re: How to remove Index.php from URL?
Post by: Rozie on July 25, 2017, 16:35:17 PM
Definitely  ;D

Thanks bytelord, it works a treat!
Title: Re: How to remove Index.php from URL?
Post by: jackluter on August 16, 2017, 13:18:59 PM
The information added on htaccess is helpful one, but the link related with is not working. Please correct it bytelord.
Title: Re: How to remove Index.php from URL?
Post by: jenkinhill on August 16, 2017, 13:47:41 PM
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.