htacces and Rewrite URL problem

Discussion in 'Site & Server Administration' started by MAD King, Aug 21, 2010.

  1. #1
    Hello,

    I have a problem with building a seo friendly URL.

    Following URL:

    listings.php?page=1&category=92&country=Canada
    HTML:
    Canada is only one of a few countries

    I tried it with:

    RewriteRule ^([^\/]+)/listings.html$ listings.php?page=$1&country=$2 [nc,qsa]
    HTML:
    and

    RewriteRule ^([0-9]+)-([^\/]+)/([^\/]+)/listings.html$ listings.php?page=$1&country=$2 [nc,qsa]
    HTML:
    but it doesn't work.

    Could someone please help me?

    Thank you
     
    MAD King, Aug 21, 2010 IP
  2. romika

    romika Member

    Messages:
    264
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #2
    romika, Aug 24, 2010 IP
  3. MAD King

    MAD King Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Danke. Problem wurde gelöst.
     
    MAD King, Aug 24, 2010 IP