If this is your first visit, check our documentation. To post, register or login.
Forums / Installing on a Linux/Unix Server / URL changes when using domain alias

URL changes when using domain alias

Started by biscayne on 27 Jun 2012, 10:53 AM · Views: 1,414

Results 1 to 3 of 3
27 Jun 2012, 10:53 AM
#1
biscayne avatar

biscayne

New Zenner

Join Date:
Oct 2006
Location:
the Netherlands
Posts:
32
Plugin Contributions:
0

URL changes when using domain alias

I have installed ZenCart on a server at my hosting provider
http://server2837.hostingcompany.nl
several aliases are set up for my ZenCart shop
when entering the aliasname in the browser it shows as:
http://www.myalias.nl but when I move to a page I see a URL starting with
http://server2837.hostingcompany.nl
This is not what I want, can I change it somewhere in the config ?

27 Jun 2012, 11:13 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: URL changes when using domain alias

Zen Cart builds all its URLs from the information you specify in your /includes/configure.php file.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

2 Jul 2012, 10:45 AM
#3
biscayne avatar

biscayne

New Zenner

Join Date:
Oct 2006
Location:
the Netherlands
Posts:
32
Plugin Contributions:
0

Re: URL changes when using domain alias

Thanks Dr Byte, I got confused after the main domain at a webhost expired and at the same time I did an upgrade of ZenCart,
must have changed the configure.php by upgrading. Thanks again.