Title: Permalinks SOMETIMES broken
Last modified: November 25, 2019

---

# Permalinks SOMETIMES broken

 *  [dsbw](https://wordpress.org/support/users/dsbw/)
 * (@dsbw)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/permalinks-sometimes-broken/)
 * Actually not lair.art.blog but [http://www.moviegique.com](http://www.moviegique.com).
 * Published a post a few days ago:
 * [http://moviegique.com/2019/11/23/joker/](http://moviegique.com/2019/11/23/joker/)
 * Only to realize that when I clicked on the link I got:
 * Oops! That page can’t be found.
    It looks like nothing was found at this location.
   Maybe try one of the links below or a search?
 * Then I noticed that it was true of some other posts, did some research and re-
   generated the permalinks. So that link above now works.
 * But the older posts still do not! For example, this search shows a post for “
   Follow Me” on 2012-July-16, but if you click on it, the link tries to take you
   to:
 * [http://moviegique.com/2012/07/17/follow-me-the-yoni-netanyahu-story/](http://moviegique.com/2012/07/17/follow-me-the-yoni-netanyahu-story/)
 * The post isn’t there because it wasn’t written on the 17th but the 16th. And 
   if you go to THAT link:
 * [http://moviegique.com/2012/07/16/follow-me-the-yoni-netanyahu-story/](http://moviegique.com/2012/07/16/follow-me-the-yoni-netanyahu-story/)
 * You find it. I tried switching timezone from L.A. to UTC but that didn’t help.(
   Just seemed like it might be a TZ confusion.)
 * Help is appreciated, thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpermalinks-sometimes-broken%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Jacob Peattie](https://wordpress.org/support/users/jakept/)
 * (@jakept)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/permalinks-sometimes-broken/#post-12171094)
 * From the [5.3 Master List](https://wordpress.org/support/topic/read-this-first-wordpress-5-3-master-list/):
 * > **Dates or times being incorrect, permalinks being off by a day, other weirdness
   > related to “time”
   > WordPress 5.3 received a significant upgrade to its date and time handling 
   > code. The previous code dated all the way back to over 10 years ago, when PHP
   > 4 was still supported. This was a significant chunk of code scattered all through
   > the core of WordPress, and it was very slow and a drag on performance.
   > With 5.3, most of this code has been updated or replaced with saner PHP 5.6
   > compatible code. A lot of the legacy has been removed. However, some plugins
   > and themes may have relied on the side effects from how this code previously
   > operated.
   > For this reason, some plugins or themes may be doing incorrect things. One 
   > such thing would be to call the `date_default_timezone_set()` function in PHP.
   > WordPress works by setting the default timezone to UTC and then performing 
   > its own calculations to adjust times. Setting the default timezone incorrectly
   > to anything else will result in these calculations being incorrect. WordPress
   > will be overcompensating the timezone adjustments.
   > For backwards compatibility, it is crucial that plugins *not* change the default
   > PHP timezone. The default timezone must be set to UTC at all times. Any problems
   > you find with timezones or dates shifting is likely going to be a plugin or
   > theme which is doing-it-wrong. This may not have mattered as much in previous
   > versions of WordPress, but now that WordPress is using these newer functions
   > more and less reliant on the old PHP 4 compatible code, then this is far more
   > critical.
   > If you find a plugin or theme with a problem like this, please report it to
   > their authors, or report it to the plugins team.
 *  Thread Starter [dsbw](https://wordpress.org/support/users/dsbw/)
 * (@dsbw)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/permalinks-sometimes-broken/#post-12179495)
 * Jacob,
 * Thanks. I searched for “permalinks” on what I thought was the right text but 
   I didn’t see this.
 * So, I switched to the 2020 theme, changed permalinks and changed back. But 2020
   is showing the same phenomenon. The post shows as 2012-July-16 on the page, it
   was posted on 2012-July-16, but the link generated is for 2012/07/17.

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

The topic ‘Permalinks SOMETIMES broken’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [dsbw](https://wordpress.org/support/users/dsbw/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/permalinks-sometimes-broken/#post-12179495)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
