Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How I can keep the webpage address fixed?


capsulas

Recommended Posts

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>

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...