• Resolved Anonymous User

    (@anonymized-14677281)


    The website already existed with an old WordPress installation in root, so in order to redesign it I did a second WordPress installation in a subfolder called “/wordpress”. I set up the htaccess so that the website url took the subfolder as main website.
    Yesterday WordPress automatically updated and since than all the links to the website pages stopped pointing to the correct url. Now they all point to a “page not found” on the previous version of the website. The only working page is the homepage, sending to the correct/new website version. It’s like htaccess doesn’t take contents from the correct subfolder anymore.
    Moreover the same 404 pages with the addition of “/wordpress” in the url don’t send to the correct pages with the new layout, but they send to the same 404 page with the old layout.
    I tried several times to update permalinks without getting results.
    How can I solve this problem?
    Thanks for any help!

    • This topic was modified 7 years, 10 months ago by Anonymous User.
    • This topic was modified 7 years, 10 months ago by Anonymous User.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @cloudspotting,

    try to temporarily make the .htaccess file writeable by changing the permissions to 666. Update, save and don’t forget to change the permissions back.

    Check how to change file premissions https://codex.wordpress.org/Changing_File_Permissions

    Thread Starter Anonymous User

    (@anonymized-14677281)

    Hello @jablonowski,
    Thanks for your reply. I already have the permissions set to 666 but unfortunately it is still not working.
    Can it be some security plugin like WordFence or W3 Total Cache?

    Thread Starter Anonymous User

    (@anonymized-14677281)

    Solved. Just in case anyone else needs it:
    Before the WordPress automatic update I had the index.php ‘require’ line pointing to my subfolder, as follows:
    require( dirname( _FILE_ ) . '/wordpress/wp-blog-header.php' );
    Somehow after the WordPress update that line was changed back to no subfolder, like this:
    require( dirname( _FILE_ ) . '/wp-blog-header.php' );
    Just added the “/wordpress” again and everything works fine now.

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

The topic ‘Website in subfolder not working after WordPress update’ is closed to new replies.