Forums / Basic Configuration / Prevent absolute path from showing in url.

Prevent absolute path from showing in url.

Views: 2,245

Results 1 to 4 of 4
27 Oct 2011, 8:16 AM
#1
bx32 avatar

bx32

New Zenner

Join Date:
Jul 2011
Posts:
18
Plugin Contributions:
0

Prevent absolute path from showing in url.

How do I prevent the absolute path from showing in url with my account name. I prefer not to show my account name to the world. Instead of xxxxxxx.com/index.html the url will display xxxxxxx.com/account_name/zencart/index.html.

Do I change it in the configure.php?

27 Oct 2011, 10:26 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Prevent absolute path from showing in url.

Do you own xxxxxx.com, or are you hosted in someone else's account ?

27 Oct 2011, 2:58 PM
#3
bx32 avatar

bx32

New Zenner

Join Date:
Jul 2011
Posts:
18
Plugin Contributions:
0

Re: Prevent absolute path from showing in url.

Yes, I own xxxxxx.com

27 Oct 2011, 3:32 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Prevent absolute path from showing in url.

Then just move your store into the root of your site, bypassing the /account_name and the /zencart.

https://www.zen-cart.com/tutorials/index.php?article=122