HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Two domains -> One folder ? Help please. (http://www.howtoforge.com/forums/showthread.php?t=61199)

joejoejoejeo 28th March 2013 20:18

Two domains -> One folder ? Help please.
 
Hi,
I passed all the day searching the web for a solution for this problem, but i found nothing.
Here's the problem: I have two domainq names A and B that i added to ispconfig, as usual ispconfig created two folders for the the domains.

Now these two domains are for the same website, i need to make the domain A points directly to the folder of domain B.

I don't want to use alias because it's bad for SEO and i don't want to use redirect 301 and other kind of redirections because i want really that the user access the website through both domains transparently and take no SEO risk.

My ispconfig is in a VPS so i don't have direct access to etc/ folder and server configuration files (mybe using ssh command it is possible?). I have only access to the ispconfig full panel and i can override apach directives.

Please help.
thank you

Nilpo 28th March 2013 21:27

Quote:

Originally Posted by joejoejoejeo (Post 294938)
I don't want to use alias because it's bad for SEO and i don't want to use redirect 301 and other kind of redirections because i want really that the user access the website through both domains transparently and take no SEO risk.

Sorry, but that's impossible. It's called duplicate content. Using Domain Alias is the proper way to achieve what you want to do. From there, I would recommend using .htaccess and mod_rewrite to control your traffic and url structures. I use this exact system.

If you truly want two domains to point to, and serve, the exact same webroot, then you are creating a domain alias, no matter what means you use to achieve it.

On a side note, using 301 redirection avoids the duplicate content penalty which is why it is the preferred method for SEO.


All times are GMT +2. The time now is 16:39.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.