Bricktop Posted March 1, 2008 Share Posted March 1, 2008 Hi all, Not sure if I would use mod-rewrite of php for this. But I have used mod-rewrite on my entire site and it works great. Only thing is, soome of my requests involve a space, for example "location=The Moon" Mod-rewrite then displays the link in the address bar as /location/The%20Moon/ How can I change the space to appear as a -, so it would look like /location/The-Moon Do I use Mod-rewrite or PHP str_replace for this? Thanks Quote Link to comment Share on other sites More sharing options...
Bricktop Posted March 1, 2008 Author Share Posted March 1, 2008 Hi all, I did it will str_replace in the end If anyone knows if this is possible with mod_rewrite, I'd still love to know. Please reply to this post if you have any further information. Thanks Quote Link to comment 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.