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://moz.com/learn/seo/redirection
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
-
Crawlers reporting upper case letter url versions although these have been 301'd to lower case !?
Hi I have a client e-com site who's dev platform is on a windows server Their product pages have been auto-named after the product title, with the first letter in each word being upper case, which has hence translated to the URL having upper cases instances too. I asked them to set up 301 redirects for all url's that had upper case instances to lower case versions, which they say they have done. However I'm still seeing url's with upper case instances showing up in webmaster tools and moz crawl reports but when I copy & paste them into a browser they do redirect to, & resolve in, the lower case version. Its also upper case versions reported in the Google cache! So how come webmaster tools & Moz etc are reporting the upper case versions, surely if redirected it should be the lower case versions All Best Dan
Moz Pro | | Dan-Lawrence0 -
Please set somethings straight
as a recent majesticSEO subscriber, I feel like i have either been mislead or something isn't right. For some reason I was thinking it was best to have a single link from a single domain, and that by have too many links from a single domain (backlinks) the ratio between referring domains and backlinks was a factor in pagerank. In domain analysis here, it would seem that is not that case as it puts a nice big green check mark by the person with most links, whether they are from 1 domain or multiple domains. Is this a good thing? Here's an easy example. I am a website designer, and I have the ability to link to my website in the footer of every website I design either by image or by text. If I do that, obviously I would have a link from every page on the site, but only from one root domain. Is this a good thing or a bad thing. My work around is to have a link in the footer that looks like this "website design by homecutcreative.com" that links to an internal page that has one link to my site, therefore keeping my referring domain : backlink ratio to a 1 which I was under the assumption was the best possible situation. Thanks for your help.
Moz Pro | | jonnyholt0 -
Bad code on Learn Seo Redirection info Page
Is it just me, or is the Redirection resource page missing the exclamation point (!) in this code. If so, this could really mess someone's site up if they copy and paste. http://www.seomoz.org/learn-seo/redirection http://screencast.com/t/n7lknZ32G9xF Redirecting Canonical Hostnames: The original developers at SEOmoz needed to redirect any requests that do not start with www.seomoz.org to make sure they included the www. They did this not only because it looks better, but to avoid common canonicalization errors. Redirect: http://seomoz.org/To: http://www.seomoz.org/ Redirect: http://mail.seomoz.org/To: http://www.seomoz.org Redirect: http://seomoz.org/somefile.phpTo: http://www.seomoz.org/somefile.php Solution: Add the following directive: RewriteCond %{HTTP_HOST} ^seomoz.org [NC]RewriteRule (.*) http://www.seomoz.org/$1 [L,R=301] Explanation: This directive tells apache to examine the host the visitor is accessing (in this case: seomoz.org), and if it does not equal www.seomoz.org redirect to www.seomoz.org. The exclamation point (!) in front of www.seomoz.org negates the comparison, saying “if the host IS NOT www.seomoz.org, then perform RewriteRule.” In our case RewriteRule redirects them to www.seomoz.org while preserving the exact file they were accessing in a back-reference. *emphasis added by me
Moz Pro | | squareplug0 -
How do we use SEOmoz to track Local Searches? Is there a way to set the location from which the campaign tracker is "searching"?
It seems that there is no way to set a parameter for location. In Places, I'm able to define my targeted region. How does SEOmoz mimic that localization? Thank for any help! -- Chris
Moz Pro | | ChrisPalle1 -
Experencing page authority issues after a 301 redirect
We just completed a build of a new site and used 301 redirects to retain our page authority. In the first week all the interior pages reported a page authority of 1 after 2 or so weeks the page authority began to look more accurate but they were still not as high as the original pages. The strange thing is that when you click on the link to a page the page authority populates correctly but when the page finally finished loading the PA goes back down. Has anyone ever experienced this and if so how did you fix it? Thanks!
Moz Pro | | Jo_vortx.com0 -
Is Open Site Explorer ignoring 301 redirects now?
I just recently saw a huge decline in the page rank of a specific page on my site. When I investigated a bit further I noticed that the drop in page rank looks like it is due to the fact that most of the links to the page come through 301 re-directs from an old page. I know you just made a change to Open Site Explorer. Did you change the way that you are treating 301 re-directs? Here is the new page: http://www.justjen.com/shop/big-sister-tshirts.htm Here is the old page: http://www.justjen.com/shop/bigsister-tshirts.htm Up until the last couple of days, the new page was showing the links from the old page in your cache, but as of today, the new page is only showing the links that go to it, not the links to the old page that is re-directed to it. If there was a change recently, was this intentional (trying to replicate the search engines better) or is it an oversight or database anomaly?
Moz Pro | | gametv0 -
302 Redirects on Xcart Store
The crawl finished on the site easydecals.com and I'm getting over 4,000 warnings with 302 redirects with urls like this. /How-To-Install-A-Wall-Decal.html?xid_33e42=01f75b1ca2a53108d78f5c598ffd99e6 What can I do to remove or stop the spider from hitting those?
Moz Pro | | i1560