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
-
SEO value of 301 redirects from non-existent sites.
I have a question about an SEO tactic. There is this site that has purchased three domain names, and has redirected them to their main site. The three domains are: Spokaneduilawyer org, Spokaneduilaw com, and Spokaneduilawfirm com and the website has all three domains redirecting to their main site. What is the SEO value with this? I looked at those three domains on Majestic and they have no backlinks that I could find, and when I looked on archive.org I didn't see any history of those domains being actual sites that might bring traffic. What is the webmaster trying to do, and what is this tactic called?
Link Building | | RandyHT0 -
Absolute urls
I am redesigning my website with an updated theme.
Link Building | | patmatt
One of the theme plugins takes my url: https://example-site.com/1st-level-page/2nd-level-page/page-content and changes it to https%3A%2F%2Fexample-site.com%21st-level-page%22nd-level-page/page-content%2F Does this effect how a web crawler see's my internal links?
Can this have a negative effect on my SEO?
Should I edit the plugin to force it to render the url exactly as written?0 -
Are there benifits to aquiring domain names with keywords of a niche site and redirecting them to the niche site?
I f i purchased a domain with keyword another one of my sites targeted and redirected it to that site are there benefits in doing so? & as long as the domain contained the keywords would it matter if the domain name contained another word?. also would it be better to put just a few articles on the site and then point keywords in the article to the niche site?.
Link Building | | askshopper0 -
Using a temp redirect or a link to another domain.
Helloooooooo (hey, we're in SEO...surely we need some sound effects as told in dramatic word elongation?) //First - background. I work on a site that does pretty well with search visibility naturally (by 'naturally', I mean it didn't need a lot of optimisation due to the relationships it has with its link network). I work on a site that sells a particular product - green widgets will do - as part of its verticals. Traffic to this section is great, and tends to convert rather well. These green widgets, however, are also part of another site that's part of the client I work for. The larger company was interested to understand what would happen to their conversions if these green widget visits were sent to them instead of staying on-site (namely, that's because they turn a bigger profit over there). So they set up a link on the page on my site to a landing page on theirs. Sure enough, conversions stayed the same on their site, and showed there may be value in keeping that flow active. //Second - question. I see a few options which mainly revolve around not changing anything, but the bigger part of company wants to see that change. My question is this: long term, should I keep the green widgets section of my site there, and use a link that goes to green widgets on the other site, or should I 302 it until they decide on what they want to do with the relationship between the sites? I know...a bit convoluted, but I'd love to get some ideas on what others have experienced in these situations, and what kinds of outcomes can help both sites remain strong. Thanks a ton, guys.
Link Building | | aroach0 -
Do you get linkjuice from a dofollow redirect (Like Yahoo! Article links)?
I've recently hired a company that publishes my press releases for me. One of them is on Yahoo! Finance. When I went to the Yahoo article, my keyword link was dofollow, but had a very long Yahoo redirect link instead of just a direct link to my page. Am I still getting link juice out of this Yahoo redirect?
Link Building | | Shawn1240 -
Reciprocal Link URL Question
I've been analyzing my competition and found some great directories with High DAs that require the Reciprocal code to be on the same domain as the submitted link . When I went to my competitor's website, the reciprocal link is not there. Does he/she put the link on their page, than have directory verify the code, and then remove the link? If anyone fully understands how this works, please let me know.
Link Building | | DmitryP0 -
Submitting my URL on web/business/service directories
Does it make sense to submit a business URL in as many relevant web/business directories as possible when kicking off a link building campaign? Submitting a free listing is obviously better than nothing, but when does it make sense to pay extra for a premium listing profile on some of these directories? There are just so many and a lot of them appear spammy, even though some of my competitors are getting traffic from them. Any advice on this would be great!
Link Building | | TheSquareFoot1