Title: Regex appears to not work&#8230;
Last modified: March 16, 2026

---

# Regex appears to not work…

 *  Resolved [brucedwilliams](https://wordpress.org/support/users/brucedwilliams/)
 * (@brucedwilliams)
 * [3 weeks, 5 days ago](https://wordpress.org/support/topic/regex-appears-to-not-work/)
 * I’m attempting to redirect pages like “/calendar/any-sequence-of-characters” 
   to “/events/” using the regex: /calendar/.*
 * This doesn’t seem to be working. As an example, “/calendar/month.calendar/2020/
   08/08/46.html” fails to redirect at all.
 * What am I missing?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [3 weeks, 5 days ago](https://wordpress.org/support/topic/regex-appears-to-not-work/#post-18853203)
 * You can find details here:
 * [https://redirection.me/support/problems/url-not-redirecting/](https://redirection.me/support/problems/url-not-redirecting/)
 *  Thread Starter [brucedwilliams](https://wordpress.org/support/users/brucedwilliams/)
 * (@brucedwilliams)
 * [3 weeks, 5 days ago](https://wordpress.org/support/topic/regex-appears-to-not-work/#post-18853222)
 * John, thanks for the lightning fast response!
 * It’s not browser cache, as I have tested clearing that and get the same null 
   result.
 * It’s not server cache, as that is disabled.
 * I also don’t think it’s due to the .html file type being otherwise redirected
   as I can access the WordPress “readme.html” that is included in every WordPress
   install.
 * Any other ideas? This isn’t critical, but it sure would help to make a cleaner
   transition from a Joomla-based site to a WordPress-based site I’m currently working
   on…
 * Thanks!
 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [3 weeks, 5 days ago](https://wordpress.org/support/topic/regex-appears-to-not-work/#post-18853227)
 * The fact you can access a .html just shows your server is set up to handle them.
   It is almost certainly the cause of why you can’t redirect it.
 *  Thread Starter [brucedwilliams](https://wordpress.org/support/users/brucedwilliams/)
 * (@brucedwilliams)
 * [3 weeks, 5 days ago](https://wordpress.org/support/topic/regex-appears-to-not-work/#post-18853258)
 * Argh, I’m an idiot…

Viewing 4 replies - 1 through 4 (of 4 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fregex-appears-to-not-work%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/redirection/assets/icon-256x256.jpg?rev=983639)
 * [Redirection](https://wordpress.org/plugins/redirection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redirection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redirection/)
 * [Active Topics](https://wordpress.org/support/plugin/redirection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redirection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redirection/reviews/)

## Tags

 * [regex](https://wordpress.org/support/topic-tag/regex/)

 * 4 replies
 * 2 participants
 * Last reply from: [brucedwilliams](https://wordpress.org/support/users/brucedwilliams/)
 * Last activity: [3 weeks, 5 days ago](https://wordpress.org/support/topic/regex-appears-to-not-work/#post-18853258)
 * Status: resolved