capsulas Posted September 5, 2003 Posted September 5, 2003 Hello ! I need your advice, How I can keep the webpage address fixed? In other words: ? I just want to show: www.mysite.com ? I don?t want to show: www.mysite.com/catalog/file.php Thank
Japes Posted September 5, 2003 Posted September 5, 2003 It's quite easy. You basically place your site into an invisible frameset. The following HTML should do the trick. Save this as index.html within your root directory and call from within it your shop directory. There are some things to keep in mind, however. Though your site may in fact be secure, the browser may display it as insecure. If a customer attempts to bookmark a page within your shop, they'll only be bookmarking the frameset. If a customer tries to reload a page, it'll take them back to the beginning. There may be some printing issues as well. <html> <head> <title>The title of your shop here</title> </head> <frameset FRAMESPACING="0" BORDER="0" FRAMEBORDER=No ROWS="100%,*"> <frame SRC="http://www.yourshop.com/catalog/index.php"> </frameset> <noframes> Sorry, your browser doesn't seem to support frames! <br> You should really get with the times. I'm not even going to bother offering you an optional address, because you won't be able to use my shop regardless. Go get yourself a lovely new browser from Netscape.com, and then we'll talk. </noframes> </html>
Guest Posted September 6, 2003 Posted September 6, 2003 You can also kiss goodbye any chances of decent search engine results. :shock:
amoun Posted September 6, 2003 Posted September 6, 2003 Look for post on this. I'm new here but I saw a response that describes how to set up a httaccess directive to say where the 'index' page is for your domain. I may not have got it quite right but I hope you'll find your way to the article. It's here somewhere. Roger facts invariably distort the truth
amoun Posted September 6, 2003 Posted September 6, 2003 Another alternative to the frame idea is a redirect or you could try a refresh " <meta http-equiv="refresh" content="6;url=http://www.roger.squaremail.co.uk/index.htm">" You can add content to the alternate options so that search engine can find your detail. Anyway some search engines like Yahoo do manual searches and will not worry about frames. rdedirect and refreshes. roger facts invariably distort the truth
amoun Posted September 6, 2003 Posted September 6, 2003 Another alternative to the frame idea is a redirect or you could try a refresh " <meta http-equiv="refresh" content="6;url=http://www.roger.squaremail.co.uk/index.htm">" You can add content to the alternate options so that search engine can find your detail. Anyway some search engines like Yahoo do manual searches and will not worry about frames. rdedirect and refreshes. roger facts invariably distort the truth
amoun Posted September 6, 2003 Posted September 6, 2003 Sorry for the double post. I think what you may be refering to is that tyhe address bar reflects changes as the user changes pages etc. Wihtout going into exact details. There are two ideas I have a) make a bit of javescript that says on click <addressbar.href="whatever"> and load that B) the other is to tell the browser not to update the address via any page changes. I'm sure you'll find a way. If I wasn't so tired I'd look into it more myself. Anyway for a rude boy like you this all the help you deserve right now :wink: roger facts invariably distort the truth
Recommended Posts
Archived
This topic is now archived and is closed to further replies.