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
RewriteEngine onRedirectMatch 301 ^(.*)$ http://www.new-site.net
Redirect 301 /old-page.html http://www.new-site.net/web-page
-
It looks like your last line is just redirecting one page? This has worked for me to redirect them all to their corresponding pages on the new domain (*You'll want to test this first):
<code>RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} !newdomain.com$ [NC] RewriteRule ^(.*)$ http://newdomain.com/$1 [L,R=301]</code>
-
Hey,
Make sure to have a complete structure & SEO plan in place before starting redirection. There is nothing wrong with this Syntax, but for better understanding I'd suggest you to go through this guide one more time,
https://moz.com/learn/seo/redirection
Good luck!
Umar
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
-
404 errors High Priority Issues in Moz Pro: change to 301 or not ?
Hi there, Moz Pro is showing us 404 errors on our site as High Priority Issues. These 404 errors regard deleted product pages, which we did not 301. Should we 301 them all backwards ? We have an ecommerce site. After reading How Should You Handle Expired Content? on Moz and a few other Q&A discussions I now know we should 301 each expired url and now we do so. My concern is with what was done in the past, and what we should do about it: for the past few years we have been leaving the pages on the site, creating a big amount of outdated url's without either content nor traffic in march our IT decided to delete these url's, and ask for a webpage removal in Google Search Console: we 301 only a 40 url's and 404 the other 3500 now 6 monthts after, we still have 2500 crawl errors in the Search Console, and Moz Pro finding each week new 404 errors Our SEO consultant says we should not bother about the errors shown in the Search Console. But I am concerned about these errors not reducing, and about Moz Pro High Priority Issues: should we 301 the url's to similar categories or products?
Moz Pro | | isabelledylag0 -
Do you get link equity from a redirect service?
When using a redirect service, do you get link equity from the redirect service or only from the linking website? Using opensite explorer in Moz, always shows me directory and redirect services as most important contribution for the domain authority. But I'm questioning if this is true. P.S. I'm not asking if link equity is passed from the linking website. That question has been answered many many many times. (hint: the answer is yes). H58xHAl.png pGH7e48.png
Moz Pro | | jasny0 -
Redirects, SEO and More
Website errors remittent of Chernobyl. First of all, I ask a lot of questions of the community and I don't do a lot of answering. For that, I am sorry! I own a small SEO company and the majority of my clients are upstarts just like myself. We try to do the best we can on a very limited budget.
Moz Pro | | underdogmike
With that said, the client website in question, http://bestdefensega.com has been a struggle to rank in the metro atlanta lawyer market.
Here's the story. My client is a new solo attorney that practices criminal law and personal injury law. We launched bestdensega.com to focus on criminal defense and my client has also paid AVVO for a website as well. We recently decided to make a monster website that would have 50+ pages and be representative of all that he practices.
I recently put a temporary redirect on bestdefensega.com and pointed it to the avvo website while I was rebuilding the website. I did this using a plugin.
This morning I decided that I wanted to remove the redirect, so I deactivated and deleted the plugin. The redirect is still in effect. I suspect that this may be a cacheing scenario.
How do I undo a redirect?
Also, I noticed that the AVVO site has all of a sudden shot up to the top of the search results and bestdefnesega.com has dropped past the 3rd page for our keywords. Have I lost all of bestdefensega.com's link juice? Also, bestdefensega.com has a spam score of 7. Why? There are no shady links and everything I do is on the up and up. Also Open Site Explorer says that bestdefensega.com doesn't have any inbound links.
Google WebMaster Tools says that the site has of 500 inbound links.. Frustrated, Thanks0 -
301 Redirects - But still duplicate content?
Our website domain website.com redirects to website.com/en (since it's in English). Therefore, all pages on website.com redirects to website.com/en. In my Moz analytics, it says I have duplicate content, and lists all of these pages. Didn't the 301 redirects take care of the duplicate content? Or do I still have to add canonical tags?
Moz Pro | | Taulia0 -
Issue: 301 (Permanent Redirect) with my wordpress
I see in my campaigns in seomoz pro account...
Moz Pro | | sandyallain
it says that I have two urls with issue 301 (Permanent Redirect) What to do within my different content management systems WordPress ? here are the errors:: Page Title URL Redirects to Page Authority Linking Root Domains http://www.simplymadrid.org/blog/ http://www.simplymadrid.org/blog/ http://www.simplymadrid.org/blog 14 1 http://www.simplymadrid.org/es http://www.simplymadrid.org/es | http://www.simplymadrid.org/es/ | 24 | 2 |0 -
Temporary redirect showing 303 rediredt type
My site is "http://www.originalartbroker.com/". I am using SH404sef component for url rewriting. In your crawling report it is given more then 13000 warning. Most of the warning are related with temporary redirect where redirect type is showing 303. Please help me to find out the solution to reduce these warnings.
Moz Pro | | snapconstruction0 -
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 -
How can I update On Page Optimization Reports following 301 redirect?
A few weeks ago I ran the SEOMoz On Page Optimization Reports for one of my sites. At the time, the site homepage was duplicated .com/ and .com/index.html (I know!). The On Page Optimisation Reports I ran at the time obviously included both as individual pages. I've now corrected the duplicate issue with a 301 but the On Page Optimization Reports are still looking at the rankings for .com/index.html and therefore showing "not in top 50" for keywords where I'm actually ranking 1st - any idea how I can get the reports to update so they don't continue to look for .com/index.html? Thanks!
Moz Pro | | trbaldwin0