How can I remove index.php after slash from my url? | PHP | Forum

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

How can I remove index.php after slash from my url?
August 8, 2010
6:57 am
emilyk
Member
Forum Posts: 4
Member Since:
June 20, 2010
Offline

Hi

Before in my site's url after the forward slash index.php was not shown like http://www.mysite.com/. Recently, I worked in .htaccess. Now, I see that if I type my url at address bar, the index.php also showen like http://www.mysite.com/index.php. But i only typed http://www.mysite.com at address bar.

Can you tell me what I need to hide the index.php after slash?

Thank you

August 8, 2010
6:58 am
scorpio
Member
Forum Posts: 6
Member Since:
June 20, 2010
Offline

If you can show your .htaccess code, it will be very easy to tell.

RewriteRule xxx /index.php[L]

Like above statement you might be specified /index.php. Please change that to /
Then it will fix your problem.

Forum Timezone: UTC 5.5

Most Users Ever Online: 11

Currently Online:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

poster: 13

scorpio: 6

kumar.ganesh: 5

varung: 5

emilyk: 4

me.shann: 3

Member Stats:

Guest Posters: 0

Members: 15

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 19

Topics: 16

Posts: 38

Newest Members: alex_c, nandhajj, me.shann, senthil, soumyaRaghuveer, kumar.ganesh

Moderators:

Administrators: admin (0)