Support » Themes and Templates » 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • My code didn’t come through. I used singe quotes instead of back ticks. I’ll try again:

    <div id="AllMenuButtons">
    	<ul id="CCSNav">
    			<div id="CCSButton1">
                	<a href="/event-information" class="event-information"></a>
        		</div><!--CCSButton1 -->
    			<div id="CCSButton2">
                	<a href="/register" class="register"></a>
        		</div><!--CCSButton2 -->
            </li>         ...etc..

    Anyone? Help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Test WP site gets 404 in navigation – live site fine’ is closed to new replies.