1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

URL Rewrite

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

  1. webwss

    webwss New Member

    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

    You need to have L, NC at the end and add QSA
     

Share This Page