WordPress.org

Ready to get started?Download WordPress

Forums

Possible to extend permalinks? (2 posts)

  1. jcdesign
    Member
    Posted 8 years ago #

    Hi there,

    I keep coming back to this problem... is there a way to have additional parameters get used for permalinks?

    I'm working on a bilingual plugin, and this is my main problem now. I'd like to be able to write 'blog.com/about/pagename/en/' and have it point to 'blog.com?page_id=12&lang=en', but for the life of me, I can't figure out how to do it. I tried working off of Morgan Doocy's Multilingual plugin a while ago, and that didn't seem to help. Jamie Talbot's 'Gengo' plugin looks like it might do the trick, but only the demo's available, not the plugin.

    Ideas, anyone?

    Thanks!! :)

    -Jeremy

  2. Hmm, this perhaps?

    RewriteRule ^(.+)/en/?$ $1/?lang=en [QSA,L]

    Not sure if it'll work, but it's worth a try.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags