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 4 of 4
  1. #1
    Regular Coder
    Join Date
    Aug 2005
    Posts
    257
    Thanks
    8
    Thanked 0 Times in 0 Posts

    problem with condition (htaccess)

    Code:
    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-F
    RewriteRule ^([-_!*$@~:.a-zA-Z0-9]+)$ http://url.com/profile.php?username=$1
    why this condition not work????

  • #2
    Regular Coder
    Join Date
    Aug 2005
    Posts
    257
    Thanks
    8
    Thanked 0 Times in 0 Posts
    anybody??

  • #3
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    What url would you like to have once the rewriterule takes effect? Sounds like something like this http://www.mysite.com/profile

    Please let us know.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #4
    Regular Coder
    Join Date
    Aug 2005
    Posts
    257
    Thanks
    8
    Thanked 0 Times in 0 Posts
    is for user link profile like:

    www.myurl.com/newbie
    www.myurl.com/frank

    ......


  •  

    Posting Permissions

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