Header address without a "/" at the end

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gippo
Forum Newbie
Posts: 4
Joined: Tue Nov 17, 2009 10:45 pm

Header address without a "/" at the end

Post by gippo »

To give you an example on what I mean is in here.
http://www.lockerz-me.com/

When you click on faqs and other links. on the header it shows "http://www.lockerz-me.com/faq" not "http://www.lockerz-me.com/faq/"

How do we do this?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: Header address without a "/" at the end

Post by John Cartwright »

You change the link..

Then, I assume your using mod_rewrite.. adjust the rule (in .htaccess) for an optional slash or create a new rule all together with the extra slash.
gippo
Forum Newbie
Posts: 4
Joined: Tue Nov 17, 2009 10:45 pm

Re: Header address without a "/" at the end

Post by gippo »

The site that I was giving an example is not my website. And I do not get what to do for the htaccess. :[
Post Reply