Help for SEO friendly URLs

Discussion in 'Apache' started by cmcash, Jul 5, 2008.

  1. #1
    Hi,

    I am thinking in applying friendly URLs to my dynamic webpages by using .htaccess but I have some doubts that maybe someone could help me.

    As an example, imagine I apply a rewrite rule so I can redirect the static url

    mydomain.com/convites-casamento.php

    to the dynamic url

    mydmain.com/artesanato-all.php?prodType=MSC


    But, I have a problem. Almost all the dynamic urls have already been indexed by google. So, by doing this redirect I will get "double content" .
    So how can I use .htaccess to avoid it?
    I think if I use a 301 permanent redirect from the dynamic url to the static onte I will have a loop situation right? So how can I solve it?


    Thanks in advance for your help.

    Best regards,

    CM
     
    cmcash, Jul 5, 2008 IP
  2. dustin56

    dustin56 Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can just setup the SEF URLs and then use Google Webmaster Tools to remove the dynamic URLs from Google.
     
    dustin56, Jul 8, 2008 IP