If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Login and Checkout Links not working

Login and Checkout Links not working

Started by cinbou on 4 Dec 2012, 1:57 PM · Views: 897

Results 1 to 8 of 8
4 Dec 2012, 1:57 PM
#1
cinbou avatar

cinbou

New Zenner

Join Date:
Aug 2007
Posts:
91
Plugin Contributions:
0

Post #1 by cinbou

Hi,

I'm not sure exactly where this topic should go, so I am placing in General Questions. Please move if necessary.

I am having an issue with my login and checkout links. The site was recently restored from a backup and that is when the issue began. When I click on the login or checkout links/buttons from anywhere within my store, it redirects me back to my 'main shop' URL. I have no idea where to look to troubleshoot this. Help!

Thanks,
Cindy

4 Dec 2012, 2:33 PM
#2
stevesh avatar

stevesh

Black Belt

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

Post #2 by stevesh

A link to the site would help.

4 Dec 2012, 3:27 PM
#4
stevesh avatar

stevesh

Black Belt

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

Post #4 by stevesh

Do you have SSL enabled ?

4 Dec 2012, 3:30 PM
#5
cinbou avatar

cinbou

New Zenner

Join Date:
Aug 2007
Posts:
91
Plugin Contributions:
0

Post #5 by cinbou

Yes. I just checked the Config.php file. It is set to true and the https seems to be set properly to point to https://www.providencefirevideos.com. I also verified that my site https is working properly.

4 Dec 2012, 5:30 PM
#6
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Post #6 by lhungil

It looks like WordPress may be hijacking the URLs under /shop/. You may want to check your .htaccess file in the website root (or server config) to make sure URLS starting with /shop/ are excluded from rewriting by WordPress. You also may want to check /shop/.htaccess and make sure it is not doing anything out of the ordinary.

When the site was "restored" was it just the files? Just the database? Both? Is the same database used for both Zen Cart and WordPress?

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

4 Dec 2012, 6:56 PM
#7
cinbou avatar

cinbou

New Zenner

Join Date:
Aug 2007
Posts:
91
Plugin Contributions:
0

Post #7 by cinbou

ihungil,

Thanks. the issue was in my .htaccess file on the webroot. There was some left over WP Better Security plugin redirects in there. The better security plugin in was the whole reason for the site restore. It completely took down my site when I installed the latest version of WP.

I really appreciate your dedective work!

Cindy

4 Dec 2012, 7:15 PM
#8
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Post #8 by lhungil

Glad you were able to get everything sorted and thank you for reporting back the fix :)

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker