301 redirect from root to /index.aspx
-
I have taken over the SEO for www.domain.net.
The way i've inherited the setup is that www.domain.net is 301 redirected to www.domain.net/index.aspx Looking at top pages and linking root domains in Opensiteexplorer I can see that
www.domain.net/index.aspx has 1,006 linking root domains www.domain.net has 806 linking root domains.
I assume that www.domain.net is passing the value of it's 806 domain links to www.domain.net/index.aspx via the 301 redirect and because of this would expect www.domain.net/index.aspx to be the strongest page on the site and be the url that ranks in the listings for many relevant searches.
It appears however that www.domain.net is what is shown in listings and not www.domain.net/index.aspx ??
Can anyone explain why this might be??
If I do a site: search in Google then www.domain.net is indexed and not www.domain.net/index.aspx ??
-
These could be mostly internal links - are you linking to "/index.aspx" from your navigation, logo, etc.? In OSE, select "from [only external]", and you won't see your internal links. That can really skew the count.
-
Thanks once again Brian.
I have double checked the header response and the redirect from "index.aspx" to the international pages is definitely a 302.
I'm hoping that Google is not assuming that the 302 is intended to be a 301 as I want the link juice to stay at the root domain and I assume this is why 302s were used by whoever setup the IP redirects to international pages.
-
Thanks Dr. Pete,
I am comforted slightly by what you say about Google having a strong preference for the root and that you've seen it before. With the volume of links coming in to "index.aspx" you can see why seeing the root in Google listings made me nervous that all of those links were being ignored.
This comment also comforts me..
301/302 chain could exacerbate the problem, although it would typically leave link-juice after the 301
as that is what I would expect too.
I am hesitant to make changes because of the risks it involves and might just have to accept that I'll never know for sure whether those links to "index.aspx" are definitely being counted.
-
Well, here are some more possible issues....
1. Are you sure the redirect to the English page is a 302 and not a 301? As Dr Peter suggested - check the headers.
2. Google has said that in cases where it believes the 302 is a mistake it will treat the 302 as a 301....if this is the case, there's really nothing you can do, besides getting rid of the 302 and using a meta refresh instead. The meta refresh is commonly used in situations like yours, and while not a perfect solution, it would seem to be better than using a 302, which is typically not a good solution at all anymore. I'd bet this is your issue.
-
Google seems to have a strong preference for the root domain, and I've seen this before. Unfortunately, ASP/.NET can be really stubborn about going for the "index.aspx" or "default.aspx" page. You're probably still getting credit for the back-links, but it can be tough to tell. A couple of things:
(1) Make sure you're linking internally to the canonical version (in this case "index.aspx"). Otherwise, you're sending a mixed signal and that can disrupt the 301.
(2) Add a canonical tag to the "index.aspx" page. It can't hurt to double up, in this case.
Oh, sorry - just saw your follow-up. That 301/302 chain could exacerbate the problem, although it would typically leave link-juice after the 301. It's a bit complex, though. You could consider moving your English home-page up a level and only redirecting other audiences. That is a tricky proposition, though, and carries risk.
I'd also grab a header checker and just make sure Google is seeing what you're seeing. It's always best to verify that your redirects are working as expected.
-
Thanks again for giving this some thought and trying to help!
OK, I left out some info that I thought would complicate my description of setup but I wonder whether it is pertinent to the problem....
The site has international content areas and is geo-targeted using the directory method i.e /en-gb, /en-au,, /en-us etc
I have mentioned that www.domain.net does a 301 redirect to www.domain.net/index.aspx but I did not mention that www.domain.net/index.aspx then 302 redirects to the relevant international landing page based on IP address.
I'm pretty sure that the Google spider crawls from a US IP address so I believe that what it will see is:
www.domain.net 301 redirects to www.domain.net/index.aspx
www.domain.net/index.aspx 302 redirects to www.domain.net/en-us/index.aspx
Could the 302 redirect from www.domain.net/index.aspx be responsible for Google keeping www.domain.net in their index despite the 301??
Also, and concerning me more, do you think the considerable link juice to www.domain.net/index.aspx is being lost in all of this??
-
Quba I've thought about this more, and...I have to say that I'm at a loss. All of the links to the domain.net should be lost to domain.net and gained by domain.net/index.aspx
Is it possible that the index.aspx url has a noindex instruction from the robots.txt?. Is index.aspx showing up at all?
-
Thanks for your response Brian,
it could be that most of the links are initially directed at www.domain.net.
According to Opensiteexplorer www.domain.net/index.aspx has more links than www.domain.net though?
Where is your non-www domain directed? Is it directed to www.domain.net or or www.domain.net/index.aspx ? If it's directed to the former then that could explain some or all of your issue.
domain.net redirects to www.domain.net/index.aspx
-
Quba it's hard to say, but....
1. We know that (according to Google) some PR is lost in redirection, and it could be that most of the links are initially directed at www.domain.net.
2. Where is your non-www domain directed? Is it directed to www.domain.net or or www.domain.net/index.aspx ? If it's directed to the former then that could explain some or all of your issue.
-
Why has the main domain been redirected to index.aspx? it makes no sense
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Removing Multiple 301 Redirects
During my last redesign (and migration to Drupal) some of the updated SEO friendly url's on the new site were misspelled. Rather than updating the 301 redirects to point to the correct page the developer just added an additional 301 redirect. So it was redirected like this website.com/oldpage (301 to) website.com/new-paige (301 to) website.com/new-page Instead of website.com/oldpage (301 to) website.com/new-page I'll be finishing another redesign and updating to https soon, should I remove the redirect to the misspelled domain and just have one 301 from the original page? These multiple redirects have been up for over a year. Thanks for any specific advice!
Technical SEO | | talltrees0 -
Remove html file extension and 301 redirects
Hi Recently I ask for some work done on my website from a company, but I am not sure what they've done is right.
Technical SEO | | ulefos
What I wanted was html file extensions to be removed like
/ash-logs.html to /ash-logs
also the index.html to www.timports.co.uk
I have done a crawl diagnostics and have duplicate page content and 32 page title duplicates. This is so doing my head in please help This is what is in the .htaccess file <ifmodule pagespeed_module="">ModPagespeed on
ModPagespeedEnableFilters extend_cache,combine_css, collapse_whitespace,move_css_to_head, remove_comments</ifmodule> <ifmodule mod_headers.c="">Header set Connection keep-alive</ifmodule> <ifmodule mod_rewrite.c="">Options +FollowSymLinks -MultiViews</ifmodule> DirectoryIndex index.html RewriteEngine On
# Rewrite valid requests on .html files RewriteCond %{REQUEST_FILENAME}.html -f RewriteRule ^ %{REQUEST_URI}.html?rw=1 [L,QSA]
# Return 404 on direct requests against .html files RewriteCond %{REQUEST_URI} .html$
RewriteCond %{QUERY_STRING} !rw=1 [NC]
RewriteRule ^ - [R=404] AddCharset UTF-8 .html # <filesmatch “.(js|css|html|htm|php|xml|swf|flv|ashx)$”="">#SetOutputFilter DEFLATE #</filesmatch> <ifmodule mod_expires.c="">ExpiresActive On
ExpiresByType image/gif "access plus 1 years"
ExpiresByType image/jpeg "access plus 1 years"
ExpiresByType image/png "access plus 1 years"
ExpiresByType image/x-icon "access plus 1 years"
ExpiresByType image/jpg "access plus 1 years"
ExpiresByType text/css "access 1 years"
ExpiresByType text/x-javascript "access 1 years"
ExpiresByType application/javascript "access 1 years"
ExpiresByType image/x-icon "access 1 years"</ifmodule> <files 403.shtml="">order allow,deny allow from all</files> redirect 301 /PRODUCTS http://www.timports.co.uk/kiln-dried-logs
redirect 301 /kindling_firewood.html http://www.timports.co.uk/kindling-firewood.html
redirect 301 /about_us.html http://www.timports.co.uk/about-us.html
redirect 301 /log_delivery.html http://www.timports.co.uk/log-delivery.html redirect 301 /oak_boards_delivery.html http://www.timports.co.uk/oak-boards-delivery.html
redirect 301 /un_edged_oak_boards.html http://www.timports.co.uk/un-edged-oak-boards.html
redirect 301 /wholesale_logs.html http://www.timports.co.uk/wholesale-logs.html redirect 301 /privacy_policy.html http://www.timports.co.uk/privacy-policy.html redirect 301 /payment_failed.html http://www.timports.co.uk/payment-failed.html redirect 301 /payment_info.html http://www.timports.co.uk/payment-info.html1 -
Htaccess code to 301 redirect a folder change
Hi, I need some help to redirect all my site as there was a folder change. eg, the old structure was www.mysite.com/stuff-1/bags.html and I need it to go to the same structure without the "-1" eg: /stuff/bags.html
Technical SEO | | Paul_MC
The "bags.html" will be lots of different products, so this would be a wildcard? What would the htaccess code need to be? Thanks0 -
Blog.furnacefilterscanada.com/ or furnacefilterscanada.com/blog/
My shopping cart does not allow to instal a WordPress blog on a sub-domain like: furnacefilterscanada.com/blog/ But I can host my blog on another server with a sub-domain like: blog.furnacefilterscanada.com In a SEO point of view is there a difference between the 2? Link juice? Page authority? Thank you, BigBlaze
Technical SEO | | BigBlaze2050 -
Can you do a 301 redirect without a hosting account?
Trying to retire domain1 and 301 it to domain2 - just don't want to get stuck having to pay the old hosting provider simply to serve a .htaccess file with the redirect rule.
Technical SEO | | TitanDigital0 -
301 redirects tanked our site on google - what now?
We had several hundred old pages on the site with duplicate content and new pages with fresh info on the same topics. So I redirected the old pages to the new pages. Next day, plop, we're dumped off google for almost every keyword. Dang I thought they didn't want duplicate content and old funky pages. What did I do wrong and what can I do to fix it? Thanks so much for anyone who can share their expertise. Jean
Technical SEO | | JeanYates0 -
301 redirects inside sitemaps
I am in the process of trying to get google to follow a large number of old links on site A to site B. Currently I have 301 redirects as well a cross domain canonical tags in place. My issue is that Google is not following the links from site A to site B since the links no longer exist in site A. I went ahead and added the old links from site A into site A's sitemap. Unfortunately Google is returning this message inside webmaster tools: When we tested a sample of URLs from your Sitemap, we found that some URLs redirect to other locations. We recommend that your Sitemap contain URLs that point to the final destination (the redirect target) instead of redirecting to another URL. However I do not understand how adding the redirected links from site B to the sitemap in site A will remove the old links. Obviously Google can see the 301 redirect and the canonical tag but this isn't defined in the sitemap as a direct correlation between site A and B. Am I missing something here?
Technical SEO | | jmsobe0 -
301 Redirect Issue
I'm having an issue with 301 redirects: Let's see if I can verbalize my thoughts on this one... So we just recently moved our site to Wordpress. One of our new 301 commands is redirecting oursite.com/news to oursite.com/blog . However there are other links from our previous site that look like oursite.com/news/XYZ and the issue is that, because wordpress structures its links differently, that URL is not equivalent to oursite.com/blog/XYZ. Instead, it might look something more like oursite.com/blog/yaddayadda/XYZ or something. Does that make sense? The issue is that when I find an old link of ours on google that looks something like "oursite.com/news/XYZ" or "oursite.com/news/ABC" it is automatically replacing "news" with "blog". When I try to go in manually and redirect anything that says "/news/XYZ" to "/blog/yaddayadda/XYZ" it still doesn't work. It still just replaces "news" with "blog." Wow I realize that might not make sense to anyone but if it does - please advise!! Thanks!!!!
Technical SEO | | EntrustSEO0