Jump to content

Recommended Posts

When I was testing a revamped site, a lot of the URLs were

 

product.php?title=xxxx

 

which Google already indexed. Now, the variable (title=xxxx) have changed to (somethingelse=xxxx), if I try to Remove URLs (all links with title=xxxx) within Google, it is denied because they are still working links, where the page's php script will display it's own generic message and NOT as "Page not found".

 

How to remove the URLs from Google's index?

Link to comment
https://forums.phpfreaks.com/topic/129785-solved-how-to-remove-url-from-google/
Share on other sites

The problem was that google indexed a bunch of links that has properties and values in the url, that points to a php file, which the site has changed those values to something else, but the php filename has not change, google will not know that they should be removed from their index. I got it taken cared of by throwing in a header 404 if the properties are not correct.

The problem was that google indexed a bunch of links that has properties and values in the url, that points to a php file, which the site has changed those values to something else, but the php filename has not change, google will not know that they should be removed from their index. I got it taken cared of by throwing in a header 404 if the properties are not correct.

 

I see.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.