Results 1 to 8 of 8
  1. #1
    DaftDog's Avatar
    DaftDog is offline Private Member
    Join Date
    October 2008
    Posts
    1,848
    Thanks
    507
    Thanked 634 Times in 361 Posts

    Default How to Block an Unwanted 301 Redirect from a Spammy Domain

    One of my new WP sites was hacked and coding with a specific domain was added to various sections in the database. I deleted the entire site and built it up again from scratch. The site is now secure, however the domain that was added to my database has a 301 redirect to my site.

    Is there a way to determine the IP address of this domain as normal methods don't reveal it?
    Is there another way to block this redirect?

  2. #2
    Michael Martinez is offline Public Member
    Join Date
    March 2017
    Location
    USA
    Posts
    62
    Thanks
    6
    Thanked 36 Times in 25 Posts

    Default

    It sounds to me like you only need to disavow the domain redirecting to your site.

    If you don't want visitors who click on that domain being redirected to your site, you may be able to set up a conditional redirect (based on HTTP_REFERER) to send them elsewhere (like example-dot-com) in your Web configuration file. That would be ".htaccess" on an Apache server.

  3. The Following User Says Thank You to Michael Martinez For This Useful Post:

    DaftDog (15 December 2020)

  4. #3
    mickyfu is offline Public Member
    Join Date
    February 2013
    Posts
    478
    Thanks
    76
    Thanked 347 Times in 211 Posts

    Default

    Are we talking about domain.com straight up 301 to your site, as you would make via Godaddy? If so I'd report it to the registrar for domain abuse and ask them to remove it.

  5. The Following User Says Thank You to mickyfu For This Useful Post:

    DaftDog (15 December 2020)

  6. #4
    universal4's Avatar
    universal4 is offline Forum Administrator
    Join Date
    July 2003
    Location
    Courage is being scared to death...and saddling up anyway. John Wayne
    Posts
    27,199
    Thanks
    1,963
    Thanked 7,749 Times in 4,886 Posts

    Default

    Daftdog, I sent a pm giving a few suggestions.

    Rick
    Universal4

  7. The Following User Says Thank You to universal4 For This Useful Post:

    DaftDog (15 December 2020)

  8. #5
    DaftDog's Avatar
    DaftDog is offline Private Member
    Join Date
    October 2008
    Posts
    1,848
    Thanks
    507
    Thanked 634 Times in 361 Posts

    Default

    Quote Originally Posted by Michael Martinez View Post
    It sounds to me like you only need to disavow the domain redirecting to your site.

    If you don't want visitors who click on that domain being redirected to your site, you may be able to set up a conditional redirect (based on HTTP_REFERER) to send them elsewhere (like example-dot-com) in your Web configuration file. That would be ".htaccess" on an Apache server.
    Thanks for the info. The domain disavow was one of the first things I did and I have tried the various conditional redirects but none worked.
    Last edited by DaftDog; 15 December 2020 at 2:49 am.

  9. #6
    DaftDog's Avatar
    DaftDog is offline Private Member
    Join Date
    October 2008
    Posts
    1,848
    Thanks
    507
    Thanked 634 Times in 361 Posts

    Default

    Quote Originally Posted by mickyfu View Post
    Are we talking about domain.com straight up 301 to your site, as you would make via Godaddy? If so I'd report it to the registrar for domain abuse and ask them to remove it.
    Yep, it's a straight up 301 domain redirect. I have been in contact with the registrar and when I checked this morning it appears the account has been taken down but no reply to my email yet.

  10. The Following User Says Thank You to DaftDog For This Useful Post:

    PromoteCasino (15 December 2020)

  11. #7
    DaftDog's Avatar
    DaftDog is offline Private Member
    Join Date
    October 2008
    Posts
    1,848
    Thanks
    507
    Thanked 634 Times in 361 Posts

    Default

    Quote Originally Posted by universal4 View Post
    Daftdog, I sent a pm giving a few suggestions.

    Rick
    Universal4
    Thanks Rick, I've replied to your pm.

  12. #8
    Casino Gamerz is offline Public Member
    Join Date
    July 2020
    Location
    UK
    Posts
    133
    Thanks
    15
    Thanked 21 Times in 15 Posts

    Default

    There is a really good plugin for this that allows you to just copy the bad links in your dashboard and it submits them for you. its called spam referrer.
    Quality Casinos - Casino FAQs
    USA Casinos - Best USA Casinos
    Best Online Casinos - Best Online UK

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •