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?
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 to new SSL Domain
Hi Experts; How to redirect https://old-domain.com to https://new-domain.com without buying new SSL? I have one GoDaddy SSL and I want to use it for a new domain. Its currently use for old domain
Intermediate & Advanced SEO | | cafegardesh0 -
Preserve domain on 301 redirect?
We have a domain solely used for print advertising that does a 301 redirect to a landing page (a department home page) on our "real" domain that is indexed on Google. Example: www.bmwrepairs.com redirects to www.repairshop.com/bmwrepairs. Is there a way to do a 301 redirect so that when they get redirected, the URL in the browser address bar remains www.bmwrepairs.com?
Intermediate & Advanced SEO | | Jazee1 -
Rel canonical or redirect
Hi, my client has the following links pointing to the home page http://www.weddingrings.com/index.cfm http://www.weddingrings.com In this case would I use rel canonical or redirect?
Intermediate & Advanced SEO | | alexkatalkin0 -
301 Redirection problems
A couple of days ago we did a restructure of our e-commerce site (wordpress + woocomerce) where some product categories needed to change names. I used Yoast SEO plugin to do 301 redirects in the .htaccess file.Today I noticed that we had two hits in the SERP on the phrase "dildos med vibrator". See the attached screenshot (first two results).One goes to http://www.oliverocheva.se/kategori/sexleksaker/dildos/dildos-med-vibrator/ which is the right URL. One goes to http://www.oliverocheva.se/kategori/sexleksaker/dildosdildos-med-vibrator-dildos-for-honom/ which is a corrupt URL that has never been in use. The old one we did a redirect from was /kategori/for-honom/dildos-for-honom/dildos-med-vibrator-dildos-for-honom/The command in the .htaccess file was: Redirect 301 /kategori/for-honom/dildos-for-honom/dildos-med-vibrator-dildos-for-honom/ http://www.oliverocheva.se/kategori/sexleksaker/dildos/dildos-med-vibratorWhat has happened here? Why does the 301 create entirely new URL:s in the SERP?Tz0TULT.png
Intermediate & Advanced SEO | | kisen0 -
DNS or 301 Website Redirect
We are running a marketplace site, so we have thousands of vendors selling their products on our site. Each vendor has a Profile page and we are soon to launch a premium store-front that is white label. Many of these vendors will want to point a custom url to their premium store-front (which is a sub domain of the marketplace) and we are trying to get an understanding of how we should instruct them to point their url in a way that will give the main marketplace site the seo juice. We also want to understand what will show up in the address bar. Will it be their url or our sub domain? Will any of the marketplace seo juice boost their url local listing status?
Intermediate & Advanced SEO | | bloomnation0 -
Good idea to point all registered domains to main site?
We have close to 60 domains that we are considering pointing to our main site. Is this type of a redirect a good idea? We have a number of domains that are industry related but do not have our brand name in the domain. Should we point these sites to our homepage as well? Pros/Cons? Examples: <colgroup><col width="201"></colgroup> XXXXX.BE XXXXX.BIZ XXXXX.BZ XXXXX.CC XXXXX.CO XXXXX.CO.UK XXXXX.COM XXXXX.INFO XXXXX.JOBS XXXXX.ME XXXXX.ME.UK XXXXX.MOBI XXXXX.MX XXXXX.NET.CN XXXXX.NL XXXXX.ORG.UK XXXXX.TW XXXXX.US XXXXX.WS XXXXXEXCHANGE.COM XXXXXONLINE.COM WIDGETSRUS.COM WIDGETBLOG.COM |
Intermediate & Advanced SEO | | NaHoku0 -
redirect 404 pages to homepage
Hello, I'm puting a new website on a existing domain. In order to not loose the links that point to the varios old url I would like to redirect them to homepage. The old website was a mess as there was no seo and the pages didn't target any keywords. Thats why I would like to redirect all links to home. What do you think is the best way to do this ? I tried to ad this in the .htaccess but it's not working; ErrorDocument 404 /index.php Con you tell me how it exacly look? Now the hole file is like this: @package Joomla @copyright Copyright (C) 2005 - 2012 Open Source Matters. All rights reserved. @license GNU General Public License version 2 or later; see LICENSE.txt READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE! The line just below this section: 'Options +FollowSymLinks' may cause problems with some server configurations. It is required for use of mod_rewrite, but may already be set by your server administrator in a way that dissallows changing it in your .htaccess file. If using it causes your server to error out, comment it out (add # to beginning of line), reload your site in your browser and test your sef url's. If they work, it has been set by your server administrator and you do not need it set here. Can be commented out if causes errors, see notes above. Options +FollowSymLinks Mod_rewrite in use. RewriteEngine On Begin - Rewrite rules to block out some common exploits. If you experience problems on your site block out the operations listed below This attempts to block the most common type of exploit attempts to Joomla! Block out any script trying to base64_encode data within the URL. RewriteCond %{QUERY_STRING} base64_encode[^(]([^)]) [OR] Block out any script that includes a
Intermediate & Advanced SEO | | igrizo0 -
How long do 301 redirects have to stay in place?
For a large retail site we have plenty of "old" pages that are 2-3 years old and still have 301 redirects to a new page. After a search engine has recognized a 301 redirect and dropped the "Old" URL from the index and started displaying the "New" URL, is it safe to delete that old page and thus remove the 301 redirect?
Intermediate & Advanced SEO | | SEOmoxy0