Forums / General Questions / how to change my url?

how to change my url?

Started by dadaveda on 5 Feb 2011, 4:51 AM · Views: 451

Results 1 to 2 of 2
5 Feb 2011, 4:51 AM
#1
dadaveda avatar

dadaveda

New Zenner

Join Date:
Feb 2011
Posts:
1
Plugin Contributions:
0

how to change my url?

I have zen cart installed as follows: http://mysite.com/cart . I would prefer it to be http://www.mysite.com/cart . Is it possible to change it now. I have already added more than 100 products and the site is in operation and I don't want to do everything over again.

One of the reasons I want to change is that when I go into the awstats to look at the traffic for https://www.mysite.com the cart pages are not shown. I also used an xml sitemap generator and when it came to the cart pages it considered it to be another url.

Any information on how to proceed will be appreciated.

5 Feb 2011, 5:06 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: how to change my url?

Just change the URL for HTTP_SERVER and HTTPS_SERVER inside 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.