2023-09-29, 16:59:02
I don't believe GS provides a native solution for this issue, at least not that I'm aware of. But seriously, why would the Google Search Engine bother visiting a URL like this `http://gs1000.showme.zone/this/URL/is/invalid/article-029/` when it's not listed anywhere?
Anyway, you still have the option to create your own solution. You could use a filter, like "data_index":
Anyway, you still have the option to create your own solution. You could use a filter, like "data_index":
PHP Code:
add_filter('data_index', function($data) {
// your routing logic
});