WordPress Sub-directory for SEO
-
Hi There,
I'm working on a WordPress site that includes a premium content blog with approx 900 posts.
As part of the project, those 900 posts and other membership functionality will be moved from the main site to another site built specifically for content/membership.
Ideally, we want the existing posts to remain on the root domain to avoid a loss in link juice/domain authority.
We initially began setting up a WordPress Multisite using the sub-directory option. This allows for the main site to be at www.website.com and the secondary site to be at www.website.com/secondary.
Unfortunately, the themes and plugins we need for the platform do not play nicely with WordPress Multisite, so we started seeking a new solution, and, discovered that a second instance of WordPress can be installed in a subdirectory on the server. This would give us the same subdirectory structure while bypassing WordPress Multisite and instead, having two separate single-site installs.
Do you foresee any issues with this WordPress subdirectory install? Does Google care/know these are two separate WordPress installs and do we risk losing any link juice/domain authority?
-
@himalayaninstitute said in WordPress Sub-directory for SEO:
WordPress can be installed in a subdirectory
I have done this a lot and I mean a lot what you want to do is set up a reverse proxy on your subdomain and this will allow you to not only bypass having to use multisite for subfolder but if you want to power it separately you can you do not have to it all. You should probably use your same server and power through Fastly our CloudFlare
once you set this up it is super easy to keep it running in your entire site will be much faster as a result as well
my response to someone else that needed a subfolder
https://moz.com/community/q/topic/69528/using-a-reverse-proxy-and-301-redirect-to-appear-sub-domain-as-sub-directory-what-are-the-seo-risksplease also look at it explained by these hosting companies is unbelievable easy to implement compared to how it looks and you can do so with Fastly or cloudflare in a matter of minutes
-
https://servebolt.com/help/article/cloudflare-workers-reverse-proxy/
-
https://support.pagely.com/hc/en-us/articles/213148558-Reverse-Proxy-Setup
-
https://wpengine.com/support/using-a-reverse-proxy-with-wp-engine/
-
https://thoughtbot.com/blog/host-your-blog-under-blog-on-your-www-domain
-
https://crate.io/blog/fastly_traffic_spike
*https://support.fastly.com/hc/en-us/community/posts/4407427792397-Set-a-request-condition-to-redirect-URL -
https://coda.io/@matt-varughese/guide-how-to-reverse-proxy-with-cloudflare-workers
-
https://www.cloudflare.com/learning/cdn/glossary/reverse-proxy/
-
https://gist.github.com/LimeCuda/18b88f7ad9cdf1dccb01b4a6bbe398a6
I hope this was of help
tom
-
-
@nmiletic The content section of the site requires a unique UI Design and other robust functionality, so having a separate theme/plugins in its own directory is going to be the way we go here. Thanks for your assistance!
-
@himalayaninstitute Have you thought about adding a page and making all of this new content a subpage? Or changing your permalink structure to include a category in the URL? You can then add all of these posts under that category and have the URL show up as www.example.com/category/page-or-post-name
-
The website at the subdirectory will be an online learning platform with a blog, online courses, memberships, gated content, etc. The content currently lives on the main site, so, it's great that we can move it into the subdirectory without taking a hit from Google.
Since these are fundamentally two separate websites, we're not concerned about needing to manage them independently.
Thanks again for your input and advice, we greatly appreciate it!
-
@amitydigital said in WordPress Sub-directory for SEO:
Google will view it as one site so you shouldn't have any issues from that perspective. The Google bot is just looking at pages and won't know/care that the underlying CMS that is running some pages is a different install than other pages. The downside is you now have two websites to maintain, two themes, two sets of files, etc... That may result in a bit of a headache in the future.
As @amitydigital put it, the issue with your approach would be repetitive tasks. You will not loose any DA nor PA (being that you implement a correct 301 redirection). What is going to be on the subdirectory?
-
Google will view it as one site so you shouldn't have any issues from that perspective. The Google bot is just looking at pages and won't know/care that the underlying CMS that is running some pages is a different install than other pages. The downside is you now have two websites to maintain, two themes, two sets of files, etc... That may result in a bit of a headache in the future.
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
-
SEO Drop
Over the last few months my rank has dropped by around half and for the life of me I can’t see why. There are no warnings on Google Console. Am I missing something? Website: thespacecollective.com
Intermediate & Advanced SEO | | moon-boots0 -
SEO site Review
Does anyone have suggestions on places that provide in depth site / analytics reviews for SEO?
Intermediate & Advanced SEO | | Gordian0 -
Server Migration, Does it effect SEO?
About to go through a server migration. My intitial thought is that a change in servers shouldn't really change my rankings. But I've heard rumors... Can a server migration change rankings? Why?
Intermediate & Advanced SEO | | Thos0030 -
Merging Domains... Sub-domains, Directories or Seperate Sites?
Hello! I am hoping you can help me decide the best path to take here... A little background: I'm moving to a new company that has three old domains (the oldest is 10 years old), which get a lot of traffic from their e-letters. Until recently they have not cared about SEO. So the websites have some structural, coding, URL and other issues. The sites are indexed, but have a problem getting crawled and/or indexed for new content - haven't delved into this yet but am certain I will be able to fix any of these issues. These three domains are PR4, PR4, PR5 and contain hundreds of unique articles. Here's the question... They want to move these three sites **to their main company site (PR4) and create sub domains for each one. ** I am wondering if this is a good idea or not. I have merged sites before (creating categories and/or directories) and the end result is that the ONE big site, is much for effective than TWO smaller, less authoritative sites. But the sub domain idea is something I am unsure about from an SEO perspective. Should we do this with sub domains? Or do you think we should keep the sites separate? How do Panda and Penguin play into this? Thanks in advance for the help! SD P.S. I'm not a huge advocate in using PR as a measurement tool, but since I can't reveal the actual domains, I figured I would list it as a reference point.
Intermediate & Advanced SEO | | essdee0 -
SEO - What Should We Do...
Hi Guys, Hope your all OK. Were having major problems with our homepage ranking for our main keyword - we were originally 4 but over the Christmas period our SEO company reported a fault with one of there servers that they were using for links, because of this fault these links were de-indexed from the search engine and in turn we have plummeted to 10th... At the time we had a landing page with an exact match keyword in it, e.g: www.ourdomainname.co.uk/key-word/ we were told to 301 this to our main page in Google but when we have looked today its now showing this page instead of our homepage. We also have another domain that we are using for a forum at the moment, now this domain name is an exact match doming e.g www.keyword.co.uk. The question is do we gamble and 301 our whole site to www.keyword.co.uk and see if we can get this ranking better? Thanks, Scott
Intermediate & Advanced SEO | | ScottBaxter0