WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have multisite blog for 2 languages, and I want to easily switch it.


I would like to switch to


I have get_blog_option(2, 'siteurl') which returns www.example.com/english/ but I cant find any function which returns only /page/post/

I have one which returns www.example.com/page/post but how put there /english/ inside


share|improve this question

migrated from stackoverflow.com Aug 30 '12 at 10:42

This question came from our site for professional and enthusiast programmers.

not an answer if your site is already live but qtranslate does just this in 1 blog: wordpress.org/extend/plugins/qtranslate/ – janw Aug 29 '12 at 13:45
I know but client want two sites for two office – lenrok7 Aug 29 '12 at 13:53

Take a look at get_blog_permalink

share|improve this answer

Your Answer


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