Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

How To Remove All Pages With a Suffix

         

Seologist

11:50 am on Jun 16, 2020 (gmt 0)

5+ Year Member



Hello everyone,

Is there a way to remove all pages from Google with a certain suffix, with URL removal tool?

For example, I have these URLs that are indexed:
https://www.example.com/abc-hotel-inactive
https://www.example.com/xyz-hotel-inactive

I want to remove all url's that have the suffix "inactive".
I have more than 1000 urls like this that are indexed so I can't remove them one by one.

Thanks in advance for any help.

JorgeV

12:03 pm on Jun 16, 2020 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month



Hello,

Quick answer "no". If they have been all, and only them, in a given folder, then "yes".

You can serve 404 (or 410) code for these pages, and they will progressively be removed from the SERP, as Googlebot will crawl them. Since they are certainly not linked from other pages, it might take a while, before Googlebot revisit them.

Seologist

12:17 pm on Jun 16, 2020 (gmt 0)

5+ Year Member



Thanks for your reply JorgeV. Just to clarify: If the urls would be like this: https://www.example.com/abc-hotel/inactive I could remove them, but with this url structure: https://www.example.com/abc-hotel-inactive I can remove them? Is it correct?

I asked the devs to either put noindex meta directive to them or serve 404 but they didn't make it unfortunately so I thought maybe I could do it through url removal tool.

JorgeV

12:25 pm on Jun 16, 2020 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month



About the folder comment, it should have been :

https://www.example.com/inactive/abc-hotel

With the GSC, you can remove the "folder" named "inactive" and its content.

If the page are inactives, you'd better simply delete them from your site, (or database).

Seologist

12:38 pm on Jun 16, 2020 (gmt 0)

5+ Year Member



Thank you so much JorgeV.