homepage Welcome to WebmasterWorld Guest from 54.205.207.53
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
possible to redirect ONLY www.mysite.com/ ?
coachm

5+ Year Member



 
Msg#: 4579038 posted 2:27 pm on May 29, 2013 (gmt 0)

I'm getting hit by some pay for click scheme in India, and I've tried various methods of blocking, including using Incredibill's geo generator, banning specific IP addresses and referrer banning...

For some reason, I can't get any of those to work.

There is a single landing page being used: http://www.mysite.com/

Is there any way to redirect ONLY the www version?

So, in other words, I'd like to shunt off the traffic if it lands on www.mysite.com but accept the traffic if it lands on mysite.com

Also, I've used the IP banning in the .htaccess file in my www directory, but I'm wondering if it should be in the .htaccess file one step higher.

[edited by: phranque at 6:27 pm (utc) on May 29, 2013]
[edit reason] unlinked url [/edit]

 

lucy24

WebmasterWorld Senior Member lucy24 us a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



 
Msg#: 4579038 posted 7:09 pm on May 29, 2013 (gmt 0)

It's hard to answer a question without information. What have you tried so far?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved