• Hello,

    I just updated to 4.2.2 (automatically) from 4.2.1
    (everything in 4.2.1 worked fine)

    Some pages are retuning a 404 when using %postname% permalink structure. But when I update the permalink structure to default the site works perfectly.

    I have tried all things I can think of to solve this issue such as:

    – deactivate all plugins
    – run WP Optimize on the database
    – increase the php memory limit
    – check the .htaccess file for the proper mod_rewrite
    – install 2015 theme (same issue but instead of 404 I get redirect to the index.php)
    – create a whole new installation and use the xml wp export and import the posts into a fresh database

    I know its isolated to the database or the server, if it wasn’t my theme would not work when using default permalink structure.

    I am using MAMP for my local environment.
    Apache and PHP 5.5.14

    The weird thing I am noticing is that some pages in the ancestry tree are working but others are not. The top parent level and the bottom most child are working pages but all relationships in between are returning a 404.

    example (Pages) ancestry structure

    Product (works)
    – Pools (404)
    — Above Ground (404)
    — Doughboy (works)
    — Sharkline (works)
    — Radiant Pools (works)
    — Inground Pools (404)
    — Pool liners (404)
    — Doughboy liners (works)
    — Inground liners (works)

    For further investigation here is the staging url
    https://zagers.wearenobol.com

    Hopefully someone can help soon. I was done with this site and ready to launch until this update. Need to get this done and out of my life asap.

  • The topic ‘Some pages return 404 others don't’ is closed to new replies.