Interesting 302 redirect situation - could they be a good idea??
-
Just started with a new SEO client. The site is built on Sharepoint Server 2007 running Windows Server 2003 R2 on IIS 6.5 (I know, fun times for me).
Being a standard crappy Windows setup, URLs and canonicalization is a huge issue: first and foremost, we get a 302 redirect from the root www.example.com to www.example.com/Pages/default.aspx
Now standard SEO best practices dictate that we rewrite and redirect these pages so they're clean URLs. However that may or may not be possible in the current environment - so is the next best thing to change those to 301s so at least link authority is passed better between pages?
Here's the tricky thing - the 302s seem to be preventing Google from indexing the /Pages/default.aspx part of the URL, but the primary URL is being indexed, with the page content accurately cached, etc.
So,
www.example.com 302 redirects to www.example.com/Pages/default.aspx but the indexed page in Google is www.example.com
www.example.com/sample-page/ 302 redirects www.example.com/sample-page/Pages/default.aspx but the indexed page in Google is www.example.com/sample-page/
I know Matt Cutts has said that in this case Google will most likely index the shorter version of the URL, so I could leave it, but I just want to make sure that link authority is being appropriately consolidated.
Perhaps a rel=canonical on each page of the source URL? i.e. the www.example.com/sample-page/ - however is rel=canonical to a 302 really acceptable?
Same goes for sitemaps? I know they always say end-state URLs only, but as the source URLs are being indexed, I don't really want Google getting all the /Pages/default.aspx crap.
Looking for thoughts/ideas/experiences in similar situations?
-
Unfortunately no - client is finally moving to 2013 which is on IIS7 and have proper rewrite facility.
There doesn't appear to be any decent way to accomplish it on 2010/IIS6.
-
I'm super super late on this, but, did you ever decide on a solution to this issue? Sharepoint 2010 runs into the same problems, and even though it looks to be solved in 2013, the install base of 2010 is still pretty large.
-
Thanks! Yeah site was set up not that long ago, but is a great example of why IT Departments should never be trusted to build websites.
I'm just trying to figure out what's even possible on the current platform.
-
Well share point is really for intranets not a internet website, if it is on iis6 then i was proaoably setup before much was known about SEO.
You can do the rewrites in iis6 uising a httpmoedel, i have an a example in both c# and VB on my website
http://thatsit.com.au/seo/tutorials/using-ihttpmodule-visual-basic
-
Obviously the 302 is not a preference - it's the way the system has been set up by IT staff who don't know any better. Removing it might not be as simple as flicking a switch as it is how Sharepoint displays content by default.
"/" doesn't render - it 302 redirects to /Pages/default.aspx - sorry I don't quite get what you're asking here?
As the website was built on Sharepoint and hacked to pieces with custom code, we're still trying to figure out what's actually possible from a URL rewrite perspective. Sharepoint is not a natively SEO-friendly system. Rewrites are possible in IIS7, but more difficult in IIS6
-
i dont think the 302 to /pages/default.aspx has anything to do with windows or asp.net, why not just just remove the 302?
What does "/" and pages/default.aspx render? the same page? then yes use a canonical, but one has to ask why have the 302 at all?
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
-
Redirect Chain Advice
Hi, i hope you can help. My site crawl is showing that I have a redirect chain on my home page. Basically it shows I am going from : http: > https: > https://www. I need everything to go from http:// and http://www directly to https://www. without the chain. Below is a copy of the htaccess, can anyone see if there is an error in there that could be causing it. RewriteEngine On
Intermediate & Advanced SEO | | DaleZon
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] BEGIN WordPress <ifmodule mod_rewrite.c="">RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]</ifmodule> END WordPress In addition, i have seen that they have a plugin called SSL insecure content fixer installed. It is showing this under its status: Array ( [HTTPS] => on [PHPHANDLER] => /usr/local/php70/bin/php [HTTP_X_REAL_IP] => 109.158.20.158 [HTTP_X_FORWARDED_PROTO] => https ) I think possibly this might have something to do with the issue, any thoughts are appreciated Thanks0 -
How to find the redirects on website
I want to find the complete internal redirects on website. Just internally linked. How to find such?
Intermediate & Advanced SEO | | vtmoz0 -
Too many redirects Homepage Problem
During a site move, a sub domain of website a redirected all pages to the homepage of website b. resulting a homepage algorithmic penalty for website b. The sub domain was deleted - and the sitemove for the main domain went through ok. However website b has 80,000 incoming links from the sub domain of website a. is there anything else that needs to be done to "inform" google that the mistake was fixed?
Intermediate & Advanced SEO | | FusionMediaLimited1 -
Is This 301 redirection correct??
Hello Everyone, I have Added This in .htaccess. Options +FollowSymlinks
Intermediate & Advanced SEO | | falguniinnovative
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain.com$
RewriteRule (.*) http://www.domain.com/$1 [R=301,L] RewriteCond %{THE_REQUEST} ^./index.html
RewriteRule ^(.)index.html$ http://www.domain.com/$1 [R=301,L] ErrorDocument 404 /index.html Is this Correct ?? or need any change, please help, thanx in advace .0 -
After 301 redirects average rankings went down a little. Any idea?
We have changed the design of a website, from an oscommerce site to a new responsive website with customized programming. After the 301 redirects we have lost 1 to 2 positions in Google Rankings of the most visited categories. This are real data <colgroup><col span="5" width="80"></colgroup>
Intermediate & Advanced SEO | | teconsite
| page | brand | page | CTR | average position |
| old | fagor | http://www.electrorecambio.es/tienda/fagor-m-41.html | 15% | 6,6 |
| new | fagor | http://www.electrorecambio.es/fagor | 13% | 7,2 |
| old | teka | http://www.electrorecambio.es/tienda/teka-m-39.html | 12% | 7,2 |
| new | teka | http://www.electrorecambio.es/teka | 9% | 8,8 |
| old | balay | http://www.electrorecambio.es/tienda/balay-m-81.html | 12% | 7,4 |
| new | balay | http://www.electrorecambio.es/balay | 11% | 8,6 |
| old | bosch | http://www.electrorecambio.es/tienda/bosch-m-44.html | 10% | 7,4 |
| new | bosch | http://www.electrorecambio.es/bosch | 8% | 11 | Edited: As this table is not shown properly I have added an image For you to check the old page you can see the old urls in the folder tienda2. For example http://www.electrorecambio.es/tienda/bosch-m-44.html can be checked in http://www.electrorecambio.es/tienda2/bosch-m-44.html I would like to know if you see any important information that could justify this drop down in rankings Thanks!!! data-webmaster-tools.jpg1 -
Redirecting non www site
Hello Ladies and Gentlemen. I 100% agree with the redirecting of the non www domain name. After all we see so many times, especially in MOZ how the two different domains contain different links, different DA and of course different PA. So I have posed the question to our IT company, "How would we go about redirecting our non www domain to the www version?", "Where would we do that?", " we cant do the redirect on our webserver because the website is listed as an IP address, not a domain name, so would we do the redirect somewhere at GoDaddy?" who is currently maintain our DNS record So here is the response from IT: " I would setup a CNAME record in DNS (GoDaddy), such that no matter if you go to the bare domain, or the www, you end up in the same place. As for SEO, having a 301 redirect for your bare domain isn't necessary, because both the bare domain and the www are the same domain. 301 is a redirect for "permanently moved" and is common when you change domain names. Using the bare domain or the www are NOT DIFFERENT DOMAINS, so the 301 would not be accurate, and you'd be telling engines you've moved, when you haven't - which may negatively impact your rank. It sounds to me that IT is NOT recommending the redirect. How can this be? Or are we talking about two different things? Will the redirect cause the melt down as the IT company suggests? Or do they nut understand SEO?
Intermediate & Advanced SEO | | Davenport-Tractor0 -
Need advice on 301 domain redirection
Hello friends, We have two sites namely spiderman-example.com & avengers-example.com which sells the same product listed out under similar categories, since we are about to stop or put down the site “avengers-example.com” because we just want to concentrate in bringing up a single brand called spiderman-example.com. “Spiderman-example” has comparatively more visitors and conversion rates than ''avengers-example'' ie. 90 % more traffic and conversion. Avengers-example has a small fraction of loyal customers who still search for the brand-name & there are a hand-full of potential keywords those ranking on its own. So is it advisable to redirect Avengers-example to spiderman-example using 301-redirect? Will this help to gain any link-juice from Avengers-example? If so how can we effectively redirect between two domain’s with minimal loss in page authority & linkjuice to enhance ''spiderman-example''? Off beat:These names "Avengers" and "Spiderman" were just used as an example but the actual site names has no relation to the ones mentioned above.
Intermediate & Advanced SEO | | semvibe0 -
301 Redirect shenanigans.
So our website (www.FrontlineMobility.com) Has a canonical link redirect to the non www. version. However when I put in website.com it comes up with a small list of links and says this site links to www.website.com. So I'm curious if I used to wrong canonical linking method( that is the method I tried and I placed it in the Head Tags.) I greatly appreciate any assistance in this matter ^.^
Intermediate & Advanced SEO | | FrontlineMobility0