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 2 of 2
  1. #1
    Regular Coder sitNsmile's Avatar
    Join Date
    Dec 2009
    Location
    Charlotte, NC
    Posts
    356
    Thanks
    19
    Thanked 2 Times in 2 Posts

    .htaccess ( .html?id=x)

    RewriteRule ^([_A-Za-z0-9-]+)/?/([_A-Za-z0-9-]+)-page.html?([0-9]+)/?$ index.php?action=find&term=$2&ch=$1&sub_id=$3

    However, it doesnt work, with the "?"

    any ideas?

  • #2
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by sitNsmile View Post
    RewriteRule ^([_A-Za-z0-9-]+)/?/([_A-Za-z0-9-]+)-page.html?([0-9]+)/?$ index.php?action=find&term=$2&ch=$1&sub_id=$3

    However, it doesnt work, with the "?"

    any ideas?
    ? is metachar and need to be escaped \? if you want to use it as char.

    best regards


  •  

    Posting Permissions

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