Mobile app version of vmapp.org
Login or Join
Samaraweera270

: How do I host my community as a subdirectory rather than subdomain? I want to harness the SEO benefits of having my community portal sitting as a folder of my main domain, rather than as

@Samaraweera270

Posted in: #Community #Google #Seo #Subdirectory #Subdomain

I want to harness the SEO benefits of having my community portal sitting as a folder of my main domain, rather than as a subdomain.
A lot of the content that is naturally generated is relevant to my main site. By splitting the 2 I am not getting indexed as well as I could by Google.
Unfortunately the software I am using for my community can only offer me domain aliasing, eg.
community.mysite.com
Does anyone know how I would be able to move this to a subdirectory so that it's mysite.com/community?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Samaraweera270

1 Comments

Sorted by latest first Latest Oldest Best

 

@Debbie626

If this is not a SaaS you can prob do it like so: Make sure the community app folder is named "community" and lives inside the folder that your TLD is pointing to. Goto mysite.com/community and see if it works. If it doesn't, change the configs/settings in the community app to use the new URL scheme. Once its all linked and loaded, make a 301 redirect to fire requests for community.mysite.com/* to mysite.com/community/*. You can redirect with vhosts, htaccess, or even do it with location header in your codebase. Although the redirect would take care of it, you should also cruise through the DB and templates to change sources to the new URL scheme.

Hope that works out for you.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme