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 <<>> @
; (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

; EDNS: version: 0, flags:; udp: 1232
;           IN      A

;; ANSWER SECTION:    300     IN      CNAME 120 IN CNAME 300 IN    A 300 IN    A

;; Query time: 196 msec
;; 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 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.