I’ve been working on getting my site up and everything has worked so far up until I tried putting a few links into my header.php to make a navigation bar.
My site is www. alexissdawn . com/blog. If you look under my header image there are random links – but when you click on them the page is not found. I noticed though that the url it’s set to is double. For example, the “Home” link address is set to: http://www.alexissdawn.com/blog/contact-me/%E2%80%9Dhttp://www.alexissdawn.com/blog%E2%80%9D
So it’s doubling up for some reason – but my code is:
It’s the most basic html code but it’s not working. I’ve spent hours searching forums but still can’t figure it out. It’s a brand new site so I haven’t moved anything over and I’ve only messed a bit with the header.php and stylesheet. Any ideas??
UPDATE: After I posted I looked at it and it screwed up again. Above where I put in my code, I didn’t space it out so you could see it:
a href=””http://www.alexissdawn.com/blog”” Home /a
(Obviously I don’t have all of those spaces and I have the brackets in my code – just wanted you to be able to see it.)
But look above how the link is set to:
Why is it grabbing another page and putting it into the code before it puts the link I coded it for?
- The topic ‘Double URLs on links’ is closed to new replies.