Himadri Goswami Posted May 1, 2016 Share Posted May 1, 2016 I am running a medical site with IPB. However google was indexing all the profile photos. Then I moved all the profile photos to uploads/profiles folder and added noindex for images in the robots.txt. That removed most of the images from google. But not all. IPB staff advises to add noindex to all upload folder, while doing that will remove lots of images that bring traffic to my site. Please advise me an effective way to do that. Link to comment Share on other sites More sharing options...
Nathan Explosion Posted May 1, 2016 Share Posted May 1, 2016 Help if you could provide: link to an example profile that has got a photo that is hidden. link to an example profile that has got a photo that isn't hidden. The actual entries you have in the robots.txt file. Link to comment Share on other sites More sharing options...
Himadri Goswami Posted May 1, 2016 Author Share Posted May 1, 2016 @Nathan Explosion Thanks for reply. None of my profiles are hidden. Is it required to keep hidden to avoid indexing? link to profile which is not hidden and indexed by google image http://thedoc.org/profile/124-abu-hasan/ robots text entries: User-agent: * Disallow: /admin/ Disallow: /cache/ Disallow: /converge_local/ Disallow: /hooks/ Disallow: /messenger/ Disallow: /ips_kernel/ Disallow: /retail/ Disallow: /public/style_captcha/ Disallow: /index.php?&unlockUserAgent=1 Disallow: /index.php?app=core&module=task Disallow: /index.php?app=core&module=usercp&tab=forums&area=forumsubs Disallow: /index.php?app=core&module=usercp&tab=forums&area=watch&watch=topic Disallow: /index.php?app=forums&module=extras§ion=forward Disallow: /index.php?app=members&module=messaging Disallow: /index.php?app=members&module=chat Disallow: /index.php?app=members&module=search Disallow: /index.php?app=members&module=search&do=active Disallow: /index.php?app=members§ion=friends Disallow: /index.php?app=core&module=reports Disallow: /index.php?app=core&module=global§ion=login&do=deleteCookies Disallow: /index.php?app=core&module=global§ion=reputation Disallow: /index.php?app=blog&module=actions§ion=report Disallow: /index.php?app=forums&module=extras§ion=rating Disallow: /index.php?app=forums&module=forums§ion=markasread Disallow: /*app=core&module=usercp Disallow: /*app=core&module=usercp Disallow: /*app=members&module=messaging Disallow: /*&p= Disallow: /*&pid= Disallow: /*&hl= Disallow: /*&start= Disallow: /*view__getnewpost$ Disallow: /*view__getlastpost$ Disallow: /*view__old$ Disallow: /*view__new$ Disallow: /*view__getfirst$ Disallow: /*view__getprevious$ Disallow: /*view__getnext$ Disallow: /*view__getlast$ Disallow: /*&view=getnewpost$ Disallow: /*&view=getlastpost$ Disallow: /*&view=old$ Disallow: /*&view=new$ Disallow: /*&view=getfirst$ Disallow: /*&view=getprevious$ Disallow: /*&view=getnext$ Disallow: /*&view=getlast$ Disallow: /*?s= Disallow: /*&s= User-agent: Googlebot-Image Disallow: /profiles/ Disallow: /emoticons/ Link to comment Share on other sites More sharing options...
Nathan Explosion Posted May 1, 2016 Share Posted May 1, 2016 8 minutes ago, Himadri Goswami said: @Nathan Explosion Thanks for reply. None of my profiles are hidden. Is it required to keep hidden to avoid indexing? A profile whose image is hidden from Google (i.e. not indexed) Also, where is the line in the robots.txt that is disallowing the images in /uploads/profiles? You've got Disallow: /profiles/ Link to comment Share on other sites More sharing options...
Himadri Goswami Posted May 1, 2016 Author Share Posted May 1, 2016 ok here is one http://thedoc.org/profile/94-badshah-ajb/ @Nathan Explosion Link to comment Share on other sites More sharing options...
Himadri Goswami Posted May 1, 2016 Author Share Posted May 1, 2016 33 minutes ago, Nathan Explosion said: A profile whose image is hidden from Google (i.e. not indexed) Also, where is the line in the robots.txt that is disallowing the images in /uploads/profiles? You've got Disallow: /profiles/ No, i have only added Disallow: /profiles/ only Link to comment Share on other sites More sharing options...
Nathan Explosion Posted May 1, 2016 Share Posted May 1, 2016 Then, if you haven't already done it since last post, update the robots.txt to disallow /uploads/profiles as that is where the files are. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.