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
-
301 Redirect non existant pages
Hi I have 100's of URL's appearing in Search Console for example: ?p=1_1 These go to on to 5_200 etc.. I have tried to do htaccess and the mod rewrite is on as I can redirect directories to the root i.e RewriteRule ^web_example(.*)$ /$1 [R=301,N,L] However I have tried all kinds of variations to redirect ?p= and either it doesn't work at all or it crashes the website. Can anyone point me in the right direction to fix this.
Technical SEO | | Cocoonfxmedia0 -
.htaccess Redirect 301 issues
I have completely rewritten my web site, adding structure to the file directories. Subsequently added was Redirect information within the .htaccess file. The following example ...
Technical SEO | | Cyberace
Redirect 301 /armaflex.html http://www.just-insulation.com/002-brands/armaflex.html
Returns this response in the URL bar of ...
http://www.just-insulation.com/002-brands/armaflex.html?file=armaflex
I am at a loss to understand why the suffix "?file=armaflex" is added The following code is inserted at the top of the file ...
RewriteEngine On redirect html pages to the root domain RewriteRule ^index.html$ / [NC,R,L] Force www. prefix in URLs and redirect non-www to www RewriteCond %{http_host} ^just-insulation.com [NC]
RewriteRule ^(.*)$ http://www.just-insulation.com/ [R=301,NC] Any advice would be most welcome.0 -
301 Redirect - Technical Question
I have recently updated a site and for the url's that had changed or were not transferring I set up 301 redirects in the htaccess file as follows This one works - Redirect 301 /industry-sectors http://www.tornadowire.co.uk/fencing But this one doesn't - Redirect 301 /industry-sectors/equine http://www.tornadowire.co.uk/fencing/application/equestrian/ What it does is change the url to this instead http://www.tornadowire.co.uk/fencing/equine ..... which returns a 404 page not found error The server is nginx based server and we have moved from a joomal platform to a wordpress platform I would be grateful for any ideas
Technical SEO | | paulie650 -
Creating a Target URL For 301 Redirect in Wordpress
I am confused as to what to put in as the target URL. Is this just a new URL that I must create a name for? I am having trouble finding any answer for this on the internet, just more people asking the same question. I am finally realizing that all the information is found right here at SEOmoz to both learn and ask questions about.
Technical SEO | | lartinos0 -
301 redirects and seo..
I bought a domain and it has nice traffic. It only has about 5 main pages in php When i got the site i switched to html because php was overkill. I did the 301 and google deleted the php files and replaced with html version when i check site:domain.com It has been about 7 days. I DID NOT use 301 for each of the 5 pages to go php to html instead is used this code RewriteEngine On
Technical SEO | | samerk
RewriteCond %{HTTP_HOST} ^mydomain.com
RewriteRule (.) http://www.mydomain.com/$1 [R=301,L]
RedirectMatch 301 (.).php$ http://www.mydomain.com$1.html So basically if you load php it will load the html version. dog.php > dog.html Is this OKAY? or should it be done differently.... worried! Thanks !0 -
301 redirects and Dynamic URLs
I just ran my first diagnostic and one of my primary immediate problems are duplicate titles and duplicate content. My guess it that because the root URL http://sitename.com (which has not yet been redirected to www...) has generated an entire tree of content which is identical to the tree rooted at http://www.sitename.com. QUESTION: Do I need to do a redirect simply for the root url (sitename.com -> www.sitename.com) or do I now need to develop specific 301 redirects for each of the sub-nodes/pages? ie sitename.com/?q=about-us -> www.sitename.com/?q=about-us sitename.com/?q=our-team -> www.sitename.com/?q=our-team etc.
Technical SEO | | Barrycliff680 -
Google Webmaster redirect vs 301 redirect
OK assuming a client's website has the right tracking script (hopefully analytics isn't effected by this issue), ... what happens if the htaccess file has a 301 redirect to the www-address, but within Google Webmaster Tools, the address chosen to crawl by Google is the non-www address? How will Google handle and which address takes precedence in this situation? _Cindy
Technical SEO | | CeCeBar0 -
301 Redirect?
Sometimes I want to redirect pages on my site. Like a search result: http://www.inthelighturns.com/memorials/catalogsearch/result/?q=hearts to a page designed for what they're searching for: http://www.inthelighturns.com/hearts.html There's no real worry about transferring page rank and this may not be a permanent redirect. Just a "I want this page to show this page for some time" kind of redirect. What's the best solution? Thanks Tyler
Technical SEO | | tylerfraser0