Click to See Complete Forum and Search --> : 2 website version: synchronise the DB's into 1


Bobby_S
08-05-2005, 07:03 AM
Hi guys, :)

I'm thinking of a website with an estimated 800 unique visitors a day.
To have better SE rankings, I want to register 2 domain names, have each domain in 1 language, and cross-link corresponding pages.
Ex. www.site.be/page.htm (in Dutch) to www.site.com/page.htm (in English).

However, I'm collecting quite some info: bookingform info, contact form info, subscribers info, adclick info, and a lot of logging data.
I only want to design+use 1 admin panel (say on the .com version).
How can I best handle this? Can I synchronise them in real time?

Any advise would be great! Thanks!

New to PHP
08-15-2005, 08:24 AM
Generally search engines won’t index 2 domains with the exact same content. They will pick one and ignore one.

Bobby_S
08-16-2005, 02:13 AM
But the content will be different, as the first is in English and the second in Dutch...

Zipline
08-16-2005, 07:55 AM
That is a hard question to answer without fully understanding what exactly you’re trying to do. You could easily create a database with all of your content in both English and Dutch then depending on domain you could pull the text in that language. Anything the user enters and the site stores in English could be assigned a value of English in the database so then when the URL is www.site.com you could set a session value of English and then use that in all of your queries site wide. For example:

SELECT * FROM content WHERE language = ‘english’

That would allow people to only see content in their language. If you’re looking for real-time conversion so both Dutch and English users will see all of the content entered for either site in their native language you’re looking at doing some conversion and I don’t know a whole lot about that. I know it can be done, but I have no experience with it!

Good luck.