Support » Fixing WordPress » nav links go to error page –

  • Resolved sheriffderek

    (@sheriffderek)


    I built this site on a local MAMP host. Now I uploaded the database – changed the config – find and replaced :8888 with .com in the database – uploaded the wp-content and the home.php page loads. hooray ! but the links are sending me to error. I tried every type of link I could think of. I’m stumped ! Any ideas ?

    <ul>
        <li><a href="<?php echo get_template_directory_uri(); ?>/us" class="menu-about">about</a></li>
        <li><a href="http://camandbenny.com/resumes" class="menu-resumes">resumes</a></li>
        <li><a href="/work.php" class="menu-work">work</a></li>
        <li><a href="books" class="menu-books">books</a></li>
        <li><a href="<?php echo get_template_directory_uri(); ?>/news.php" class="menu-news">news</a></li>
        <li><a href="/contact.php" class="menu-contact">contact</a></li>
    </ul>
Viewing 2 replies - 1 through 2 (of 2 total)
  • turns out I just had to have the regular links I had originally.

    and I just had to re-save the permalink structure to update the .htaccess

    turns out I just had to have the regular links I had originally.

    and I just had to re-save the permalink structure to update the .htaccess

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘nav links go to error page –’ is closed to new replies.