ahzulfi Posted March 13, 2008 Share Posted March 13, 2008 Hello, i got a wierd trailing slash problem with my URLS if i use http://myurl.com/somethin it works however http://myurl.com/somethin/ will give me 404 error i have tried everything but nothing worked please help me how i can redirect those URL having TRAILING Slash to without Trailing Slash Thanks & Regards ArslanHassan Quote Link to comment https://forums.phpfreaks.com/topic/96042-trailing-slash-problem/ Share on other sites More sharing options...
powerspike Posted March 18, 2008 Share Posted March 18, 2008 you'll find people usally do it the other way around, redirect no trailing slash to a trailing slash, some web servers do that automaticly as well, so you might want to think about doing it's it that way not sure if this would work or not, but you can give it a go RewriteRule (.*)/$ $1 [L] Quote Link to comment https://forums.phpfreaks.com/topic/96042-trailing-slash-problem/#findComment-494670 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.