If this is your first visit, check our documentation. To post, register or login.
Forums / Installing on a Linux/Unix Server / Wrong URL after transfer

Wrong URL after transfer

Started by john1983 on 19 Mar 2012, 5:05 PM · Views: 1,327

Results 1 to 6 of 6
19 Mar 2012, 5:05 PM
#1
john1983 avatar

john1983

New Zenner

Join Date:
Mar 2012
Posts:
3
Plugin Contributions:
0

Wrong URL after transfer

Hello,

I thought I had transferred my site to another hosting successfully. Though now I see that all Order Now buttons are linked to unknown URL (while all other site pages are working fine).

Ex, my site url is https://www.site.com , order now buttons should be linked to https://www.site.com/?products_id=5192&action=buy_now , though they are linked to unknown IP address: http://100.63.76.238/?products_id=5162&action=buy_now

Where can I change this? Thank you.

19 Mar 2012, 5:18 PM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Wrong URL after transfer

Did you edit the paths in both configure.php files ?

19 Mar 2012, 6:05 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: Wrong URL after transfer

The correct instructions for transferring are: https://www.zen-cart.com/tutorials/index.php?article=100
Looks like you've got an IP address in your HTTP_SERVER settings instead of properly having a domain name.

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

20 Mar 2012, 11:45 AM
#4
john1983 avatar

john1983

New Zenner

Join Date:
Mar 2012
Posts:
3
Plugin Contributions:
0

Re: Wrong URL after transfer

I checked both conf files and they are good.

The site was transferred to a temp domain, so I'm using IP address as HTTP_SERVER, but my ip is not what I see as a link in the Order Now buttons.

I searched for the "new" address in the database, it isn't there...

21 Mar 2012, 11:11 AM
#5
john1983 avatar

john1983

New Zenner

Join Date:
Mar 2012
Posts:
3
Plugin Contributions:
0

Re: Wrong URL after transfer

Any ideas???

21 Mar 2012, 9:32 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: Wrong URL after transfer

If an IP address is showing up anywhere, it's because you put it there.
You'll need to find out what exactly you did.

A few tools may help:
http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues
https://www.zen-cart.com/tutorials/index.php?article=38
https://www.zen-cart.com/tutorials/index.php?article=39
... amongst others.

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