PDA

View Full Version : website design?


ticci121
06-14-2007, 10:36 PM
hi i am in the process of designing a website.

i have a problem, this is eg my website is called www.harryhome.com/ (http://www.harryhome.com/)

Now it has links in the website like contact us, about etc

the question is when someone clicks on contact us, how do i make the web address show eg. www.harryhome.com/contactus. (http://www.harryhome.com/contactus.) html?

really bugging me as i cant do it when i click the link contact us the web address shows www.harryhome.com (http://www.harryhome.com) strange... help !

Nisovin
06-16-2007, 08:27 AM
It's hard to tell, considering your website is just a parked page. However, the HTML for a link looks like this:Contact Us

I'm guessing you haven't given the link a URL to go to, so it doesn't go anywhere.

maniacmartinuk
06-16-2007, 08:01 PM
The reason that the URL is not changing in the browser's address bar, but your links work - in that they go to the pages you want - could be because you have set up your domain to use Framed redirection to another host. This will be the case if you are using free web hosting and just pointing the domain to the free host.

If this is the case, you can either move to a paid host and set your nameservers, just accept that the URL wont change, or ask your domain provider to turn framed forwarding off - in which case the URL will change to the URL its being forwarding to

David P
06-16-2007, 09:53 PM
The most common cause of this problem is down to the way your web host is providing access to your website.

A lot of web hosts use a parking page which has your page within a frame.

Your link simply replaces the page within the frame, so the address bar still shows the address of the frame.

You can sometimes break out of this frame by using the target attribute of the a tag eg.

Contact us

This may brake you out of the frame, but will also change the URL in the address bar.