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
-
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 -
Adding Extra Domains
There are domains available which match exactly to my main keywords which I am trying to rank for. For example my keyword is "Green apple" and there are domains like greenapple.com . Do you think from Google stand point of view it is ok if I buy domains like this and when visitors go to these domains, automatically direct them to my main website? Thanks
White Hat / Black Hat SEO | | Armin6661 -
Can I 301 redirect old URLs to staging URLs (ex. staging.newdomain.com) for testing?
I will temporarily remove a few pages from my old website and redirect them to a new domain but in staging domain. Once the redirection is successful, I will remove the redirection rules in my .htaccess and get the removed pages back to live. Thanks in advance!
White Hat / Black Hat SEO | | esiow20130 -
2 Questions about 301 Redirects
So I have a couple of questions about 301 redirects: Do Google penalties EVER pass through a 301? I've done 20+ domain 301s in the last year and have yet to see it happen, but the other day I read a an article (or maybe it was a QA post?) that suggested doing 302s to avoid transferring penalties. Has anyone seen any authoritative information regarding this? I 301'd a domain in February that another SEO firm had built a lot of spammy links and I began building contextual links for it at a very slow rate (like 10 or so a month). Within a month, my domain authority was a 26 on the new domain and my inbound links were non existent. By month 2, my links were 70k and domain authority was 34. By month 3, down to 25k inbound links and domain authority of 29, where it has settled for the last 3 months despite some really high quality links. My question (don't worry it's coming), is does anyone have any clue why my links shot up so quickly and then dropped? I'm assuming the 301 links kicked in and then only about 45% ended up 'sticking'?? Thanks in advance
White Hat / Black Hat SEO | | BrianJGomez0 -
Search query for SEO Brisbane
Would love to get some opinions on the latest Penguin 2.0 update and how on earth the #1 rank is #1 ranked, very, very peculiar... http://www.google.com/search?gs_rn=14&gs_ri=psy-ab&pq=sila&cp=8&gs_id=10&xhr=t&q=seo+brisbane&pf=p&client=safari&rls=en&sclient=psy-ab&oq=seo+bris&gs_l=&pbx=1&bav=on.2,or.r_qf.&bvm=bv.47008514,d.aGc&biw=1300&bih=569 Any and all theories welcomed and appreciated. Thanks, Mike
White Hat / Black Hat SEO | | MichaelYork0 -
Should i buy this domain because it has a keyword that im trying to rank for?
Im trying to rank for a keyword and i saw that this domain is available the top listing under this search team is a domain authority 14 and according to seo site explorer has 1 page linking to it and its a no follow link. Would it make since to buy this domain optimize it and forward it back to my main site or is this bad to do.
White Hat / Black Hat SEO | | gslc0 -
A domain is ranking for a plural key word in SERPs on page 1 but for the singular not at all?
What could the reasons that a domain is ranking for the plural version of a key word on SERPs page 1 and for the singular version not at all? Google knows that both key words belong together, as in the SERPs for one version also the other version of the key word is being highlighted. If I search for the domain with the plural keyword it shows up on the first page in SERPs, but If I search for the same keyword as singular (in German it is just removing an “s”) I see the plural version highlighted many times but I cannot find my domain. What could be the reason for this behavior? penalties?
White Hat / Black Hat SEO | | SimCaffe0