Vladimir’s WordPress Forum


 
Current User: Guest
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Link to "contact me" static page messed up (URL repeats) Please help!

Add a New Topic Reply to Post
UserPost

7:09
7 January, 2010


Barbara

Guest

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"

<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?

Barbara

5:36
9 January, 2010


Barbara

Guest

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

WordPress User

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.

Reply to Post

Reply to Topic:
Link to "contact me" static page messed up (URL repeats) Please help!

Guest Name (Required):

Guest Email (Required):

HTML Editor
Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
9 + 2