Welcome to WebmasterWorld Guest from

Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

site.com and 2nd.site.com and SEO

7:00 pm on Apr 21, 2013 (gmt 0)

Junior Member

5+ Year Member

joined:July 29, 2009
votes: 0

this is for an ecomm site

so if i have site.com

and want to make a live clone 2nd.site.com

will penalty or something bad as a result?

note: I will be taking orders on both sites and trying different backend stuff on each. both will have same branding. overtime i will get rid of 2nd.site.com
4:45 am on May 7, 2013 (gmt 0)

Junior Member

5+ Year Member

joined:July 29, 2009
votes: 0

ok thanks...one more thing. do you know if this applies exactly the same to magento sites or are you talking about any website in general.
12:12 am on May 8, 2013 (gmt 0)

Preferred Member

joined:Feb 18, 2013
votes: 0

NP hope it works for you and it should apply to any site you can put on it's own subdomain. I'm really not very familiar with magneto, but the only thing I can think of you might have to do, depending on exactly how magneto works wrt linking is perform a string-replace to get the subdomain out of the links/canonical.

So, for code-set2.example.com:
echo str_replace('code-set2.example.com','www.example.com',file_get_contents('http://code-set2.example.com'.$_SERVER['REQUEST_URI']));

Would change a link like this:


Obviously for code-set1.example.com you just change code-set2.example.com to code-set1.example.com in the replace.
This 32 message thread spans 2 pages: 32

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members