Hello again … one more problem has arisen and I hope someone here can help. I'm running Amazing Grace 3.0 on WP 2.9.1 (the site is at: http://pound-a-week.com/
Following the directions, I inserted the following code into the header.php file to link to the two pages I created: "About Me" and "Contact Me"
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?
Vladimir’s WordPress Forum
Link to "contact me" static page messed up (URL repeats) Please help!
7:09
7 January, 2010
Barbara
Post edited 5:12 – 7 January, 2010 by Barbara
Hello again … one more problem has arisen and I hope someone here can help. I'm running Amazing Grace 3.0 on WP 2.9.1 (the site is at: http://pound-a-week.com/
Following the directions, I inserted the following code into the header.php file to link to the two pages I created: "About Me" and "Contact Me"
<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?
Barbara
5:36
9 January, 2010
Barbara
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….
23:03
23 February, 2010
Brian
Santiago,Chile
posts 24
Well spotted!!!
I missed had a space in some code and the whole site crashed – one single space!!!!!!
Just do little bits of code at a time, that way it is easy to back track when things don't look right.