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.

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

www.example.com/page/post

I would like to switch to

www.example.com/english/page/post

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

Thanks

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

1 Answer 1

Take a look at get_blog_permalink

share|improve this answer

Your Answer

 
discard

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