Kieth Posted September 25, 2004 Report Share Posted September 25, 2004 On my web site, when I cliick on a link, the new page appears, but the URL in the browser address "box" doesn't change. What do I have to do to have the URL change in the browser everytime the web page changes? For example, with http://www.mandrakeusers.org, when a new link is pushed, the URL always changes. While I am writing this message, the URL shown is http://mandrakeusers.org/index.php?act=Post&CODE=00&f=31. This is one of the links I have on my web site. <a href="http://kbloyd.interfree.it/History-of-church.html"><img vspace="2" hspace="10" align="middle" style="border: 0px solid ; width: 25px; height: 25px;" alt="" src="file:///home/kieth/web-pages/Bloyd%27s/BUTton-small.jpg"></a>History of church<br> Thanks, Kieth Quote Link to comment Share on other sites More sharing options...
chris:b Posted September 25, 2004 Report Share Posted September 25, 2004 I copied your code into a new html file I created: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="generator" content="Bluefish"> <title></title> </head> <body> <a href="http://kbloyd.interfree.it/History-of-church.html">History of church</a><br><br> <a href="http://kbloyd.interfree.it/History-of-church.html"><img vspace="2" hspace="10" align="middle" style="border: 0px solid; width: 25px; height: 25px;" alt="" src="file:///home/kieth/web-pages/Bloyd%27s/BUTton-small.jpg"></a>History of church<br> </body> </html> The first section is just for testing ;-) Works for me with the changed url. - The only odd thing is your line: src="file:///home/kieth/web-pages/Bloyd%27s/BUTton-small.jpg" That won't work on the web ;-) And the text is not a link, only the image. Do you have the problems with all links? Maybe a setting in the headers. Copy my html text, make a new file with my headers, and see if it works. I am not an html expert, though. Quote Link to comment Share on other sites More sharing options...
Kieth Posted September 26, 2004 Author Report Share Posted September 26, 2004 Thank you for the help. I put your code into my web page, but it didn't change anything. Then, while goofing around with it, I noticed something. My web page is http://kbloyd.interfree.it. The first page is called index.html. If I put in the address without index.html, then the URL doesn't change when I go from page to page. But if I first put http://kbloyd.interfree.it/index.html in the URL, then everytime I change page, the URL changes. Is this "normal"? Thanks. Kieth Quote Link to comment Share on other sites More sharing options...
chris:b Posted September 26, 2004 Report Share Posted September 26, 2004 Kieth, must be something with the settings of your hoster. Very weird: I can't access your adress without /index.html, i am getting something in Italian langauge that this domain is available. - But it should be preconfigured to direct me to index.html. With /index.html I can see your page, and clicking on the links does change the url in the adress bar. Quote Link to comment Share on other sites More sharing options...
Kieth Posted September 27, 2004 Author Report Share Posted September 27, 2004 Thanks for the help. I'll just make sure I put index.html on my address. Kieth Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.