Author Topic: How to remove Index.php from URL?  (Read 7485 times)

anamari

  • Beginner
  • *
  • Posts: 3
How to remove Index.php from URL?
« 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!!

bytelord

  • Nikos
  • Global Moderator
  • Hero Member
  • *
  • Posts: 2369
Re: How to remove Index.php from URL?
« Reply #1 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
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

  • Full Member
  • ***
  • Posts: 534
  • - YAY me... proud member of the 500 club...
Re: How to remove Index.php from URL?
« Reply #2 on: August 09, 2012, 04:07:07 am »
Hi anamari,

What bytelord said is perfect.  ;D

Rozie

  • Beginner
  • *
  • Posts: 4
    • Rozegarden Website Design
Re: How to remove Index.php from URL?
« Reply #3 on: July 25, 2017, 16:35:17 pm »
Definitely  ;D

Thanks bytelord, it works a treat!

jackluter

  • Beginner
  • *
  • Posts: 3
    • Mobile apps development companies Chicago
Re: How to remove Index.php from URL?
« Reply #4 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.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26206
  • Always on vacation
    • Jenkin Hill Internet
Re: How to remove Index.php from URL?
« Reply #5 on: August 16, 2017, 13:47:41 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

Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

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

Currently using VM3.2.4 on Joomla 3.8 PHP 7.0.23

Testing VM3.2.5 on J!3.8