Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    Regular Coder Common's Avatar
    Join Date
    Jan 2009
    Location
    Glasgow, UK
    Posts
    133
    Thanks
    16
    Thanked 13 Times in 13 Posts

    Some Modrewrite Help

    Hi there

    Looking for a little assistance with ModRewrite.

    Basically, what I'm trying to do is take a URL like:
    Code:
    http://www.example.org/bars.php?name=Name%20of%20Pub
    and rewrite it to:
    Code:
    http://www.example.org/name-of-pub
    The problem I'm having is with changing %20s to -s, don't really know how to do that.

    Many thanks for any assistance you can give!
    Last edited by Common; 01-03-2014 at 01:03 PM.


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •