special characters rewrite?

Discussion in 'Site & Server Administration' started by chucky00, Sep 2, 2008.

  1. #1
    i am into developing a swedish shop and i have the htaccess rules for rewriting the urls to html...now the problem is when i add ö ä å to the products the pages are not found...can someone give me a hand?thanks
     
    chucky00, Sep 2, 2008 IP
  2. pr0t0n

    pr0t0n Well-Known Member

    Messages:
    243
    Likes Received:
    10
    Best Answers:
    10
    Trophy Points:
    128
    #2
    It works fine when I test it with characters like ö and ä ... Can you paste your rewrite rulles?
     
    pr0t0n, Sep 2, 2008 IP
  3. chucky00

    chucky00 Banned

    Messages:
    196
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    sure thank for your reply..i've got oscommerce with seo urls and these are the htaccess rules
    Options +FollowSymLinks
    RewriteEngine On 
    RewriteBase /
    
    RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-c-(.*).html$ index2.php?cPath=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-links-(.*).html$ links.php?lPath=$2&%{QUERY_STRING}
    PHP:
     
    chucky00, Sep 2, 2008 IP