0

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

2
  • 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, 2012 at 13:45
  • I know but client want two sites for two office
    – lenrok7
    Aug 29, 2012 at 13:53

1 Answer 1

1

Take a look at get_blog_permalink

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.