Forums / General Questions / Can Zen Cart Block traffic from Site X?

Can Zen Cart Block traffic from Site X?

Locked

Started by keltin on 14 Oct 2009, 12:10 AM · Views: 854

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
14 Oct 2009, 12:10 AM
#1
keltin avatar

keltin

New Zenner

Join Date:
Oct 2009
Posts:
3
Plugin Contributions:
0

Can Zen Cart Block traffic from Site X?

I am working as the main tech on a friend's site.

Recently, they had a falling out with a person who went over their head to register a separate domain and forward it to their site.

They are wondering -- is there a way in Zen Cart to block any traffic from this website URL?

I am wondering -- is there a way to see what sites the traffic is coming from?

14 Oct 2009, 3:58 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Can Zen Cart Block traffic from Site X?

They are wondering -- is there a way in Zen Cart to block any traffic from this website URL?
Not from within ZenCartYou will need to consult with your host or the tools they provide

Zen-Venom Get Bitten

14 Oct 2009, 7:14 AM
#3
tino_schlegel avatar

tino_schlegel

Totally Zenned

Join Date:
Nov 2007
Location:
Melbourne, Australia
Posts:
532
Plugin Contributions:
0

Re: Can Zen Cart Block traffic from Site X?

You can restrict this in .htaccess file

Add the ip addresses and/or the hostnames to your .htaccess file in the zencart root

Order Allow,Deny
Deny from 192.168.0.1
Deny from example.com
Allow from all