SEO URLS - Best way?

Discussion in 'Search Engine Optimization' started by winsoar, Mar 15, 2008.

  1. #1
    One of my clients has a site where the pages are like product.asp?p=105&g=0 etc.

    I want to use a script on a custom 404 error page to make SEO URLS, like:

    product-name-p105g0.html

    What is the best way to present the user with the page so that it is readable by the search engines?

    Should I use a redirect or another method?
     
    winsoar, Mar 15, 2008 IP
  2. Blonde Jon

    Blonde Jon Active Member Affiliate Manager

    Messages:
    745
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    58
    #2
    You need to do a modrewrite.
     
    Blonde Jon, Mar 15, 2008 IP
  3. astup1didiot

    astup1didiot Notable Member

    Messages:
    5,926
    Likes Received:
    270
    Best Answers:
    0
    Trophy Points:
    280
    #3
    A) You can 301 redirect via .htaccess every URL you changed. This would require you to actually create the new web page(s) and directory structure.

    B) You can use mod_rewrite to use apache to rewrite URLs, this way you don't need to create new files and directories.
     
    astup1didiot, Mar 15, 2008 IP