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.
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?
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.
It should since I copied the files in the Blog on my harddrive to a backup folder.
the database is not in the wordpress file tree.
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?
I know it is local hosted
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.
apache2.conf or httpd.conf, wherever you define your virtual hosts and other stuff.
I found the httpd.conf file but don’t know where to put it
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.