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
-
301 Redirects
Hi, Going to be redirecting our current domain to a new domain. Can anyone verify for me that I'm doing it correctly. I want to forward the entire domain plus individual urls. My current structure is below: Options +FollowSymLinks
Moz Pro | | healthpointeseo
RewriteEngine on RedirectMatch 301 ^(.*)$ http://www.new-site.net Redirect 301 /old-page.html http://www.new-site.net/web-page0 -
On Link Analysis tab I my best pages are 301 and 404 pages.
I looked on my redirrect file and found that /* redirects to /v/404.asp.
Moz Pro | | sbetzen
However if you look below at the link analysis the 404 page is getting a 404 error.
The homepage ecowindchimes.com/ is getting a 301 (but I don't know where it is going to).
The third one is also redirected. 1. [No Data] ecowindchimes.com/ ||| 301 ||| 2 ||| 36 2. 2. [No Data] ecowindchimes.com/v/404.asp ||| 404 ||| 2 ||| 34 3. [No Data] 3. ecowindchimes.com/index.html?lang=en-us&target=d2.html ||| 301 ||| 1 ||| 33 So I have 2 questions: 1) should this be fixed? and 2) how? This is a volusion site and I believe the "catchall" redirect was done by them0 -
Campaign set-up: root domain vs. subdomain
Hi, I have a question about the proper way to set up a new SEOmoz campaign for a simple 5-page website (home, about, services, blog, contact). If I'm tracking only www.domain.com, does it make a difference if I set it up to track just that subdomain or should I track it at the root domain? Is it better to use the root domain? Are there pros or cons to using one over the other? If the website is expanded in the future, any future pages will most likely be on the same subdomain (e.g., www.domain.com/page). Thanks in advance! Carolina
Moz Pro | | csmm0 -
Can i set up additional logins on my account?
I'm looking pass over some of the work involved in fixing up my SEO issues and would like to give access SEOmoz to someone else without giving my login details. Is there a way of setting up a secondary account on a PRO licence?
Moz Pro | | CarlS0 -
How can you set SEOmoz to work with your dev site behind an htpasswd?
All sites need to be developed from the small to the grand - and this takes time. Development usually takes place on a subdomain different from our live domain. It is locked down behind an htpasswd during development so its not picked up by searching engines - that may create duplicate content issues if when the site goes live it has already scanned our site on the development server. Its also a security implementation to keep the site away from prying eyes before its ready for launch There could be security holes that have not been tweaked. Whats the best strategy to get SEOmoz involved in this scenario. Its tools are invaluable to the SEO part of the build - but the seomoz crawler bot has a different IP address (being cloud based) - so we cannot just let a single IP address through our htpasswd. Also is there a way to link the dev and live site in seomoz - so when it goes live to maintain all teh same logs without having to create two seperate site campaigns? Thanks!
Moz Pro | | dseo2410 -
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 -
Sub domain vs Root domain (Campaign Settings)
I set my first website as a sub domain...I think it should have been set as a "root" domain...does this matter and can I cahnge it? Thanks! James
Moz Pro | | James10 -
Urgent: Campaign set up 'Select Competitors' errors
Hi. Im setting up my first campaign and Im having issues with step 3: 'Select your competitors to track'. I only want to track 1 competitor: http://en.wikipedia.org/wiki/Ryan_Murphy_(writer) When I enter this and the competitor name into the form provided and click 'continue to next step' it throws an error at me: Darn, there are errors in your form! Don’t worry, Roger can’t feel pain. Competitors domain http://en.wikipedia.org/wiki/ryan_murphy_(writer) may not have a /path after the host Domain http://en.wikipedia.org/wiki/ryan_murphy_(writer) may not have a /path after the host Can anyone help me as this is urgent.
Moz Pro | | RyanSMurphy1