X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   I want to make Browser address bar less revealing (https://forum.x-cart.com/showthread.php?t=11652)

manager 01-22-2005 11:07 AM

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/

markwhoo 01-22-2005 11:41 AM

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.

manager 01-22-2005 12:23 PM

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

cotc2001 01-22-2005 12:30 PM

remeber that you will see it in the status bar though

manager 01-22-2005 12:41 PM

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 :lol:

cotc2001 01-22-2005 01:19 PM

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 :lol:


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=


All times are GMT -8. The time now is 03:16 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.