Vladimir’s WordPress Forum


 
guestdefault Vladimirs WordPress Forum
Current User: Guest user permissions Vladimirs WordPress Forum
Search Forums:


searchicon Vladimirs WordPress Forum 






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

topic Vladimirs WordPress Forum

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

addtopic Vladimirs WordPress Forum Add a New Topic addpost Vladimirs WordPress Forum Reply to Post
UserPost

7:09
7 January, 2010


Barbara

 Vladimirs WordPress Forum
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

 Vladimirs WordPress Forum
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

1266941356avatar Vladimirs WordPress Forum
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.

addpost Vladimirs WordPress Forum Reply to Post

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

Guest Name (Required):

Guest Email (Required):

htmlEditor Vladimirs WordPress Forum
Smileys
sf confused Vladimirs WordPress Forum sf cool Vladimirs WordPress Forum sf cry Vladimirs WordPress Forum sf embarassed Vladimirs WordPress Forum sf frown Vladimirs WordPress Forum sf kiss Vladimirs WordPress Forum sf laugh Vladimirs WordPress Forum sf smile Vladimirs WordPress Forum sf surprised Vladimirs WordPress Forum sf wink Vladimirs WordPress Forum sf yell Vladimirs WordPress Forum
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
8 + 4