Results 1 to 8 of 8
  1. #1
    DaftDog's Avatar
    DaftDog is offline Private Member
    Join Date
    October 2008
    Location
    RSA
    Posts
    1,938
    Thanks
    583
    Thanked 676 Times in 395 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
    76
    Thanks
    9
    Thanked 52 Times in 30 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 online now Public Member
    Join Date
    February 2013
    Posts
    613
    Thanks
    91
    Thanked 429 Times in 257 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 online now Forum Administrator
    Join Date
    July 2003
    Location
    Courage is being scared to death...and saddling up anyway. John Wayne
    Posts
    29,276
    Thanks
    2,585
    Thanked 8,206 Times in 5,201 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
    Location
    RSA
    Posts
    1,938
    Thanks
    583
    Thanked 676 Times in 395 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 1:49 am.

  9. #6
    DaftDog's Avatar
    DaftDog is offline Private Member
    Join Date
    October 2008
    Location
    RSA
    Posts
    1,938
    Thanks
    583
    Thanked 676 Times in 395 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
    Location
    RSA
    Posts
    1,938
    Thanks
    583
    Thanked 676 Times in 395 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
    144
    Thanks
    15
    Thanked 23 Times in 17 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
    Best 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
  •