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 deal with product mark up automatically generated by Yoast?
Let's assume there's a website for nursery. Now they have listed plants and trees as their product now yoast is generating product structured data because of that search console is reporting errors in markup says "Either "offers", "review", or "aggregateRating" should be specified" Reviews can be fixed because of genuine reviews and ratings but trees doesn't have sku, gtin8, gtin13, gtin14 or mpn" so we can't add this information. Because of this every product listing shows an error in structured data. What's the possible fix to get rid of these errors? **Note: I tried using snip to override Yoast Schema but using another plugin is not the first choice. **
White Hat / Black Hat SEO | | Ravi_Rana0 -
Would this be duplicate content or bad SEO?
Hi Guys, We have a blog for our e-commerce store. We have a full-time in-house writer producing content. As part of our process, we do content briefs, and as part of the brief we analyze competing pieces of content existing on the web. Most of the time, the sources are large publications (i.e HGTV, elledecor, apartmenttherapy, Housebeautiful, NY Times, etc.). The analysis is basically a summary/breakdown of the article, and is sometimes 2-3 paragraphs long for longer pieces of content. The competing content analysis is used to create an outline of our article, and incorporates most important details/facts from competing pieces, but not all. Most of our articles run 1500-3000 words. Here are the questions: Would it be considered duplicate content, or bad SEO practice, if we list sources/links we used at the bottom of our blog post, with the summary from our content brief? Could this be beneficial as far as SEO? If we do this, should be nofollow the links, or use regular dofollow links? For example: For your convenience, here are some articles we found helpful, along with brief summaries: <summary>I want to use as much of the content that we have spent time on. TIA</summary>
White Hat / Black Hat SEO | | kekepeche1 -
Can anyone explain some below SEO questions ?
Can we do link building like directory, article, press releases, classifieds, business listing, social bookmarking etc. We need to check DA, Alexa, Page Rank, cBlock IP before publishing any kind of Link but how much Max or Min. no. should be for consider any website like DA should be min 20-30-40 etc.. How can consider a natural links? Which type anchor text should be in any kind of links may be directory etc. In website interlinking we should put Exact Links or no need to put any links For.ex.my website is abc.com.au then we can put link for Website Design keywords or Should be long tail keyword. How can we do content marketing means we should post blog in internal website or need to create External Blog like BlogSpot, WordPress. In blog we should put any keyword link OR should be post without links. We can put link on no follow website. Why more website coming on Google first page but they are doing Spammy links like exact keywords links, unnatural links etc.. Thanks, Akhilesh
White Hat / Black Hat SEO | | dotlineseo0 -
Can a domain name alone be considered SPAM?
If someone has a domain that is spammy, such as "http://seattlesbestinsurancerates.com" can this cause Google to not index the website? This is not our domain, but a customer of ours has a similar one and it appears to be causing issues! Any thoughts? Thanks for any input!
White Hat / Black Hat SEO | | Tosten0 -
How does the Google Treat 301 Redirects?
Hi, My website was one of many that dropped in rankings this last Friday, The company that i outsourced my SEO 4 months ago did a bad job. Now i'm doing everything my self to recover, so i was thinking getting a new hosting, duplicate the website with a same content (i have original quality content) and 301 my old domain to new one? How long can it last with Google? Can penalties be passed via 301 redirects ? Looking forward to your help.
White Hat / Black Hat SEO | | mezozcorp0 -
If I redirect a penalized domain to a non-penalized domain, will the new domain still be penalized?
If I redirect a penalized domain to a non-penalized domain, will the new domain still be penalized?
White Hat / Black Hat SEO | | MangoMan160 -
Help for a complete SEO newbie!
Hi all, I've just joined seomoz today to try and further my very young education on SEO. My major problem is i need my site to rank high in local search engines but feel that none of the customers read much of the content as i am a landscaper and feel they just search "landscaping in Newcastle" and are immediatly looking for a contact number to arrange a free estimate. I dont do any online sales, its just to generate leads. I've spent alot of time building a better site than my local competitors but they still out rank me on alot of keywords i.e. "Driveways in Gateshead" My question is do i keep adding more and more content hoping this will work long term or do i link build with anchor text etc or both? I cannot believe they still out rank me when i feel i have more links more anchor text and a load more origional content and images. I think it may be that my site is still under 1 year old. I feel i am boucing from content to link building then trying something else without any real knowlegde of what i really should be doing or what should be the priority at this young stage for my site. I have managed to get on page 1 of google for most of my keywords in local searches ( obviously not national) but still feel its been more down to luck and effort than actually knowing what i am doing when it comes to site and offsite optimization Any help, tips etc would be greatly appreciated. Many thanks John
White Hat / Black Hat SEO | | totaldriveways0