CampFireJack
Member
- Joined
- May 9, 2021
- Messages
- 118
- Reaction Score
- 1
- Points
- 16
- #1
I have a bunch of pages on my website that I no longer want to have indexed in Google. For a variety of reasons, I can't delete them. I no longer want them though and I fear that if I stop linking to them, they'll remain live pages, but orphan pages. What I'd really like to do is have these pages redirect to a single page that I recently created. This newly created page has PHP code on it that returns a 410 header. I'll keep all of these pages linked to, but once they're all out of the index, I'll remove the links. This is the only thing I think I can do to get rid of them. It's my CMS's fault, not mine.
Anyway, I can either write a 301 redirect in my .htaccess file or I can do it in Cloudflare. I think Cloudflare is easier, but I'm not sure how to go about it since I've never set anything up like that before. Can anyone offer any advice?
Anyway, I can either write a 301 redirect in my .htaccess file or I can do it in Cloudflare. I think Cloudflare is easier, but I'm not sure how to go about it since I've never set anything up like that before. Can anyone offer any advice?