301 redirect not working
-
Hi there! I have recently moved a domain that has been indexed by google and setup redirects so that it forwards to the new domain. It seems like the only redirect that actually is working is the canonical and main domain but every other page and or page nested within a folder are not working. Here is an example of some of the redirects. Am I doing this wrong? It seems to be going to the new domain but can't find the actual pages....
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !agoodsweep.com$ [NC]
RewriteRule ^(.*)$ http://agoodsweep.com/$1 [L,R=301]
redirect 301 woodstoveservicerepair.html http://agoodsweep.com/woodstoveservicerepair/
redirect 301 /westchesterchimney.html http://agoodsweep.com/west-chester-chimney/Thanks in advance for any help!!
-
Great news there is a plugin you might like http://wordpress.org/extend/plugins/redirection/
ps I would still use a maged Wordpress host they will speed up your site and keep it safe.
Happy it is fixed
-
PS all your links point to www.antrimscomplete.com
-
Sorry I just spent 45 min and went to post the site made me login it did not post
i will have more time later but do NOT tell google to devalue HTML links
Make a redirect with links shown
http://www.htaccessredirect.co.uk/
http://yoast.com/change-wordpress-permalink-structure/
http://www.webconfs.com/htaccess-redirect-generator.php
http://www.internetofficer.com/seo-tool/redirect-check/
http://www.webconfs.com/how-to-redirect-a-webpage.php
If moving your domain this is a good time to use a Wordpress only host use Zippykid , WPengine, Pagely, Web Synthesis or PressLabs Zippykid gives you the most for the moneyhttps://www.zippykid.com/pricing/they are great and will move you and fix this for you. https://www.zippykid.com/resources/kb/pre-sales-faq/can-you-migrate-my-website-for-me/This is how to move to there hosting your selfhttps://www.zippykid.com/resources/kb/getting-started/migrate-your-wordpress-website-to-zippykid/if not use this infohttp://robcubbon.com/moving-wordpress-site-to-new-domain/
-
read a bunch of those articles and saw the video w/matt cutts...
i have gone into google webmaster tools and have both sites. I told google to redirect antrimscomplete.com to a goodsweep.com. I also simplified the htaccess :
Redirect 301 /http://agoodsweep.com/
redirect 301 /index.html http://agoodsweep.com/
redirect 301 /woodstoveservicerepair.html http://agoodsweep.com/woodstoveservicerepair/
and on and on...still the sitelinks in google get 404's. Looked in the host ftp panel to make sure it was reading it - it was. So then I just figured that if i redirect those links in agoodsweep (the new url) to the correct page, it might work.It worked! Thanks for all the help - much appreciated!! Now i have to do a bunch of redirects in the wordpress simple redirects plugin.
-
hi Thomas - I did clear my cache and history and used separate browsers but do not see that it is working. I will check out the screaming frog!the old site at antrimscomplete.com has been a wordpress site for years now. I guess that the developer of that site left all the html pages up and then realized the problem and put in redirects. So this site has been sitting for a few years as-is. The owner wants to use a different domain name and wants a different look. I am trying to clean up the mess! I want it to be in wordpress because he uses it as a cms. I guess google indexed a hodge-podge of links, some of which are some of those html pages. Do you suggest going into google webmaster tools and demote the sitelink url's that are the old pages? Does google then use other pages to fill the slots?
-
you have some serious problems that site just so you know. I will look at your inbound links a lot of them are very spamy.
Why would you take an existing HTML website and convert it into WordPress out of curiosity?
I'm not saying there aren't advantages toward press I love WordPress for it much to HTML however if you're going to do a web project like that you and want to start with a clean slate yours has anchor text stating that the website is going to be turned from HTML to WordPress that's not good.
I would strongly consider having somebody like Joost audit the site and then fix it. Or simply have a developer pull the good code. The stylesheet will tell the website will look along with CSS with that start you can• with a fresh and get it right
-
I am so sorry this is taking so long. Let me somebody that is sure to know
It IS fine it redirects to http://agoodsweep.com/ no www
if you want to use the www. you must swap what you have up there.
use this to find the problem Use the link below to find any big problems in most websites. Change your browser or clean out your cash or reset your browser entirely because it is functioning correctly now
http://www.screamingfrog.co.uk/seo-spider/
http://www.searchenginejournal.com/how-to-avoid-seo-disaster-during-a-website-redesign/42824/
http://www.searchenginejournal.com/why-and-an-easy-way-to-set-up-a-301-redirect-on-your-blog/36752/
http://www.searchenginejournal.com/seo-friendly-url-structure/4556/
http://www.searchenginejournal.com/10-ways-coding-can-help-your-seo/45402/
-
thanks for all the input! I did adjust the htaccess to Method 1, but still it is not working correctly. Here is what i did:
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^antrimscomplete.com [NC]
RewriteRule ^(.)$ http://agoodsweep.com/$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^www.antrimscomplete.com [NC]
RewriteRule ^(.)$ http://agoodsweep.com/$1 [L,R=301]The old site was originally html and then they made it into a wordpress but kept all the html pages up and active with a few redirects here and there. My client wants a new domain name and eventually a different design, so i have started the process by moving the old domain and all of it's content to the new domain.
When you google antrims complete, google has added some site links and here is where things go south - it seems that the pages follow to the new domain but fall short of going to the new page. For example:
google points to "our services" page and it redirects to: http://agoodsweep.com/ourservices.html
in the htaccess i have: redirect 301 /ourservices.html http://agoodsweep.com/our-services/
it's weird because google any thoughts??
-
http://www.seomoz.org/learn-seo/redirection
http://301redirects.net/redirect-old-domain-to-new-website.php
http://website-tools.net/google-keyword/word/apache+redirect+domain
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=93633
Redirect an Old Domain to your New Website
How to instructions using a 301 redirect and mod_rewrite
Simply enter the following code into your .htaccess file (changing the addresses in the examples below as needed) and save the changes. If there are several individual pages which have moved, just repeat as neccesary. Not sure how to access or change or .htaccess file. Read our .htaccess guide here.
Method 1:
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^olddomain.com [NC]
RewriteRule ^(.*)$ http://newdomain.com/$1 [L,R=301]RewriteCond %{HTTP_HOST} ^www.olddomain.com [NC]
RewriteRule ^(.*)$ http://newdomain.com/$1 [L,R=301]Method 2:
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{HTTP_HOST} \olddomain.com$
RewriteRule ^(.*)$ http://newdomain.com/$1 [R=301,L]Method 3:
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]Method 4:
Redirect 301 / http://www.newdomain.com/
Benefits of redirecting traffic from your old domain
- Don't lose website traffic! Ensure all visitors coming through to your old domain are instantly redirected through to your new address, rather than being presented with a an ugly error 404 which destroys trust in your website and perceived credibility. This means that customers who have already bookmarked your site, or memorised your web address can continue to have access seamlessly. Still have business cards or publications advertising your old website address or domain? This is not an issue with a properly setup 301 redirect.
- Keep the Google bot happy! When a website or domain returns an error 404 (page not found) this tells Google that your website no longer resides at this address, and Google therefore promptly removes all of your web listings from it's search engine index, meaning all your SEO efforts to raise search engine ranks will have been wasted. Instead, by properly setting up a 301 redirect for your domain name, this tells Google (and other search engines) that your website has changed address, and Google then therefore updates it's index to reflect this change of address (while preserving your rankings). Also very important to note, is that Google then recognises all inbound links pointing through to your old website and attributes these 'votes' towards your new website, transferring almost all of your Google Pagerank and other signals accross to your new site, and assisting in preserving your sites reputation.
-
Would you do me a favor and explained exactly what you are using WordPress?
Can you give me both domains without folders?
I will get you the right info. I also need to know are you using lightspeed, Apache what you using?
sincerely,
Tom
-
I am confused. I am no .htaccess expert; however, I think you should have your old domain in the condition and the rule should have your new domain... like this maybe?
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !antrimscomplete.com$ [NC]
RewriteRule ^(.*)$ http://agoodsweep.com/$1 [L,R=301]Mike
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
-
Can a page that's 301 redirected get indexed / show in search results?
Hey folks, have searched around and haven't been able to find an answer to this question. I've got a client who has very different search results when including his middle initial. His bio page on his company's website has the slug /people/john-smith; I'm wondering if we set up a duplicate bio page with his middle initial (e.g. /people/john-b-smith) and then 301 redirect it to the existent bio page, whether the latter page would get indexed by google and show in search results for queries that use the middle initial (e.g. "john b smith"). I've already got the metadata based on the middle initial version but I know the slug is a ranking signal and since it's a direct match to one of his higher volume branded queries I thought it might help to get his bio page ranking more highly. Would that work or does the 301'd page effectively cease to exist in Google's eyes?
Technical SEO | | Greentarget0 -
301 redirects without .htaccess
I have a client that recently moved from an old ZenCart e-commerce site to Volusion. The domain name did not change. We need to redirect a bunch of the old URLs; however, Volusion's redirect tool does not work for URLS with "?" . The old ZenCart structure is: http://www.mydomain.com/index.php?main_page=product_info&products_id=563 Volusion is a hosted platform and we do not have access to the .htaccess file. Any suggestions on a workaround? Thanks!Nancy <colgroup><col width="960"></colgroup>
Technical SEO | | NancyVPS
| |0 -
Can new content be added to a url which has a 301 redirect?
I am working on a site which is currently being redesigned. The home page currently ranks highly for relevant search terms, although on the new site the content on this page will be removed. The solution I was considering, to preserve rankings, was to move the content on the home page to a new url, and use a 301 redirect to help preserve rankings for that particular page. The question I have therefore, is am I able to add new content to the home page, and have this page freshly indexed accordingly? Any thoughts or suggestions would be most welcome. Thanks, Matt.
Technical SEO | | MatthewA0 -
When to use mod rewrite / canonical / 301 redirect
Hello, I have taken over the management of a site which has a big problem with duplicate content. The duplicate content is caused by two things: Upper and lower case urls e.g: www.mysite.com/blog and www.mysite.com/Blog The other reason is the use of product filters / pagination which mean you can get to the same 'page' via different filters. The filters generate separate URLs. http://www.mysite.com/casestudy
Technical SEO | | Barques-Design
http://www.mysite.com/casestudy/filter?page=1
http://www.mysite.com/casestudy/filter?solution=0&page=1
http://www.mysite.com/casestudy?page=1
http://www.cpio.co.uk/casestudy/filter?solution=0" Am I right to assume that for the case sensitive URLs I should use a 301 redirect because I only want the lower page to be shown? For the issue with dynamic URLs should we implement a mod-rewrite and 301 to one page? Any advice would be greatly appreciated.
Mat0 -
Will a timed 301 redirect work for Googlebot?
Our client is changing brand names and domain names. We know we need to 301 redirect the old domain, but for marketing reasons we want people to see a short message saying that the brand has changed and that they will be redirected. Example: | | Our concern is how, or if, Googlebot will intepret the redirect. Will this accomplish our SEO objective of moving the value of the page to the new domain, or do we need to do just a plain old fashioned 301 redirect and not even let the page load? Thanks for your help.
Technical SEO | | GOODSIR0 -
Is it better to delete web pages that I don't want anymore or should I 301 redirect all of the pages I delete to the homepage or another live page?
Is it better for SEO to delete web pages that I don't want anymore or should I 301 redirect all of the pages I delete to the homepage or another live page?
Technical SEO | | CustomOnlineMarketing0 -
Minisites - 301 Redirect or Links to Main site
Not sure whether this is considered black hat or not but I know it is done and I would like to know which is the most effectrive method. If you were to acquire multiple sites in the same niche to your main site (either by buying existing sites or perhaps registering expired domains) which already had strong aged backlinks, is it better to either: a) 301 the new domain to the main site (or a subpage perhaps) b) create 'minisites' on the new domains (trying to mirror the URL structure of the previous incarnation if possible to scoop up and remaining inbound backlink juice, on seperate IPs to the main site as well) and then place several links to the main site & subpages. Would the decay of link juice through 301's mean you lose benefit that way or is it the same as a normal link? Would the 301 method mean any IBL's into URL's other than the homepage be lost? The homepage of the minisite will likely have 4 or 5 internal links so will this dilure the effect of the links to the main site? Thanks in advance!
Technical SEO | | OzDave0 -
IIS Server Load for 500 Page Level 301 Redirects
We are migrating content from 10 sub domains to our www site. On an IIS sever, what is potential server load impact, if any, for setting up 500 plus page level redirects?
Technical SEO | | DigitalMkt0