• rhender

    (@rhender)


    Hello,

    I’m trying to edit my main navigation menu.

    My contact page is returning a Not Found 404.

    Here is the HTML that is displayed in the code for the navigation.

    <nav id="access" class="menu" role="navigation">
    
    <ul>
      ... page links here
      </ul>
    </nav>

    Could anybody point me in the direction of where I could find the navigation, so that I could edit it.

    Am I missing something very obvious / crucial?

    EDIT: OK, never mind on one part of that. The <nav> is in my header.php file. But for some reason my contact page won’t come up, even though it is in that Navigation code in the header. I have no idea..

Viewing 10 replies - 16 through 25 (of 25 total)
  • Have you checked your .htaccess to ensure it’s working?

    Thread Starter rhender

    (@rhender)

    ooh… thanks Peter.

    Yeah, I’m not too familiar with the .htaccess file

    I don’t even really know what it’s saying, but I could maybe post a copy of what’s in it? if you’re still around?? don’t know if that is a security risk for my site or not…

    I did look at it, but could not really understand what it is saying quite yet. I’ll look at it again right now, and make sure it’s even uploaded to my test site for starters.

    EDIT: well, it’s definitely uploaded already, I just need to figure out what it is saying now, and if it is correct for my testing site. Would it have needed to be changed, since the URLs are different now? That may be what is causing me problems.

    Because there is also a video that is supposed to be on the homepage, but is not there on my test site, and that is bothering me as well… hmmm….. need to understand the .htaccess file better as I know it is very important for configuration of a site,

    esmi

    (@esmi)

    The standard WordPress .htaccess file is quite generic and posting it should not create any security risk.

    Thread Starter rhender

    (@rhender)

    …just edited my last post esmi

    I doubt it still has the standard settings in the .htaccess file.

    This site has been through a few developers’ hands.

    my .htaccess file…

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    esmi

    (@esmi)

    The permalinks part of a WordPress .htaccess file hardly varies from site to site. Even if the file contain multiple custom rewrite rules, publishing them will not create a security problem. All we are after is the block that starts with # BEGIN WordPress and ends with # END WordPress.

    Thread Starter rhender

    (@rhender)

    Did you see that I added it – the .htaccess file – to my last post esmi?

    esmi

    (@esmi)

    That .htaccess file looks fine. Check with your hosts that mod_rewrite is running on your server.

    Thread Starter rhender

    (@rhender)

    GoDaddy says they have that running by default with all Linux hosting accounts… so I don’t think that is it.

    What is a php.ini file?

    I have one of those in there, but I don’t think it is affecting anything as far as I can tell…

    Pioneer Web Design

    (@swansonphotos)

    It needs to be named php5.ini and then once created properly go to your hosting account (the php.ini file is what to start with):
    Content>System Resources>End Web
    and the server will pick up your php5.ini file which you can verify by creating a phpinfo.php5 file in the root (web hosting root, not site root, unless they are the same) also, and then navigating to it with your browser. It should simply contain this:

    <? phpinfo(); ?>

    Once done testing remove the phpinfo.php5 file.

    Thread Starter rhender

    (@rhender)

    Ok, thanks…

    So would that possibly have anything to do with one of my navigation links not working…

    and a video on the homepage not displaying?

    Basically it seems like I have some link problems… not many… but just a couple – ….after I copied the live site to my testing location.

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘trying to edit my main navigation but can't find it in WP’ is closed to new replies.