Hide index.php

Discuss everything related to Medical Appointment. All versions. Any questions related to the Medical Appointment developing or using should be posted to this forum.

Moderators: ne_moj, Milton, vadimako, ne_moj, Milton, vadimako

ivan561
Newbie
Newbie
Posts: 1
Joined: Aug 2nd, '17, 01:55

Hide index.php

Postby ivan561 » Aug 2nd, '17, 01:57

I want to hide the index.php from url. It is possible? How I do that?

ne_moj
Master
Master
Posts: 243
Joined: Jan 1st, '16, 14:11

Re: Hide index.php

Postby ne_moj » Aug 2nd, '17, 11:27

Hello Ivan

Try adding a line to the .htaccess file:
     RewriteRule ^index\.php$ http://YOUR_SITE/ [R=301,L]

YOUR_SITE should be replaced with the address of your site (for example example.com)

Regards


Return to “ApPHP Medical Appointment Talk {developers/users}”