Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

I want to make Browser address bar less revealing

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-22-2005, 11:07 AM
 
manager manager is offline
 

Member
  
Join Date: Jul 2003
Posts: 16
 

Default I want to make Browser address bar less revealing

By default , if a customer is on an x-cart shop they will see the following in their browser address bar (IE6)

your_domain.com/Your_ XCARTdir/home.php?cat=14 (for example)

The above format may encourage people to try to run their own queries methinks. Because the category IDs and product IDs are numeric.

Can anyone kindly give some pointers on how to just show as follows:

your_domain.com/Your_ XCARTdir/
__________________
Regards Trev

x-cart gold version 4.0.10

It\'s nice to be important, but it\'s more important to be nice ! (Scooter circa 92)
Reply With Quote
  #2  
Old 01-22-2005, 11:41 AM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default Re: I want to make Browser address bar less revealing

Quote:
Originally Posted by manager
By default , if a customer is on an x-cart shop they will see the following in their browser address bar (IE6)

your_domain.com/Your_ XCARTdir/home.php?cat=14 (for example)

The above format may encourage people to try to run their own queries methinks. Because the category IDs and product IDs are numeric.

Can anyone kindly give some pointers on how to just show as follows:

your_domain.com/Your_ XCARTdir/

I know some of the domain name sales co's may allow you to maks a domain name.

For example, GoDaddy will allow you to purchase a domain and forward mask it to another. I have www.mystore.com it points to domain at hosting company location, I also have www.mymegastore.com and it is forward masked to the www.mystore.com.

all you will ever see is www.mymegastore.com, never any other file structure. Now submission engines may not like this, so it is not a preferred use. Other ways of doing this could be via script that can mask a url file structure. these scripts (don't have one handy) can be found at places like hotscripts.com or javascripts,com etc.
__________________
vs 4.1.12
Reply With Quote
  #3  
Old 01-22-2005, 12:23 PM
 
manager manager is offline
 

Member
  
Join Date: Jul 2003
Posts: 16
 

Default

Howdy markwhoo, thanks for your reply,

Consider the example below:

I create a folder called shop

I create 2 files in the shop folder: One called index.php the other called home.php

I insert the following code into the index.php file: (this code and nothing else)
<? header("Location: home.php"); ?>

if I enter www.mydomain.com/shop/

it will show www.mydomain.com/shop/ in the browser address bar but the contents of home.php will be displayed.

I was looking for something along theses lines or maybe using htaccess
__________________
Regards Trev

x-cart gold version 4.0.10

It\'s nice to be important, but it\'s more important to be nice ! (Scooter circa 92)
Reply With Quote
  #4  
Old 01-22-2005, 12:30 PM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

remeber that you will see it in the status bar though
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #5  
Old 01-22-2005, 12:41 PM
 
manager manager is offline
 

Member
  
Join Date: Jul 2003
Posts: 16
 

Default

cotc2001 - Many thanks for pointing that out comrade,

I may be wrong but I think the status bar can be disabled via .htaccess

Checked out yer site, it's amazing ! (From a designers prospective I hasten to add) , I had to wait 2 minutes whilst my wife oogled your site
__________________
Regards Trev

x-cart gold version 4.0.10

It\'s nice to be important, but it\'s more important to be nice ! (Scooter circa 92)
Reply With Quote
  #6  
Old 01-22-2005, 01:19 PM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

Quote:
Originally Posted by manager
Checked out yer site, it's amazing ! (From a designers prospective I hasten to add) , I had to wait 2 minutes whilst my wife oogled your site

Funny that.... i get that reaction a lot for the ladies.

this thread I started might be of use to you.
http://forum.x-cart.com/viewtopic.php?t=15878&highlight=
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:10 AM.

   

 
X-Cart forums © 2001-2020