How do I set-up a 301 redirect?
-
Moz alerted me to two 404 errors on our website. I am now trying to place a 301 redirect on them. How would I go about accomplishing?
-
Redirect 301 /registerlogin-2/ http://everlastingchanges.com/registerlogin-3/
But please - remove "scheduling" from main homepage that doesn't exist anymore.
-
This should be a suitable guide for you http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html
-
The other is everlastingchanges.com/registerlogin-2/
-
Yes, one is http://everlastingchanges.com/scheduling...
-
Have you got your url? I'll be able to tell you how to do a redirect with that information.
-
Hey Harvey, I appreciate the response. However, I have already read through that information and was unable to locate the exact answer on how to redirect. I was given more information on what is a redirection, url, etc.
-
If you have 404 somewhere inside of your site there is only one way to fix them - fixing URLs. So if on page A i have link to page B that doesn't exist. Robots will crawl page A and seeing about presence of page B. But on checking page B robots will get 404. So it's much better to fix page A to link to page C that exists. And this is for internal sites.
If you have incoming links to 404. Site A page B link to your site X page Y. Since you can't fix page B then you can make 301 redirect on your website and redirect page Y to page Z that exist.
If you have outgoing links to 404. Then try to find update URL/site if they still exist. If doesn't exist anymore try to find replacement or redirect to archive.org. Or update your page that this doesn't exists anymore.
301 redirects are quick to fix with Apache and it's .htaccess. All you need is just to make somewhere line as:
Redirect 301 /dir/page.htm http://www.example.com/new-dir/new-page.html
Redirect 301 /dir/subdir/page.htm http://www.example.com/new-dir/new-subdir/new-page.php
of course this is example and you need to edit them for your specific case. You also must watch http access log for 404s. -
You should be able to find the answer to your question right here: https://mza.bundledseo.com/learn/seo/redirection
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
-
Solved Would my site's DA be transferred if I redirect to another?
Re: How to create link from google redirect? I am thinking of changing my domain name from https://experts.ng to https://expertsclan.com and wondering if my DA could be transferred to the new site
Moz Pro | | dodo1234 -
Redirection
Hi I used to have an online shop at https://shop.domain.co.uk. I have since done a new website and and want to divert all traffic to https://domain.co.uk/shoppage. The old shop was a subdomain but the new site has a shop on the normal domain. In Moz I am getting a lot of errors with missing descriptions and URL too long. so for example one of the urls <dl class="crawl-page-details-list"> <dd class="crawl-page-details-list-emphasis">https://shop.domain.co.uk/product-category/great-merchandise/?product_order=desc are like this. I would like to redirect them all to the new shop page. </dd> <dd class="crawl-page-details-list-emphasis">The missing descriptions are all similar. </dd> <dd class="crawl-page-details-list-emphasis">Is there a way I can redirect all these issues without doing them manually?</dd> <dd class="crawl-page-details-list-emphasis">Thanks </dd> </dl>
Moz Pro | | Paul_YAS0 -
How do I recover from a double 301 mistake?
We have a site that was ranking top 10 for 15 KW and top 20 for about 40. We decided to restructure the site to create silos. The old site used a plugin to create ".html" pages and the juice in Google was all on those pages. We asked our developer to eliminate the plugin / .html and forward the .html pages to our new structure. Instead, he took a shortcut and did a mass forward in code which resulted in all pages - such as "example.com/mypage.html" now forwarding to "example.com/mypage/" - He then did a 301 redirect from those pages with the "/" such as example.com/mypage/ to "example.com/my-new-page/". He did this for over 500 pages. To make matters worse, he mis-mapped about 100 pages and Google saw them as 404s, then in fixing those errors, new ones kept popping up. Those are now fixed. The net result is that we dropped like a stone on all of our rankings. Moving forward, do you think we can regain ground by manually doing 301s for the original .html pages to their new locations and eliminating the interim step? What would be your suggestions to recover as quickly as possible?
Moz Pro | | kramerico20 -
Add to cart redirect using 302
I am getting a list of crawl errors in Moz because I am using a 302 redirect when people click on an item using the quickview add to cart eg:http://copyfaxes.com/cart/quickadd?partno=4061 will redirect them to the viewshoppingcart page. Is this wrong should this be a 301 redirect? There is no link juice to pass. Thanks
Moz Pro | | copyfaxes10 -
Cleaning Up Bad 301 External Links From Old Site
A relatively new site I'm working on has been hit really hard by Panda, due to over optimization of 301 external links which include exact keyword phrases, from an old site. Prior to the Panda update, all of these 301 redirects worked like a charm, but now all of these 301's from the old url are killing the new site, because all the hyper-text links include exact keyword matches. A couple weeks ago, I took the old site completely down, and removed the htaccess file, removing the 301's and in effect breaking all of these bad links. Consequently, if one were to type this old url, you'd be directed to the domain registrar, and not redirected to the new site. My hope is to eliminate most of the bad links, that are mostly on spammy sites, that aren't worth linking to. My thought is these links would eventually disappear from G. My concern is that this might not work, because G won't re-index these links, because once they're indexed by G, they'll be there forever. My fear is causing me to conclude I should hedge my bets, and just disavow these sites using the disavow tool in WMT. IMO, the disavow tool is an action of last resort, because I don't want to call attention to myself, since this site doesn't have a manual penalty inflected on it. Any opinions or advise would be greatly appreciated.
Moz Pro | | alrockn0 -
301 or canonical for multiple homepage versions?
I used 301 redirects to point several versions of the homepage to www.site.com. i was just rereading moz's beginners guide to seo, and it uses that scenario as an example for rel canonical, not 301 redirects. Which is better? My understanding is that 301s remove all doubt of getting links to the wrong version and diluting link equity.
Moz Pro | | kimmiedawn0 -
Question on redirect and internal link count
After crawl I saw that dup content came from domain.com/index.php and domain.com. I was going to redirect one of them but im curious which way to go. The /index.php has domain auth of 19, the other 17, so not big difference. Domain.com has 2 external linking domains and index.php has 1. The big difference is in the internal link counts where index.php has 76 and the other only 4. So should I direct index.php to / or the other way around?
Moz Pro | | satoridesign0 -
We were unable to grade that page. We received a response code of 301\. URL content not parseable
I am using seomoz webapp tool for my SEO on my site. I have run into this issue. Please see the attached file as it has the screen scrape of the error. I am running an on page scan from seomoz for the following url: http://www.racquetsource.com/squash-racquets-s/95.htm When I run the scan I receive the following error: We were unable to grade that page. We received a response code of 301. URL content not parseable. This page had worked previously. I have tried to verify my 301 redirects and am unable to resolve this error. I can perform other on page scans and they work fine. Is this a known problem with this tool? I have verified ensuring I don't have it defined. Any help would be appreciated.
Moz Pro | | GeoffBatterham0