Forum Moderators: phranque

Message Too Old, No Replies

HELP - Apache Screw Up External HTML Links

weird, only happens on one html page

         

stidj

11:09 am on May 19, 2004 (gmt 0)

10+ Year Member



<a href="http:/www.example.com/">Click Here</a>

that is the exact code I have for the link but for some reason when I go to my browser IE6, it makes the actual URL [mysite.com...]

When I open up the code from the browser, the HTML is still valid and fine........

Someone please help, this is a huge problem when visitors need to actually click a link and have it go to the appropraite place :)

Any help will be greatly appreciated!

[edited by: jdMorgan at 2:10 pm (utc) on May 19, 2004]
[edit reason] Examplified linked domain name [/edit]

Alternative Future

11:15 am on May 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Don't know if it will help any but shouldn't you have two forward slashes in place:
<a href="http://www.termpapers-without-tears.com/">Click Here</a>

-George

stidj

11:15 am on May 19, 2004 (gmt 0)

10+ Year Member



Nevermind, it's ok. I feel very stupid at this moment. :(

I used Macromedia Dreamweaver MX to automatically replace /test with / on all files for my site as I had to change the path.

Then I realize I ended up with "//" for some links........and without thinking I replaced "//" with "/" and then my PHP comments which I immediately realized (became broken). I didn't realize it made my links break too..... http:/bla will make apache believe that is just a absolute link to a file on your site...... lol

Anyway let this be a lesson for 4am coding :)

stidj

11:17 am on May 19, 2004 (gmt 0)

10+ Year Member



Thanks for the reply George. I replied with my own answer to my stupid problem, had I not found it myself, yours would have fixed it all immediately.

It took me some time to notice it was http:/ and not // .....we all make mistakes unfortunately :)

Alternative Future

11:18 am on May 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Easily done been there got the badge ;-)

-George