• Resolved jostill

    (@jostill)


    I’m having a problem since changing my permalinks from default to postname on a wordpress site. I’m getting 404 errors on pages but only the ones that are within the submenu called menus, all the other pages are working fine.

    I tried deleting the htaccess and replacing it with another made from code copied from help pages then the site doesn’t work at all. I was told that just by changing the permalink to a different one and pressing save changes, this should generate a new htaccess file but it doesn’t. I’m then forced to revert back to the backed up htaccess file and use default permalinks.

    Not sure why it’s just those pages that are affected other than they are in a submenu. I’ve no idea how to fix this.Example here https://www.5thview.com/menus/nibbles/

    I should add that if I switch back to default permalinks it works fine again…

    I would need specific instructions if poss as I’m a bit of a newb to the coding side etc although I can find my way around if directed…

    Any help would be greatly appreciated. Thanks…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The links are in the menu items. If you want to change the permalinks you should also re-save you menu to recreate the links.

    Thread Starter jostill

    (@jostill)

    Brilliant! Thank you. It wasn’t quite the fix but it did lead me to the fix. For some reason when I looked at the links for the menu/sub item pages the link for all the menu items had been changed to menus rather than menu during the permalink update? Manually fixed all these and now it works! Woop, woop!

    Thanks for your reply.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress Error 404 after changing permalink on some pages’ is closed to new replies.