rewrite-rule

  • Old permalink: https://wbxpress.net/2011/03/a-long-post-url.html

    New permalink: https://wbxpress.net/a-long-post-url/

    Add the following into the virtual host configuration file.

    rewrite "/([0-9]{4})/([0-9]{2})/(.*).html" https://wbxpress.net/$3 permanent;