Thread
:
Force a Trailing Slash with mod_rewrite
View Single Post
#
2
(
permalink
)
05-12-2009, 02:52 AM
swordfish
Administrator
Join Date: Jan 2009
Posts: 41
Quote:
Originally Posted by
jack1981
Hello, we have a URL structure in this format
http://www.domains.com/command/
. Via mod_rewrite this translates to
http://www.domains.com/index.php/command/
.
The problem, we require the trailing slash to be always present for
SEO
purposes. However not all inbound links knows this either their links were old or just plain put incorrect i.e.
http://www.domains.com/command
. How do we force that trailing slash?
TIA
Hi Jack,
zoticai+c has posted a similar solution on his blog here
Cloak PHP Files as Directories and Force Trailing Slash via mod_rewrite
Cheers
swordfish
View Public Profile
Send a private message to swordfish
Find all posts by swordfish