WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Permalink Structure changed, looking for rewrite help

[Resolved] Permalink Structure changed, looking for rewrite help

Viewing 3 replies - 1 through 3 (of 3 total)
  • Nevermind, I had to delete the cache to make it work. Hope that helps someone else looking for this.

    This suddenly stopped working on my site for an unknown reason. Did too many changes before I noticed the error. Instead of rewrite I use redirect now.

    RedirectMatch permanent /([0-9][0-9][0-9][0-9])/([0-9][0-9])/([0-9][0-9])/(.*) /$4/
    RedirectMatch permanent /([0-9][0-9][0-9][0-9])/([0-9][0-9])/([0-9][0-9])/(.*)/ /$4/

    Hope that helps!

    MyrddinDE

    @myrddinde

    Changed the order and added the domain to not have redirect spam the error log.

    RedirectMatch permanent /([0-9][0-9][0-9][0-9])/([0-9][0-9])/([0-9][0-9])/(.*)/ http://www.myrddin.de/$4/
    RedirectMatch permanent /([0-9][0-9][0-9][0-9])/([0-9][0-9])/([0-9][0-9])/(.*) http://www.myrddin.de/$4/
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Permalink Structure changed, looking for rewrite help’ is closed to new replies.