How can i redirect a not working url or removing the indexing of the url from google search console

430 Views Asked by At

How can i remove the indexing of the url from google search, I have this url, and we need to remove it because it does not work well.

This is the url - https://www.avon.com.gt/cam-home?curnav=Cuidado%20Personal

When im trying to redirect this url it is saying invalid url(because the link has one space between Cuidado and Personal). If you can help with how can i redirect this url from apache web server configuration, will help me a lot.

I think the meta tag in this case not is the solution because the meta tag would have to be put in the home. If I do this google no indexing anymore the home.

Maybe Google search console but i think it will do only temporary.

Thanks you so much for your help.

1

There are 1 best solutions below

11
On

You can request from google that they remove one or more web pages from the search console. Your web page is https://www.avon.com.gt/cam-home, you do not include query parameters appended on to the end of the URL.

Find the page in Google Search Console click Google Index > Remove URLs.

In can then take google several days to action your request.

You do not seem that experienced so if you want to re-direct to another webpage while you are waiting for google to action your request just add some javascript to the page something like this...

<script>
window.location.href = 'http://www.youtube.com'; 
</script>

If you are feeling more adventurous you can have apache re-write the url on the fly to direct people to your new page, something like this...

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{HTTP_HOST} ^avon.com [NC]
RewriteCond %{REQUEST_URI} cam-home [NC]
RewriteRule ^(.*)/+$ /new-page