In Google Search Console, I am getting 15-20 all different URLs in 404 section which is not in proper format(this URL is too old around 6-7 years and there is no 'Linked from' for this URLs). I want them to redirect to current URL(proper URL which is currently live).
Now one way is to use .htaccess, but the problem with this approach once this URLs crawl by google, a rule is no use(it will just occupy space and will execute(just as check whether rule matches or not) for a genuine request which we want to avoid).
Another approach is to redirect it from server side code.(which also we don't want as we have to write logic for all these different URLs).
So I just want to is there any available tool for redirecting this type of URL direct using Google Search Console (i.e., is there any URL removal tool)?
Url in webmaster | Redirect URL(new url) ----------------------------|------------------------- 1) www.xxx.xxx/bmw-c/ | www.xxx.xxx/bmw-cars/ 2) www.xxx.xxx/bmw-car/ | www.xxx.xxx/bmw-car/ 3) www.xxx.xxx/hyundai/ | www.xxx.xxx/hyundai-cars/ 4) www.xxx.xxx/audi-a8/ | www.xxx.xxx/audi-a8-cars/ 5) www.xxx.xxx/bmw-car-in/ | www.xxx.xxx/bmw-cars/
please note that this just example to show how URL we are getting in webmaster. for this type of URL we just want something that we add new URL and google start redirecting this old URL to new URL. (not .htaccess)
So is there any tool for 301-redirect in webmaster(like URL removal tool)?
.htaccess. Specifically, only execute the redirect logic when you have already deemed that the request would otherwise result in a 404.