For programmers:adding a trailing slash automatically in urls

ahmads

Member
Joined
Jan 11, 2005
Messages
20
Hi palz.,
How do i add a trailing slash to all my urls using mod rewrite.,

like for example.,
in our site
mydomain.com/business-india/1 will not work and will show a 404 page
but
mydomain.com/business-chennai/1/ will work
There are thousands of urls like this in our site.

So if any user types:
mydomain.com/business-chennai/1 directly , it will show them a 404 page not found error.


Would be really grateful for any help
 

pvgool

kEditall/kCatmv
Curlie Meta
Joined
Oct 8, 2002
Messages
10,093
This forum is only for questions related to DMOZ. Although there might be someone capable of answering this question I advice you to ask this question in a forum fom webmasters.
 
This site has been archived and is no longer accepting new content.
Top