Quote:
Originally Posted by KrisP
I would like to have my original forum on domain A - and the rest of the languages on domain B. So I need a way to identify the original language on domain B, so it can be omitted from robots, but perhaps I can use robots.txt on domain B for this allowing the appropriate language folders and default disallowing rest, like this ??:
User-agent: *
Allow: /lang1/
Allow: /lang2/
etc.
Disallow: /
Also is there a conditional / variable that tells what language beeing browsed by a user?
|
You can play with robots.txt if you want and check the results.
About variable in SEO lins language is inside of the path. In old way links (you can choose which one you like in mod options) you have
language param in URL. In booth ways
language param exists in $_GET on server side (.htaccess cares about it for SEO links). So in your server B you can add plugin which will send error header for requests without
language param - just in case if you mess something in your robots.txt file.