Redirect a subdomain under attack from spam backlink campaign

My website has been under attack from a spam backlink campaign from a competitor that has been crippling our organic visibility and search results rankings.

The spammy backlinks are always pointing to domains like this:
blog [dot] velocity23 [dot] com/?url= 098cc52 [dot] blogspot [dot] com/

So these links always show up as a 404 error.

What I’m wanting to do is set up a wildcard Page Rule that will 301 redirect anything coming from…
blog [dot] velocity23 [dot] com/?url=*

… to…
blog [dot] velocity23 [dot] com/blog/

I’ve set a page rule exactly like that but it’s still going to our 404 page and not to our blog listing page like I want.

What am I doing wrong with my wildcard rule?

Welcome to the community!

I’ve tried a similar setup in a domain I own, and I can’t replicate your issue. However, after digging a bit with your website, I obtained the following results:

; <<>> DiG 9.16.27 <<>> @162.159.36.1 blog.velocity23.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19235
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;blog.velocity23.com.           IN      A

;; ANSWER SECTION:
blog.velocity23.com.    300     IN      CNAME   346889.group39.sites.hubspot.net.
346889.group39.sites.hubspot.net. 120 IN CNAME  group39.sites.hscoscdn30.net.
group39.sites.hscoscdn30.net. 300 IN    A       199.60.103.29
group39.sites.hscoscdn30.net. 300 IN    A       199.60.103.227

;; Query time: 196 msec
;; SERVER: 162.159.36.1#53(162.159.36.1)
;; WHEN: Sat Sep 10 02:28:07 CEST 2022
;; MSG SIZE  rcvd: 165

Based on your setup, you won’t be able to use Cloudflare at all for your subdomain blog.velocity23.com. Instead, you point (CNAME) your domain to Hubspot’s Cloudflare for SaaS instance, which manages and protects your blog.

I’ve never used Hubspot, but this page may be useful for you:

Hope it helps!

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.