Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: 301 Redirect to Entity ID Only

  1. #1
    valentim is offline Senior Member
    Join Date
    Apr 2006
    Posts
    192

    Default 301 Redirect to Entity ID Only

    Has anybody run into issues doing 301 redirects as follows:

    A typical aspdnsf url might look this:
    p-123-myproduct.aspx

    But if p-123.aspx is entered as the url it will resolve to the full url containing the product name i.e. p-123-myproduct.aspx

    Is it safe to do a 301 redirect from an old site using just the id (and leave out the product name) i.e. redirect to:
    p-123.aspx
    or
    showproduct.aspx?ProductID=123

    Does anyone know if this might have SEO or Google Analytics implications?

    Thanks!
    Last edited by valentim; 04-08-2010 at 01:48 PM.
    Matthew
    Aydus Consulting
    Strategy+Development+Design=The Aydus Difference

  2. #2
    valentim is offline Senior Member
    Join Date
    Apr 2006
    Posts
    192

    Default

    It appears that this could cause Google to index both urls which is bad e.g.

    showproduct.aspx?ProductID=123
    p-123-myproduct.aspx

    It's recommended to 301 only to the final url e.g.
    p-123-myproduct.aspx

    FYI it might be possible to do something with Canonical URL tags instead to solve this issue.
    Matthew
    Aydus Consulting
    Strategy+Development+Design=The Aydus Difference