• Resolved ktbird7

    (@ktbird7)


    I am running WordPress on an Ubuntu virtual machine for development.

    I installed 4.0 from scratch, then I copied all of my plugin and theme files from my live site to my development folder.

    I exported all of the DB SQL from the live site and ran it through the online script to change the URL. I deleted the development DB tables and imported all of the tables from the live site.

    The live site runs an old version so I got a prompt to upgrade the DB when I opened the development site and I accepted.

    The home page shows up but there are no images and all the pages return 404 errors.

    I’ve ran chmod -R 755 for the entire wordpress folder. I’ve deactivated and deleted every single plugin. I’ve saved the permalink settings at least a dozen times.

    I don’t know what else to try at this point.

    Edit: I have discovered that the pages work when I set the permalinks to default and leave them as default. When I set it back to the desired permalink they fail again. I don’t know if this helps.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I tend to have issues with my permalinks being set to anything but default on a localhost installation. I’ve seen numerous tutorials on how to get pretty permalinks, but I can’t ever seem to get them to work.

    Thread Starter ktbird7

    (@ktbird7)

    I fixed my problem.

    I need to enable the rewrite module in apache:

    sudo a2enmod rewrite

    Then I needed to change the apache2.conf file under <Directory /var/www/> from AllowOverride None to AllowOverride FileInfo.

    Beautiful, thanks for sharing the resolution here ktbird7.

    Best of luck with the site!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘404 Error on Pages, Broken Images’ is closed to new replies.