1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

URL Rewrite

Discussion in 'Search Engine Optimization (SEO)' started by webwss, May 19, 2009.

  1. webwss

    webwss New Member

    Joined:
    May 19, 2009
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    We are trying to get the urls to rewrite and show in the address bar. You can manually type the address of domain.com/category/category-1 into the address bar and it will take you to the appropriate page but redirects to the page with id and does not show the same url in the address bar.
    Code:
     
    RewriteRule ^category/category-([0-9]+)/?$ category/index.php?id=1&currentpage=$1&cat=Category [L,NC]
    
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,283
    Likes Received:
    364
    Trophy Points:
    83
    You need to have L, NC at the end and add QSA
     

Share This Page