Redirect from a previous url
-
Hi - newbie question
I have a customer who's had previous versions of his website.
Previously it was known as "princess-interiors.co.uk" (been around for a few years) and is now "princess-design.co.uk" (been around also for a few years).
New site is WordPress - what would be the best way to redirect (I have access to the previous version of the site which is still hosted).
I expect it's to use 301, but how would I do that (step by step), and does www. versus non-www need addressing (and how).
Really concerned, as this site has gone to zero organic visits!!
Hoping somebody can help.
Thanks
-
Sorted - thanks
-
Hi Mark,
1. Yes, You have to do that in Previous website from where you want the redirection to happen.
2. Anything whichever works best for you. But Fix one and work on it. check in google which version of your site is indexed more by "site:www.domain.com" and "site:domain.com" . Its easy to decide this way.
Note: Since its wordpress you can do it in the wordpress settings back end.
Related Thread here :
https://mza.seotoolninja.com/community/q/changing-url-from-non-www-to-www
-
Hi - thanks for the reply
The previous site was html - there are two points...
1. I understand that it's best to map each page using a 301? - do I do that on the previous website?
2. should I redirect to www or non-www version of new site?
Cheers
M
-
HI Mark,
What CMS is your Previous version of site ? Is it wordpress or using PHP. If you find yourself in a situation where you need to redirect a PHP web page that is outside your WordPress installation, you can use a PHP redirect.
PHP redirect.
You can redirect a PHP page by adding this line of code to the header:
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.yournewwebsite.com");
?>
Note that the “301 Moved Permanently” line is necessary to advise search engines that you are using a 301 redirection. You also need to ensure that this code is placed at the top of the page to ensure the redirection works correctly.
If you would like to use redirection within a theme or plugin you are developing, you can use the WordPress wp_redirect function.
Redirect a Page Using a WordPress Plugin:
One easy solution is Quick Page/Post Redirect Plugin. The plugin allows you to perform 301, 302, 307, or meta refresh redirects. Redirection is a another great plugin that features 404 page monitoring. It will show you exactly what pages are generating 404 page errors and allow you to create 301, 302, and 307 redirects, for each of those links.
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
-
slug Link redirect to subdomain?
Hi !
Link Building | | Leviiii
Im Levi new here and new in the world of SEO, please dont judge if my questions are silly. Back on the days when the site was built we thought it is a good ideea to have subdomains that together with the domain name represent our main keywords.
ex. https://stansted.tonorwich.uk, https://heathrow.tonorwich.uk, https://luton.tonorwich.uk, https://gatwick.tonorwich.uk. There is content on this subdomains, would it make any difference from SEO perspective if we create slugs that redirect to these subdomains? for example creating https://tonorwich.uk/taxi-minibus-vip-tesla-norwich-to-stansted that redirects to https://stansted.tonorwich.uk ? Or better create these slugs with slightly different content?
Any ideeas would be appreciated.
Thanks in advance!0 -
Http Redirects to Https - then to Redirect 301
Searched - not seeing this exact issue(sorry if I'm wrong). I'm my report I'm seeing that we have old URLs in the wild using http. Those requests come to our site, and then are redirected to the https version. However if this url does not exist, then there's another redirect 301 to the actual page. This obviously causes a redirect chain. I've searched but don't see a clear answer to this. How can I avoid the chain? How can I go from the http to the new https URL without first incurring the double redirect? "Look for any recurring chains that could be rewritten as a single rule. " FWIW I don't see any http to https rewritecond's in my htaccess, and cannot trace where that redirect is generated from.
Link Building | | qozmiq1 -
301 redirect single page
I have a popular page on one domain and I did 301 redirect of it to another domain. Just one single page. Both the sites are very related to each other. Will the backlinks get transferred? Its been more than a week but nothing shows up in webmaster tools.
Link Building | | anran0 -
301 redirect from a de-indexed site
Is link juice passed from a website that has been intentionally de-indexed by webmaster? The scenario is I had 2 websites with similar content. I decided to get rid of one by de-indexing. I also did a 301redirect from my de-indexed site. Not the whole domain but just the 2 URL's which I believe could pass on link juice. In this case how long the link juice would flow via 301 redirect?
Link Building | | riyaaaz0 -
Subdomains, blogs and redirects, oh my!
Hello! We are currently hosting our blog on Medium which I would like to move away from. The options now are to host the blog with our custom CMS or use the HubSpot blog capabilities. I know their blog has built-in SEO best practices but I'm pretty sure it hosts the blog on a subdomain. I keep getting conflicting advice on this. In a whiteboard Friday Rand once said to NEVER host on a subdomain. But I know that google now associates links that redirect to the original site. I.e. If redpepperland.com redirects to repepper.land then redpepper.land should have all the link juice of redpepperland.com, right? But Moz doesn't recognize any inbound links to redpepper.land, I have to actually put redpepperland.com in as an additional site to see those links and the domain authority which worries me. So I guess two questions: 1. Does anyone have experience with Hubspot's blog? Will the subdomain hurt our SEO efforts? 2. Does google now know how to associate a redirect's link juice and domain authority to the page it redirects to? Not sure I know what I'm talking about at all but any help would be greatly appreciated!
Link Building | | redpepperland0 -
What happens to (external) linkjuice after you redirect a page?
Hope everybody is having a good day:). I was wondering what happens to the external link juice of a page when you redirect it to a new (and improved) url? For instance www.example.com/lowvolumesword/highvolumeword/ 301 --> www.example.com/highvolumeword/ Will the /highvolumeword/ page lose a lot of (external) linkjuice? Is it best to change the external links to the new url manually or leave them as is and let the 301 redirect take care of it? Is it possible to say that no more than x% of your linkjuice will be passed through via a 301? I hope im making sense here and am looking forward to your reaction. Thanks in advance,
Link Building | | PrizeWize
Lawrence0 -
Should I use a branded url or an exact match, and which branded url?
I'm thinking of changing my client's 37 character exact match url because it looks spammy to me and Google says it will be turning the dial down on exact match domains. I still see a lot of value in it however and it is helping this client, albeit very little since he is new in his arena. His goal is to rank for keywords in that url so I hate to lose the benefit of that url. As an example, let's say his url is floridahealthinsurance-quote.com I'm concerned now because I plan to do some reputable and highly relevant link building and I'm afraid bloggers might hesitate linking to a spammy sounding url. This client does have a branded url that is short and sweet, something like millerbenefits.net, and that redirects to the long url. Back linkers could link to the short url instead. However, it lands people on the site with the long spammy-sounding url and they may not want to be affiliated with it. Something like millerbenefitsinsurance.com is available and it does have 2 keywords in it. Should I get that instead? In short the question is this:
Link Building | | KatMouse
Should I change or keep floridahealthinsurance-quote.com If I should change it, should I change it to:
millerbenefits.net
millerbenefitsinsurance.com Thanks for your help!0