google-indexing-script icon indicating copy to clipboard operation
google-indexing-script copied to clipboard

Forced reindex command

Open phenomen opened this issue 1 year ago • 4 comments

On some websites I manage there are pages that are changing rather frequently. It would be great if there was some command that forces indexing of selected page i.e. npm run reindex <url> even if this page is already known and indexed. While I can do that directly from Search Console, it's very slow.

phenomen avatar Jan 25 '24 16:01 phenomen

@phenomen agreed, would be nice to have command to reindex.

khyamay avatar Jan 26 '24 18:01 khyamay

I will soon add this feature 😉

antoinekm avatar Mar 06 '24 17:03 antoinekm

I haven't forgotten, it's just that it's a bit more complicated than I thought, because we've totally changed our vision, since we've got the CLI, the command would be gis --urls=https://domain.com/page1,https://domain.com/page2 ? I'm a bit out of ideas...

antoinekm avatar Mar 25 '24 14:03 antoinekm

I haven't forgotten, it's just that it's a bit more complicated than I thought, because we've totally changed our vision, since we've got the CLI, the command would be gis --urls=https://domain.com/page1,https://domain.com/page2 ? I'm a bit out of ideas...

It would be fine I guess. To make it a bit shorter, you can also use --domain=https://domain.com --url=/page1,/page2,/page3/subpath1

phenomen avatar Mar 25 '24 14:03 phenomen

Done in #65

antoinekm avatar Jun 29 '24 11:06 antoinekm