remove trailing slash issue

New to mod_rewrite? This is a good place to start.

remove trailing slash issue

Postby david510 » Wed Nov 18, 2009 8:16 am

When I take the url as follows it gets trailing slash added.

domain.com/admin
turns to
domain.com/admin/

I need to remove trailing slash appending here. ie it should remain as domain.com/admin (without trailing slash)

Also if someone takes domain.com/admin/ it should be redirected to domain.com/admin

Possible?
david510
 
Posts: 23
Joined: Sun Nov 05, 2006 12:43 am

Re: remove trailing slash issue

Postby david510 » Wed Apr 21, 2010 1:23 am

Richard,

Can you help me on this?
david510
 
Posts: 23
Joined: Sun Nov 05, 2006 12:43 am


Return to Beginner's Corner

Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest

cron