Forums

[resolved] URL repeated in link to new static page - help needed (2 posts)

  1. bbigham
    Member
    Posted 2 years ago #

    Hello! I am just setting up my first WP blog and a problem has arisen and I hope someone here can help. I'm running the "Amazing Grace 3.0" template on WP 2.9.1 (the site is at: http://pound-a-week.com/)

    Following the directions given by the template developer, I inserted the following code into the header.php file to link to the two pages I created: "About Me" and "Contact Me"

    <ul>
    
    <li><a href="<?php echo get_settings('home'); ?>/" >Home</a>
    
    <li><a href="http://www.pound-a-week.com/about">About Me</a>
    
    <li><a href="http:/www.pound-a-week.com/contact">Contact Me</a>
    
    </ul>

    The About Me link works perfectly; but the Contact Me link does not -- the link shows as http://pound-a-week.com/www.po.....om/contact (with the URL repeated twice) and, of course, leads to a Page Not Found message.

    I've compared the two lines of code and the permalinks on my Pages settings, and I cannot find anything different about them! What in the world am I doing wrong and how do I correct this?

    I've tried leaving a message on the developer's site but have not received a response.

    Barbara

  2. bbigham
    Member
    Posted 2 years ago #

    Ooops! Never mind - I see what I did wrong -- I have only one slash after the http: in the contact line!

    It's amazing how one simple mistake can throw you off....

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags