301 Redirects in subfolders
-
Hi, we're making our site into a static site but I would like to transfer the Google juice. Most of the links and database exist on subfolders though. Could I simply do 301 redirects on the subfolders and retain the value or does it have to be on the full domain?
-
As I said before, if you are changing just the domain, then you can do the whole site in one redirect, but if you have a different page structure and thousands of pages, it would be a waste of time to do any pages that does not have a external link.
-
I'm with you Jane. It's not that much effort and it avoids any confusion or 404s.
-
Honestly, doing site-wide redirects can be very simple if done correctly in .htaccess, avoiding anyone (bot or browser) encountering 404s. Redirecting properly avoids a 404 bloat in Webmaster Tools, allowing the webmaster to identify "real" 404s and fix them as well. I'd go with redirecting anything you plan to move.
-
In this very rare case, they would get a 404, with a link to the home page.
to 301 every page in case it has a bookmark is a waste of effort
-
what if someone bookmarked a page that you changed the URL for? That page might not have any links but it can still receive traffic.
It is my recommendation that if one is doing a massive redirect that all pages should have a rule written for it. Why risk a 404?
-
Hi Matt,
If you 301 one URL to another, the majority of the metrics previously afforded to the old URL will be transferred to the new URL. Various evidence, some of it quite anecdotal, says that not all the authority passes from the old to the new, but it's certainly the best option you have if you want to change URLs.
If you are moving to a new domain, you can write a rule in your .htaccess file (if using an Apache server) or in your control panel (if using an IIS server) that transfers every URL to its new location. Even if URLs have no external links, this will simply direct any traffic to the old URLs to their new locations.
-
Because google will drop that url and crawl the new one by itself.
If all you are doing is changing domain then one 301 will do all anyhow.
but if you are 301'ing page by page, then just do the ones that have external links.
-
Alan, there is no value in redirecting pages without external links?
I am in the process of implementing a massive 301 redirect project as we are changing the URL structure of our site. Our site has been indexed fully by Google for quite some time but most pages do not have external links pointing to them. So if someone searches a KW that triggers a deep linked page, why would I not redirect that page to its new URL?
-
You can 301 any page to anywhere, that not a problem, but before you waste any time, only 301 the pages that have external links, there is no value in 301'ing pages unless they do.
-
As long as the url is accessible, it doesnt matter. You can redirect from a subfolder, or using root domain.
One thing to remember, make sure you redirect both www, and non-www versions. Are you using cpanel? It makes this a super easy process. If not, let me know, and I can supply you with some htaccess rules to get you started.
*Keep in mind, all link juice is not always transferred. Generally most will be passed through, but I just wanted to make you aware.
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
-
.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 -
Do I need Redirects?
I've recently changed my old static website to a WordPress one. I'd like to know what do do (if anything) about my old links. For example a page on my old site was: www.iainmoran.com/corporate-magician.html - now I'm using WordPress, the url is:
Technical SEO | | iainmoran
www.iainmoran.com/corporate-magician/ My question is, do I need to set up redirects on these old pages (which no longer exist or will Google eventually re-crawl my site and update the links themselves? I'm using the Yoast SEO Plugin for WP and it creates a sitemap, which of course will have my new pages on. But don't want Google to penalise me for having broken links, etc. Many thanks, Iain.0 -
301 Redirect with index.asp
I am very new to all of this so forgive the newbie questions I will get better. Ok so after starting a campaign I see that I have many issues including where some pages are being deemed as duplicate content. 1. The report says the http://lucid8.com has duplicate content on 2 other pages 2. When I look at them it shows that http://lucid8.com/index.asp and http://www.lucid8.com are duplicates. 3. Really these are the exactly the same page because the default page that is opened for www.lucid8.com http://www.lucid8.com etc always opens the index.asp page. 4. Now I read that I should do permanent redirects and how to do this via IIS and I tried to do a redirect from index.asp to www.lucid8.com but that does not work because www.lucid8.com is pointing to index.asp and so we end up in a circle. So the question is how do I get rid of these duplicate page references without causing problems. Thanks
Technical SEO | | TroyW0 -
Redirects
I have a question about 404ed domains and old domains. #1 A domain has many links to it, but has been 404ed for 4 months. Should I redirect to a page I own and is almost exactly the same content. Will the fact that it was once 404ed be an issue? #2 I have an old domain that has many links but has been stagnant for a long time. Are these links still valuable and I should I redirect them to an important page on a different site? Does penguin influence your advice?
Technical SEO | | tylerfraser0 -
When is it safe to remove 301 redirects?
I have created over 500 301 redirects in my .htaccess file, some of them are more than 2 years old now. Should I delete them? I don't like seeing the "notices" number in crawl diagnostics so high 😞
Technical SEO | | danielshaw0 -
How to 301 redirect via OpenCms/7.5.4
Hi everyone, My programmer told me it is impossible to do a permanent redirect from www.website.com/index.html to www.website.com due to cms technical limitation which I do not want to believe hence is it possible / is there documentation available instructing on how to do a proper 301 permanent redirect on OpenCMS 7.5.4? Thanks a lot! Steve
Technical SEO | | sjcbayona-412180 -
How long will Google take to stop crawling an old URL once it has been 301 redirected
I need to do a clean-up old urls that have been redirected in sitemap and was wondering about this.
Technical SEO | | Ant-8080 -
Is my 301 redirect working?
Very simple question here . I've redirected a bunch of older pages with decent ranking to some newer pages on my site, using the Thesis theme's built-in redirect function. However, in the SERPS, the older pages (and, importantly, older titles) still show up. When clicked on, they redirect to the new page, but it's still irritating because the older titles make the site look out of date. Is this Working As Intended, or have I or my theme done something wrong? And if it's the latter, what's the best way to achieve a redirect, preferably with a Wordpress plugin?
Technical SEO | | Cairmen0