Test WP site gets 404 in navigation – live site fine
-
I have a live system on Dream Host, and have created a test system on a Dream Host subdomain. I copied all the WP files, and imported a modified copy of the MySQL dataset, changing database name and domain name as needed. Changed the wp-config.php to the correct database name. I mention all this because this is my first time creating a duplicate test system.
My test system looks fine, but when I click on my widget navigation, I get a 404 error. The widgets are using the same relative addressing that is used on the live site. The CSS has absolute addresses for background images on the live site. But I don’t see why that shouldn’t still work. I am using a background image for a rollover affect on the buttons.
I have four buttons on my widget navigation. The code is:
[Code moderated as per the Forum Rules. Please use the pastebin]
The error I get when I click on the Event button is 404:
Not Found
The requested URL /event-information was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
The page /event-information does exist on the test system, just as it does on the live system. The only differences in the systems are the things I mentioned above. Does anyone have an idea what I need to do to my test system to make my navigation work? My thanks.
- The topic ‘Test WP site gets 404 in navigation – live site fine’ is closed to new replies.