Forums

Rewrite rules for WordPress 2.0 (1 post)

  1. hlb
    Member
    Posted 6 years ago #

    Hi, I am trying to use polyglot plugin on my blog. In wordpress 1.5, I can use handy rewrite rules to make pretty URL:

    RewriteRule ^(.*)/en/?$ /blog/$1?lp_lang_view=en [QSA]
    RewriteRule ^(.*)/zh/?$ /blog/$1?lp_lang_view=zh [QSA]

    But it can not work in 2.0 at all. Is there any filter for such situation? how can I do?

    I try to modify classes.php, but it is so complicate.

    Thank you for your help!

    polyglot: http://fredfred.net/skriker/index.php/polyglot

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags