WordPress.org

Ready to get started?Download WordPress

Forums

Allow locale to be added to permalink URL structure (1 post)

  1. Trevor Powell
    Member
    Posted 4 years ago #

    The WordPress integration of gettext makes internationalization/localization very simple. It is easy to setup locale switching with .mo files. One thing I cannot do though is have SEO-friendly URLs for different locales. It would be nice if the permalink options allowed for a structure that included the locale in all WordPress URLs. Something like:

    /%locale%/%year%/%monthnum%/%day%/%postname%/
    /en-US/2010/02/20/my-blog-post/

    But for every WordPress URL too; not just posts. Then I could use a rewrite rule to retrieve the locale, or that support could even be built into WordPress.

Topic Closed

This topic has been closed to new replies.

About this Topic