WordPress.org

Ready to get started?Download WordPress

Forums

Test WP site gets 404 in navigation - live site fine (3 posts)

  1. devra
    Member
    Posted 3 years ago #

    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.

  2. devra
    Member
    Posted 3 years ago #

    My code didn't come through. I used singe quotes instead of back ticks. I'll try again:

    <div id="AllMenuButtons">
    	<ul id="CCSNav">
        	<li>
    			<div id="CCSButton1">
                	<a href="/event-information" class="event-information"></a>
        		</div><!--CCSButton1 -->
            </li>
             <li>
    			<div id="CCSButton2">
                	<a href="/register" class="register"></a>
        		</div><!--CCSButton2 -->
            </li>         ...etc..
  3. devra
    Member
    Posted 3 years ago #

    Anyone? Help.

Topic Closed

This topic has been closed to new replies.

About this Topic