301 redirects for 3 top level domains using WP SEO Yoast
-
Hey Guys
I have a custom built website - and a wp blog attached to this - problem is there are 3 top level domains:
zenory.co.nz, zenory.com and zenory.com.au
**The issue is when I enter the domain to 301 redirect I only have to enter one domain usually i enter redirect from zenory.com/blog/oldpage to zenory.com.newpage **
For eg: I have just move Phone Psychic Readings from the blog - over to the main site. However there seems to be an issue that I'm still having and trying to clean up. I'm finding backlinks there are linking to each other of my 3 domains that end up backlinking across domains, which I was told this can look as spammy to google. For eg: co.nz links many pages to com.au. I'm currently trying to clean this up at the moment - however while im in the process of this - I find myself question when I'm creating the 301 redirects from the blog - but lets say I'm on the blog for zenoy.co.nz/blog/oldblogpost and when I click on a blog post - it redirects me to zenory.com/newarticlepost - because I have redirected it to .com - how can I redirect and make sure is going back to the right domain name to save myself from having to show this cross backlinks?
Would gratefully appreciate any assistance on this tricky situation.
Cheers
Just
-
Hi Dirk,
Sorry i only just picked up your message! Thanks again for your response!
I will try adding what you have suggested, when you /folder_to_be_removed/ - can you explain what that means?
-
Hi Justin,
If you want to redirect to home I guess you should just put / as the destination url (as told - not really an expert in Yoast)
I think the rule should look like
Redirect 301 /folder_to_be_removed/ /
Could you give it a try?
rgds
Dirk
-
Hi Dirk,
I'm trying to create a redirect to the home page of com, com.au and co.nz but what do i put as the relative? /zenory.com /zenory.co.nz /zenory.com.au to make sure it goes to that site and doesn't cross over? i found linking to category was fine but home page im stuck here.
I hope I have explained it clearly
Cheers
Just
-
Haha Thanks Bob!!!
-
Great to see you found an answer Justin!
-
Great! (you can ignore my last answer below - I wrote it before I noticed that you solved it already)
Dirk
-
Hi Justin,
The redirect should not be:
zenory.co.nz/blog/phone-psychic-reading 301/ to zenory.com/phone-psychic-readings
but
/blog/phone-psychic-reading 301/ to /phone-psychic-readings
If you add the domains it will only be correct for 1 domain & wrong for the 2 others.
Not sure if the plugin can handle this - but it's worth trying.
rgds,
Dirk
-
Dirk, Brilliant - that worked Omg your a life saver! Thanks so much for fixing this for me! I had no idea what relative was until you mentioned it! Learning everyday from you ! Thanks so much I'm really grateful!
-
Hi Dirk
I must of just missed your post -
I updated it now as per what you were saying
The post is now zenory.co.nz/blog/phone-psychic-reading 301/ to zenory.com/phone-psychic-readings. The problem I'm facing as you can see from this scenario - if you went to https://www.zenory.com.au/blog/page/4/ which is the com.au your still on the blog - if you click on the old Phone Psyhic Readings listing - it will take you to zenory.co.nz/phone-psychic-readings (because that is the domain name i have se the 301 redirect too) but for the purpose of stopping the banks links that are crossing each domain - perhaps I'm doing this incorrectly?
Hope I'm making sense here!
-
Hi Justin,
Correct me if I am wrong - but I guess you use the same backoffice for the three sites. So if you redirect the page to an absolute url on the .com domain all these pages will be redirected to the .com domain.
I am not really familiar with the Yoast plugin - but could you try to put the redirect url in relative - replace https://www.zenory.com/pet-psychic-readings by /pet-psychic-readings & check if this works?
rgds,
Dirk
-
Hi Dirk
Thanks for coming to the rescue again
Here is a screenshot I took of the admin side in WP - I created a new page on the main site for Pet Psychic Readings https://www.zenory.com/pet-psychic-readings - I moved this post from the blog (zenory.com/blog/pet-psychic-readings) and entered a 301 redirect to https://www.zenory.com/pet-psychic-readings - however when I go back to the blog post https://www.zenory.co.nz/blog/category/pets-animals/ (as you can see im on the co.nz - when I click on the article it redirects to the com - and this is because I have set it to go to the .com - but should this not go to the co.nz? Im not too sure where I need to enter a 301 zenory.co.nz/pet-psychic-readings?
Here is the screen shot -
I hope I have answered your question? Let me know if I have the wrong end of the stick
Cheers again Dirk
-
Hi Justin,
Think I found the page you mentioned:
If you want to redirect zenory.co.nz/blog/phone-psychic-readings/ to zenory.co.nz/phone-psychic-readings-at-zenory
your redirect rule should look something like this (both old & new page should be relative or absolute, I guess in your case the old is put as relative while the new is an absolute url on the .com domain)
Redirect 301 /blog/phone-psychic-readings/ /phone-psychic-readings-at-zenory
rgds,
Dirk
-
Hi Justin,
Could you post an example of the redirect rule you use
Regarding your internal links pointing to the other sites - a possible solution could be to use relative rather than absolute links. This way you will always stay on the same domain. The disadvantage with relative links is that it's quite easy to create eternal loops if you make a mistake in the code somewhere. If you crawl your site regularly with Screaming Frog however you should be able to detect these errors quite fast.
Dirk
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
-
Massive Spam attack against my domain - automate disvow of tld?
We've been getting hundreds of new links from unique domains every day - all the domains follow a pattern like this: www.someword-1f4163e1.space/wiki/Someterm Hundreds... every day. What techniques exist to deal with a prolonged negative seo attack of this type. By the time we can detect and disvow, the damage is done.
White Hat / Black Hat SEO | | sonar0 -
How do I deal with Negative SEO (Spammy Links)?
For the past 12 months, our website has been hit by spammy links with annoying anchor text. We suspected one of our competitor are deploying negative SEO on us. The image is an example of the sites and anchor text we have been spammed with. The frequency is about 1 - 2 spammy links a day. I have a few questions from here onwards: Does those links affect our SEO? (Most are mainly nofollow) Other than disavow, what other stuff can I do? How will google and other search engines see this incident? TcmFsti
White Hat / Black Hat SEO | | Changsst0 -
'SEO Footers'
We have an internal debate going on right now about the use of a link list of SEO pages in the footer. My stance is that they serve no purpose to people (heatmaps consistently show near zero activity), therefore they shouldn't be used. I believe that if something on a website is user-facing, then it should also beneficial to a user - not solely there for bots. There are much better ways to get bots to those pages, and for those people who didn't enter through an SEO page, internal linking where appropriate will be much more effective at getting them there. However, I have some opposition to this theory and wanted to get some community feedback on the topic. Anyone have thoughts, experience, or data to share on this subject?
White Hat / Black Hat SEO | | LoganRay1 -
Is Yahoo! Directory still a beneficial SEO tactic
For obvious reasons, we have submitted our clients to high authority directories such as Yahoo! Directory and Business.com. However, with all of the algorithm updates lately, we've tried to cut back on the paid directories that we submit our clients to. Having said that, my question is, is Yahoo! Directory still a beneficial SEO tactic? Or are paid directories, with the exception of BBB.com, a bad SEO tactic?
White Hat / Black Hat SEO | | MountainMedia0 -
Are CDN's good or bad for SEO? - Edmonton Web
Hello Moz folks, We just launched a new website: www.edmontonweb.ca It is now ranking on page 2 in our city. The website is built on Wordpress and we have made every effort to make it load faster. We have enabled the right caching and we have reduced the file size. Still, some of our local competitors have lower load times and more importantly lower ttfb's. Is a CDN the right answer? I've read articles demonstrating that Clowd Flare decreased a websites rankings. Is there a better CDN to use, or a propper way to implement Clowd Flare? Thank you very much for your help! Anton,
White Hat / Black Hat SEO | | Web3Marketing87
LAUNCH Edmonton0 -
Press Releases and SEO in 2013
Mozers, A few questions for the community: Distributing a press release through a service like 24-7pressrelease.com - is it a serious duplicate content issue when an identical press release is distributed to multiple sites with no canonical markup (as far as I can tell)? All of the backlinks in the press release are either nofollow or redirects. If there IS a duplicate content issue, will the website be affected negatively given the numerous Panda and Penguin refreshes? Why SHOULDN'T a company issue a press release to multiple sites if it actually has something legitimate to announce and the readership of a given site is the target demographic? For example, why shouldn't a company that manufactures nutritional health supplements issue the same press release to Healthy Living, Lifestyle, Health News, etc _with a link to the site?_I understand it's a method that can be exploited for SEO purposes, but can't all SEO methods be taken to an extreme? Seems to me that if this press release scenario triggers the duplicate content and/or link spam penalty(ies), I'd consider it a slight deficiency of Google's search algorithm. Any insight would be much appreciated. Thanks.
White Hat / Black Hat SEO | | b40040400 -
Geo-targeted Organic Search Traffic to a sub-domain
For a client of ours, we are likely to create a sub-domain that is to be targeted at a specific country. Most of the content on this sub-domain will be from the main site, although with some specific differentiation to suit that geographic market. We intend to tell Google through Webmaster Centre that the sub-domain is targeted at a specific country. Some questions: a) Any idea how long it could take before google gives precedence to the content in this sub-domain for queries originating from that particular country? b) What is the likely impact of content duplication ? What extent of differentiation is necessary from a search engine perspective? Thanks.
White Hat / Black Hat SEO | | ontarget-media1 -
Creating multiple domains with key phrases and linking back and forth to them
There are several of my competitors who have built multiple sites with keywords in their domain names such as localaustinplumber.com, houstonplumbers.com, Dallasplumbers.com, localdallasplumbingservices.com...you get the picture. (These are just made up examples to illustrate what they are doing) They put unique content on each page and use alias whois using a different credit card to set up each domain to hide the fact from Google that they are the same entity and then link back and forth to each of the domains with appropriate keywords in the anchor text. They are outranking me on a lot of key search phrases due to the fact that they have the keywords in the domain name. They have no other outside links other than the links from the domains that they own. Is this a good idea? is it black hat? are they going to get slapped if someone reports them as a link farm? It's frustrating for me staying white hat and getting legitimate links and then these competitors come in and out rank me after only a few months with this scheme. Is this a common practice to rank highly for certain key phrases? Thanks in advance for your opinions! Ron10
White Hat / Black Hat SEO | | Ron100