Dumb SEO Questions

(Entry was posted by Pulkit Khurana on this post in the Dumb SEO Questions community on Facebook, 08/06/2015).

Redirect Mistake

I`ve just checked one of my client`s site doesn`t redirect to the home page (i.e. http://www.thecitycollectionDOTorg/) from multiple URLs. For example,

http://www.thecitycollectionDOTorg/index.aspx
http://thecitycollectionDOTorg/index.aspx

Both the URLs don`t re-direct to the main individual page. So my question here is, am i making a mistake for not using the 301 redirect? Because Ahrefs is showing me the duplicate content for both the URLs.

Your help will be highly appreciated! Thanks!
This question begins at 00:01:46 into the clip. Did this video clip play correctly? Watch this question on YouTube commencing at 00:01:46
Video would not load
I see YouTube error message
I see static
Video clip did not start at this question

YOUR ANSWERS

Selected answers from the Dumb SEO Questions Facebook & G+ community.

  • Pulkit Khurana: I've just checked one of my client's site doesn't redirect to the home page (i.e. http://www.thecitycollectionDOTorg/) from multiple URLs. For example,

    http://www.thecitycollectionDOTorg/index.aspx
    http://thecitycollectionDOTorg/index.aspx

    Both the URLs don't re-direct to the main individual page. So my question here is, am i making a mistake for not using the 301 redirect? Because Ahrefs is showing me the duplicate content for both the URLs.

    Your help will be highly appreciated! Thanks!
  • Dave Elliott: just add a canonical tag for index/root domain issue.

    for the www/non www i'd do a rewrite. I see your on asp.net so presume it will be done via web.config file. (you could also do it via IIS server if you have the access or possibly via your CMS's settings admin panel, which is the easiest option)

    web.config adjustment will look something like.......

    configuration>
     ; <system.webServer>
     ;  ; <rewrite>
     ;  ;  ; <rules>
     ;  ;  ;  ; <rule name="Redirect to WWW" stopProcessing="true">
     ;  ;  ;  ;  ; <match url=".*" />
     ;  ;  ;  ;  ; <conditions>
     ;  ;  ;  ;  ;  ; <add input="{HTTP_HOST}" pattern="^thecitycollection.org$" />
     ;  ;  ;  ;  ; </conditions>
     ;  ;  ;  ;  ; <action type="Redirect" url="http://www.thecitycollection.org/{R:0}"
     ;  ;  ;  ;  ;  ;  ;  ;  ; redirectType="Permanent" />
     ;  ;  ;  ; </rule>
     ;  ;  ; </rules>
     ;  ; </rewrite>
     ; </system.webServer> ;
    </configuration>
  • Jim Munro: Thank you, +Dave Elliott ;. :)
  • Pulkit Khurana: Thanks for the advice! +Dave Elliott ;I'll definitely use that cheat code. :)

View original question in the Dumb SEO Questions community on Facebook, 08/06/2015).