Title: Breaking permalinks
Last modified: September 2, 2023

---

# Breaking permalinks

 *  [eefkedigibitch](https://wordpress.org/support/users/eefkedigibitch/)
 * (@eefkedigibitch)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/breaking-permalinks/)
 * Hi there,
 * I’m having troubles with my permalinks settings. I’m building a new website on
   a temporary URL, so I log in and out every day.
   Every day when I log in I first
   have to save my permalinks, otherwise the links from the archive page to courses(
   learndash) are broken and I get a 404. Also the products in my shop aren’t shop
   on the archive page, but are when I select a category.
 * It could be this occurred when I did the last small WP update, but I’m not sure.
 * A strange fact is also; I’m in the caribbean and my friend in the netherlands
   doesn’t have this issue. He just looks and isn’t logged in when he checks.
 * Because I’m still building this website I don’t have a security or SEO plugin
   active yet. Everything is up to date.
 * I already tried some things to fix it, but they didn’t work. So I hope one of
   you can help me!
   the things I already did:1. deactivate the last 2 plugins I 
   installed.2. change the permissions of my htaccess file to ‘user can read and
   write’ and ‘group and world can read’.3. check if the rewrite was activated in
   my apache modules. (hope I say this correct)4. My htaccess is still like the 
   original and doesn’t change after saving permalinks or logging in/out.Thanks 
   for any help in advance!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbreaking-permalinks%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/breaking-permalinks/#post-17020751)
 * Rewrite rules are supposed to be persistent. WP gets them from the DB for every
   request. Your friend in the Netherlands could be seeing content their browser
   had cached from earlier when permalinks were working? It’s also conceivable the
   problem only exists for logged in users and normal visitors get working permalinks.
 * Products are usually of a different post type and wouldn’t normally appear on
   post archive pages. Product categories are typically a separate taxonomy from
   post categories that is specifically for listing products, so this aspect could
   be expected behavior.
 * But previously working permalinks should of course continue to to work and not
   require daily re-saving. Because different WP elements can be updated at different
   times, some conflicts can arise where none had existed earlier. But if permalinks
   work properly for a while, the seemingly stop working on their own, it’s going
   to be difficult to debug the issue. Ideally you’d discover what process or request
   is causing permalinks to fail so you can investigate in a logical, methodical
   manner.
 * Are these 404 errors a generic server level, un-themed response? Or is it the“
   Nothing found” sort of themed WP response? The former indicates a server configuration
   issue. The latter indicates a DB query failure and not necessarily an issue with
   permalink rewrite rules. I recommend using the Query Monitor plugin to observe
   what the SQL for the main query is. There is likely something off about the SQL
   that’s causing nothing to be found.
 *  Thread Starter [eefkedigibitch](https://wordpress.org/support/users/eefkedigibitch/)
 * (@eefkedigibitch)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/breaking-permalinks/#post-17024581)
 * Thanks for your help!
 * It’s really a 404 error so I send the issue to my hosting now to see if they 
   can find a server configuration issue. I hope they do!
 * Thanks again!

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

The topic ‘Breaking permalinks’ is closed to new replies.

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
