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
-
Old Content after 301 Redirect Success
Hi, I want to ask what need I do to the old content after my 301 redirect to the new domain with the same content success? Do I need to remove that old content? Nothing bad happen right? Thanks
Technical SEO | | matthewparkman0 -
Canonical vs 301 for index.php
Hello, we found recently quite a big error our index.php file had no canonical tag nor was a 301 redirect. So we put a canonical tag to it that it's the main www.examle.com duplicate . Now is there any difference in regards to link juice or Google 301 vs canonical tag ? I read that moz did a 301 from their index php. I understand one difference is that user then can Type in the URL if no 301, but I'm interested about ranking effect of it.
Technical SEO | | advertisingcloud0 -
What would happen if 301 redirects were not in place
Good Morning from 14 degrees C sunny Wetherby UK 🙂 My question is please.... "When a new site is given a total makover ie old urls are re written to radically different ones I know if you dont set up 301 redirects the infamous 404 error page will rear its head. But i wonder if 301 redirects were not configured how long on average does it take google to index the new site and serp links finally point to the new site". Thanks in advance 🙂
Technical SEO | | Nightwing0 -
Index.php and 301 redirect with Joomla
Hi, I'm running Joomla 1.7 with SEF on and I'm trying to do a htaccess redirect which fails. I have approximately 100 in effect so far and all working fine, but I have one snag. Index.php is not working as I need it to when it's redirected to www.myurl.com/ If I turn on index.php redirect to root using this code #index.php to root
Technical SEO | | NaescentAdam
RewriteCond %{HTTP_HOST} ^myurl.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.myurl.com$
RewriteRule ^index.php$ "http://www.myurl.com/" [R=301,L] And then go to www.myurl.com/test.html I'm redirected to the homepage. I think this is because all pages are index.php in joomla. SEOMOZ and Google both think that index.php and root are duplicate pages. Does anyone have any advice for overcoming this? Thanks, Adam0 -
How long should you keep 301 redirects?
Hi, Back in 2009 I decided to update an older site from .htm and .shtml to .php. In order to minimize the impact I would go in every month and do a 301 redirect on the .shtml page to the new .php page. So I have many that range from 2009 through 2010. I had left the old 301's because I felt they would only be used if needed but I would think I should clean up my .htaccess by removing the old 301 redirects if they are not needed. How long should you keep this type of 301 redirect? Thanks!
Technical SEO | | Force70 -
Is there any value to a home page URL adding the /index.html ?
For proper SEO, which version would you prefer? A. www.abccompany.com B. www.abccompany.com/index.html Is there any value or difference with either home page URL??
Technical SEO | | theideapeople0 -
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