• 4 of my pages give this error messages:
    he requested URL /ChucksEnt/contact-me/ was not found on this server.
    Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80
    The only page that works is the one that I created for the Home page.
    Can someone help me out with this problem?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi @chuckm97,

    Only 4 pages or every page and post except the homepage?

    If you find 404 on every page except homepage it might be related to server issue.

    If you are hosting this site and have full access to Apache config files.You can try placing by placing AllowOverride All in server’s virtual host configuration’s Directory directive.

    Things to check:
    Is mod_rewrite enabled on the server?
    Try deactivating all plugins and activating the default theme to check whether it solves the issue.

    Thread Starter Chuckm97

    (@chuckm97)

    I ended up building the site back from scratch. One thing I don’t understand is if the site is backed up on DropBox how does one restore the site from there since the backup and restore plug-in cannot be used when the site is destroyed. I tried to manually restore it from the backups that I had on my computer but it didn’t do anything?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    well yeah, if you’re using a plugin, it needs a working copy of WordPress to do the restore. 🙂 Otherwise, there’s nothing to plugin to.

    Does your backup include the database? All you need to rebuild a site are the files and the database.

    Thread Starter Chuckm97

    (@chuckm97)

    It should since I copied the files in the Blog on my harddrive to a backup folder.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    the database is not in the wordpress file tree.

    Thread Starter Chuckm97

    (@chuckm97)

    I only have the homepage working now even though I recreated some of the other pages but they give me the 404 error code when I go to the site and click on them. I have a About page, Contact Me page, Education page, Entertainment page, Work Experience page and a Family Tree page and all get the 404 error. It may be because I had to get rid of the other database and create a new one to recreate these pages?

    Thread Starter Chuckm97

    (@chuckm97)

    I know it is local hosted

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Ah, locally hosted. In your apache config file, add this:

    <Directory /path/to/where/you/installed/Wordpress>
      AllowOverride All
    </Directory>

    then restart apache. The default for apache is to ignore .htaccess.

    Thread Starter Chuckm97

    (@chuckm97)

    Where in Apache and how?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    apache2.conf or httpd.conf, wherever you define your virtual hosts and other stuff.

    Thread Starter Chuckm97

    (@chuckm97)

    I found the httpd.conf file but don’t know where to put it

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Chuck:

    This is WordPress support, not sysadmin support. If you’re running your own system (especially if it’s internet facing), I *strongly* suggest you look at some good sites or tutorials on configuration and security.

    Those 3 lines can go pretty much anywhwere; I’d put the where it’s defining the default site as I suspect you’ve got WordPress in /var/www/html.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘WordPress Pages don't work’ is closed to new replies.