Archived topic
Does Generatepress (or Wordpress) have native redirects in place
1 reply · Started by wordpressuser13 on February 21, 2023
I delete a post such as website.com/my-favorite-food/
and create a new post such as website.com/this-is-my-favorite-food/
If a user visits website.com/my-favorite-food/ they are being redirected to website.com/this-is-my-favorite-food/ although I want them to see a 404 instead (that previous page has been deleted!)
Do you know how to disable this function, or if it is a function introduced by the theme or WordPress in general?
Hello there,
GeneratePress has no control over this. There's no code in GP that would cause this.
Try rebuilding your permalinks by going to Settings > Permalinks and hitting save.
If that doesn't work, try #1 here: https://docs.generatepress.com/article/debugging-tips/