Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Ok, i have complicated issuse (i think)... i created a site that has 3 languages
without any plugin since none meet my needs....

i create 2 sub domains named:

  • he.example.com
  • en.example.com

they both lead to the same site.

When the he.example.com loads:
i want to change all the links inside the page according
to the specific sub-domain... for example my menus, recent posts
and all the other link on pages.

Reason:
that way i can control which meta boxes, texts and stuff are being loaded
on the site and thus creating a translated sites without needing any plugin
(tested 3 so far - none of them answer my requirments)...

question:
how can i "hijack" the site url the page uses when loads and change the
output accoring to the current sub-domain?

share|improve this question
    
Have a look at this –  Sisir May 5 at 17:49
    
Wow, looks intersting ;) thanks for the share - going to read more in the following link to see if this answers my question. –  Sagive SEO May 5 at 17:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.