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
-
How to redirect 301 from high authority sites to own website?
How to redirect 301 from high authority sites to own website? If anyone know can tell me, such gigs are selling on the Fiverr.
White Hat / Black Hat SEO | | jefjaa0 -
Spam Score & Redirecting Inbound Links
Hi, I recently downloaded a spreadsheet of inbound links to my client sites and am trying to 301 redirect the ones that are formatted incorrectly or just bad links in general (they all link to the site domain, but they used to have differently formatted urls on their old site, or the link URL in general has strange stuff on it). My question is, should I even bother redirecting these links if their spam score is a little high (i.e. 20-40%)? it already links to the existing domain, just with a differently formatted URL. I just want to make sure it goes to a valid URL on the site, but I don't want to redirect to a valid URL if it's going to harm the client's SEO. Also not sure what to do about the links with the --% spam score. I really appreciate any input as I don't have a lot of experience with how to deal with spammy links.
White Hat / Black Hat SEO | | AliMac260 -
Mobile Redirect - Cloaking/Sneaky?
Question since Google is somewhat vague on what they consider mobile "equivalent" content. This is the hand we're dealt with due to budget, no m.dot, etc, responsive/dynamic is on the roadmap but still a couple quarters away but, for now, here's the situation. We have two sets of content and experiences, one for desktop and one for mobile. The problem is that desktop content does not = mobile content. The layout, user experience, images and copy aren't the same across both versions - they are not dramatically different but not identical. In many cases, no mobile equivalent exists. Dev wants to redirect visitors who find the desktop version in mobile search to the equivalent mobile experience, when it exists, when it doesn't they want to redirect to the mobile homepage - which really isn't a homepage it's an unfiltered view of the content. Yeah we have push state in place for the mobile version etc. My concern is that Google will look at this as cloaking, maybe not in the cases where there's a near equivalent piece of content, but definitely when we're redirecting to the "homepage". Not to mention this isn't a great user experience and will impact conversion/engagement metrics which are likely factors Google's algorithm considers. What's the MOZ Community say about this? Cloaking or Not and Why? Thanks!
White Hat / Black Hat SEO | | Jose_R0 -
GTLD for SEO?
Hey guys Has there been any case studies or does anyone know how the gTLDs are doing in the SERPS? I never see them in the SERPS but that of course doesn't mean anything. Google is saying that they treat them the same as .com or .net. But does anyone have 'facts'? Cheers!
White Hat / Black Hat SEO | | OscarSE0 -
Best URL structure for SEO for Malaysian/Singapore site on .com.au domain
Hi there I know ideally i need a .my or .sg domain, however i dont have time to do this in the interim so what would be the best way to host Malaysian content on a www.domainname.com.au website? www.domainname.com.au/en-MY
White Hat / Black Hat SEO | | IsaCleanse
www.domainname.com.au/MY
domainname.com.au/malaysia
malaysia.domainname.com.au
my.domainname.com.au Im assuming this cant make the .com.au site look spammy but thought I'd ask just to be safe? Thanks in advance! 🙂0 -
Alltop good for SEO?
Are there any negative effects on getting your blog posted on alltop? Good SEO value or not?
White Hat / Black Hat SEO | | DemiGR0 -
Hidden links in badges using javascript?
I have been looking at a strategy used by a division of Tripadvisor called Flipkey. They specialize in vacation home rentals and have been zooming up in the rankings over the past few months. One of the main off-page tactics that they have been using is providing a badge to property managers to display on their site which links back. The issue I have is that it seem to me that they are hiding a link which has keyword specific anchor text by using javascript. The site I'm looking at offers vacation rentals in Tamarindo (Costa Rica). http://www.mariasabatorentals.com/ Scroll down and you'll see a Reviews badge which shows reviews and a link back to the managers profile on Flipkey. **However, **when you look at the source code for the badge, this is what I see: Find Tamarindo Vacation Rentals on FlipKey Notice that there is a link for "tamarindo vacation rentals" in the code which only appears when JS is turned off in the browser. I am relatively new to SEO so to me this looks like a black hat tactic. But because this is Tripadvisor, I have to think that that I am wrong. Is this tactic allowed by Google since the anchor text is highly relevant to the content? And can they justify this on the basis that they are servicing users with JS turned off? I would love to hear from folks in the Moz community on this. Certainly I don't want to implement a similar strategy only to find out later that Google will view it as cloaking. Sure seems to be driving results for Flipkey! Thanks all. For the record, the Moz community is awesome. (Can't wait to start contributing once I actually know what I'm doing!)
White Hat / Black Hat SEO | | mario330 -
One Blog Comment Now on Many Pages of The Same Domain
My question is I blog commented on this site http://blogirature.com/2012/07/01/half-of-200-signals-in-googles-ranking-algorithm-revealed/#comment-272 under the name "Peter Rota". For some reason the recent comments is a site wide link so, bascially my link from my website is pretty much on each page of their site now. I also noticed that the anchor text for each one of my links says "Peter Rota". This is my concern will google think its spammy if im on a lot of pages on a same site for one blog comment, and will I be penailzied for the exact same anchor text on each page? If this is the case what could I do in trying to get the links removed? thanks
White Hat / Black Hat SEO | | ilyaelbert0