Jump to content

SOLVED Deleting items from store and removing URL


Recommended Posts

Hi

I am probably being a bit dense here but.

When you delete an item from your shop, why does it keep showing up on Google webmaster tools as Crawl error . not found.

Is there something else I should do. I am showing 150 pages listed but only 51 indexed. I am getting things like

http://www.realfans.org.uk/product.php?id_product=76 as a 404 error. The same product is listed on my site as
http://www.realfans.org.uk/wimbledon-tennis/76-the-championships-wimbledon-2010.html. I do have canonical on.

can any one tell me how to sort this out. it is driving me nuts.

thanks in anticipation

Barry
PS I did post in General discussion as well but think it was wrong area. but cannot delete that either.

Link to comment
Share on other sites

Once a page is indexed Google will check it regularly even if you delete the page. It will take some time for Google to drop the page.
You can do a 301 redirect in the htaccess file, it is a permanent redirect. Just Google it.

Link to comment
Share on other sites

Having googled it I am more confused than ever.

I found this instruction for PHP 301 direct.

It says just add this code to your page or script.

<?
header( "HTTP/1.1 301 Moved Permanently" );
header( "Status: 301 Moved Permanently" );
header( "Location: http://www.new-url.com/" );
exit(0); // This is Optional but suggested, to avoid any accidental output
?>

Now I probaly have about 50 pages I might need to 301 redirect.
Does it mean I have to go into each page in my cpanel file manager that I want to 301 redirect and paste the script. If that is the case how do I find the pages in my files. what folder will they be in?

Barry

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...