Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.

URL change

Started by anmldr on 22 Feb 2011, 7:06 PM · Views: 868

Results 1 to 6 of 6
22 Feb 2011, 7:06 PM
#1
anmldr avatar

anmldr

New Zenner

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

Post #1 by anmldr

On my website, I have the index.html (of course) in the root directory. I have it forward to the zen cart directory. How do I change the address that is displayed in the address bar (URL) to reflect the name of my site?

I had the site live on another website host while I was setting up Zen Cart on the new site. I have now changed the DNS to point to the host that I am using.

When someone clicks on a category, it links (now) to an address in the format of 123.46.789.12/~aName/theCart

I want it instead to have the URL of http://www.mysite.com/theCart

ZC 1.3.9h

Linda

22 Feb 2011, 7:12 PM
#2
drbyte avatar

drbyte

Sensei

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

Post #2 by drbyte

Change the URL in your HTTP_SERVER and HTTPS_SERVER settings in your two configure.php files.

.
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.

30 Nov 2012, 4:47 PM
#3
janiceguazzo avatar

janiceguazzo

New Zenner

Join Date:
Oct 2012
Posts:
2
Plugin Contributions:
0

Post #3 by janiceguazzo

DrByte:

Change the URL in your HTTP_SERVER and HTTPS_SERVER settings in your two configure.php files.

I did this and it isn't working.
http://www.poshboutiquenj.com/

1 Dec 2012, 8:10 AM
#4
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #4 by rodg

janiceguazzo:

I did this and it isn't working.
http://www.poshboutiquenj.com/

Change it again, but this time make sure that the files are writable before saving the changes. (change them back afterwards)

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

2 Dec 2012, 5:32 PM
#5
madbynature avatar

madbynature

New Zenner

Join Date:
Nov 2012
Location:
Suffolk, Uk
Posts:
16
Plugin Contributions:
0

Post #5 by madbynature

Hi just wondering how i can change the address of the store pages they are currently showing like http://www.mydomain.co.uk/index.php?main_page=index&cPath=15 and i would liketo tidy them up. I am used to HTML and this is my first venture into php. Thanks in advance

2 Dec 2012, 5:38 PM
#6
stevesh avatar

stevesh

Black Belt

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

Post #6 by stevesh

Please start a new thread to ask an unrelated question.

If you really want to rewrite your URLs, you'll need this:

http://www.zen-cart.com/downloads.php?do=file&id=889