Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-05-28 14:59:14

crowleyr
Member
From: Tallinn
Registered: 2006-04-04
Posts: 27

1 mySQL database, 3 domains, 3 txp installations, same content

Ok.

Let’s say I have:

masterdomain.tld
mirrordomain1.tld
mirrordomain2.tld

on all three I have fresh txp installations

I use masterdomain.tld as my primary txp installation i.e. where i publish content

how can I get the mirror domains to reflect all content, structure & styling of masterdomain.tld ?

(this began as a sub question here . thanks Uli for the initial response:

Export the database tables in phpMyAdmin or something adequate. Install TXP on the second domain. Delete all tables contained in the new database “textpattern”. Then import the SQL chunk

Last edited by crowleyr (2008-05-28 15:00:41)

Offline

#2 2008-05-28 15:06:12

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: 1 mySQL database, 3 domains, 3 txp installations, same content

Why not use rewrite rules to redirect mirrordomain1.tld and mirrordomain2.tld to masterdomain.tld? That would be the simplest solution (3 domains, 1 install and 1 database.)

Last edited by mrdale (2008-05-28 15:07:47)

Offline

#3 2008-05-28 15:08:34

crowleyr
Member
From: Tallinn
Registered: 2006-04-04
Posts: 27

Re: 1 mySQL database, 3 domains, 3 txp installations, same content

I wanted to avoid simple redirects for search engine optimization purposes… am i misguided ~? cheers !

( the two mirrors are geographic tlds: .ie , .co.uk )

Last edited by crowleyr (2008-05-28 15:11:54)

Offline

#4 2008-05-28 15:21:42

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: 1 mySQL database, 3 domains, 3 txp installations, same content

crowleyr,

thant’s not a good approach/practice for SEO.
Search engines punishes duplicated content and other black hat practices, and I would bet your idea falls inside these kind of practices.
3 sites with same contain won’t boost up your SEO by 3X, and probably will do more hurt than help.

Also, do you really want to maintain 3 (three) TXP installations with exaclty the same content, design, etc?

Another option is to have your mirrordomain1 and mirrordomain2 as parked subdomains. But that won’t help either on SEO.
As mrdale suggested, the redirect is the best option, but it won’t really help (nor hurt) your SEO.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#5 2008-05-28 15:22:49

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: 1 mySQL database, 3 domains, 3 txp installations, same content

crowleyr wrote:

I wanted to avoid simple redirects for search engine optimization purposes…

Simplest and best option is redirecting as mrdale said. Double content is the worst, but you can do it with rewrite rules, just remember to provide the exactly same content only in one place.

In example you can redirect (remember to use permanent redirect):

  • http://domain.ie/faq/my-first-advice
  • http://domain.co.uk/faq/my-first-advice

All to:

  • http://domain.com/faq/my-first-advice

And it actually is just one simple rewrite rule. If you want mirroring / double content, then that is stupid as it isn’t SEO – mostly opposite. Rule number one: provide unique content, with smart keywords, that can be accessed only in one place.

Edit: maniqui was faster :P

Last edited by Gocom (2008-05-28 15:24:30)

Offline

Board footer

Powered by FluxBB