Jump to content

Add trailings slash for only 1 folder


StefanRSA

Recommended Posts

Hi!

 

In my htaccess I have the following to remove the trailing slash from all my URL's

RewriteRule (.*)/$ /$1 [L,R=301]

Now I want to ad the trailing slash for only my support folder

How can I do this?

 

This does not work:

RewriteRule ^support$ /support/ [L]

 

Thanks

 

Link to comment
https://forums.phpfreaks.com/topic/193399-add-trailings-slash-for-only-1-folder/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.