urls to old delected categories and pictures still reachable

Phoca Gallery - image gallery extension
sandy v
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 17 Feb 2014, 21:04

urls to old delected categories and pictures still reachable

Post by sandy v »

Dear,

I've had some pictures removed from my phocagallery and uploaded new ones.
The problem is that google bots are still reaching that old pages.
For example:

I removed the image 'sandy verfaile inksane an.jpg
But google still crawls:'
inksane.be/gallery/6-sandy/detail/352-sandy-verfaile-inksane-an
When I now go to that url it says 'You are not authorized to do this action Please login.'

Do you have any idea where there's a place where links old removed images are still being generated?
(this url inksane.be/gallery/6-sandy/detail/352-sandy-verfaile-inksane-an is something i found in google webmaster tools, i don't know how to acces it on my frontend as a user)



This is how google fetches that page:

HTTP/1.1 200 OK
Server: Apache
X-Powered-By: PHP/5.3.28
Set-Cookie: 21bb84905acc5cd55639ff307d20c110=ikoh6gg96bp2ta04k55c58b894; path=/
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Type: text/html
Content-Length: 192
Accept-Ranges: bytes
Date: Mon, 24 Mar 2014 17:58:50 GMT
X-Varnish: 2501300179
Age: 0
Via: 1.1 varnish
Connection: keep-alive

<div style="font-family:sans-serif"><div>You are not authorized to do this action Please login.</div><div>&nbsp;</div><div><a href="javascript:void(0);" onclick="window.parent.SqueezeBox.close();" >Close Window</a></div></div>


Thank you,
sandy v
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 17 Feb 2014, 21:04

Re: urls to old delected categories and pictures still reach

Post by sandy v »

Also, apparently every ..gallery/category/wrontimagename results in that same page.
Is there a way to return a 404 error instead? so google bots can now this doesn't exist (anymore) and they shouldn't crawl it..?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: urls to old delected categories and pictures still reach

Post by Jan »

Hi, I think, this you can set somehow in webmaster tool in Google account, and if you want to set 404, this needs to be customized in your Joomla! or to directly change the code of category view. And somehow differentiate between category which does not exist and which is not accessible.

Jan
If you find Phoca extensions useful, please support the project
Post Reply