#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
Protect uploaded fi...
 
Share:
Share
Tweet
Share
Notifications
Clear all

Protect uploaded files from access through Google

    Last Post
RSS

Kusje erop
Posts: 8
 Kusje erop
Topic starter
January 3, 2019 1:45 pm
(@kusje-erop)
Active Member
Joined: 3 years ago

How do I prevent the uploaded files from being found on Google and accessed without being logged in? I just found out that even though I set the restrictions to only registered members to have access to the forum, you still could see some of the topics without being logged in. Which was weird in itself. But I managed to fix that by making the shortlink a restricted page in Wordpress. But now if I search for members of my organization in google, I can find an uploaded xls-file that contains everyone’s personal information. Without having access to the forum. Can anyone help me? 

This topic was modified 3 years ago 4 times by Kusje erop
8 Replies
Robert
Posts: 9090
Robert - Twitter
 Robert
Admin
January 3, 2019 3:51 pm
(@robert)
Support Team
Joined: 6 years ago

You can stop search engines indexing your attachments using a simple command in robots.txt file of your website root directory. Just put these links in the robots.txt file:

User-agent: *
Disallow: /wp-content/uploads/wpforo/default_attachments/
Disallow: /wp-content/uploads/wpforo/attachments/

More info in this article:

https://www.hostinger.com/tutorials/website/how-to-block-search-engines-using-robotstxt

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
2 Replies
Kusje erop
 Kusje erop
(@kusje-erop)
Joined: 3 years ago

Active Member
Posts: 8
January 3, 2019 4:53 pm
Reply toRobertRobert

Thank you for the reply. Can I stop search engines indexing the whole forum this way as well?

But I understand that, even if I use this solution, if you have the link you can still access it without being a member? That's what I find so strange. As it contains personal info like addresses and phone numbers I don't want anyone other than members to access it. 

This post was modified 3 years ago 2 times by Kusje erop
Reply
Robert
 Robert
Admin
(@robert)
Joined: 6 years ago

Support Team
Posts: 9090
Robert - Twitter
January 4, 2019 6:34 am
Reply toKusje eropKusje erop
Robert
Posted by: Kusje erop

Thank you for the reply. Can I stop search engines indexing the whole forum this way as well?

Yes, you can.

But I understand that, even if I use this solution, if you have the link you can still access it without being a member? That's what I find so strange. As it contains personal info like addresses and phone numbers I don't want anyone other than members to access it. 

Please show one example of private topic that can be accessible for guests. There is no way to access to well configured private topics, or topics of private forums.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
Kusje erop
Posts: 8
 Kusje erop
Topic starter
January 3, 2019 5:34 pm
(@kusje-erop)
Active Member
Joined: 3 years ago

So I tried the stop indexing thing, created a robots.txt with the code in it. But it stills shows up in Google. I deleted my cookies, thinking that might be the thing that made it still show up, and even used another browser, but it's still there... 

Reply
1 Reply
Robert
 Robert
Admin
(@robert)
Joined: 6 years ago

Support Team
Posts: 9090
Robert - Twitter
January 4, 2019 6:36 am
Reply toKusje eropKusje erop
Posted by: Kusje erop

So I tried the stop indexing thing, created a robots.txt with the code in it. But it stills shows up in Google. I deleted my cookies, thinking that might be the thing that made it still show up, and even used another browser, but it's still there... 

Google is not interactive. Images are not removed live-time (real-time). You should request google to remove them or wait for a while.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
Kusje erop
Posts: 8
 Kusje erop
Topic starter
January 3, 2019 9:10 pm
(@kusje-erop)
Active Member
Joined: 3 years ago

I removed the files that showed up in Google and sent a request for removal, as it can't be accessed by clicking it, but is still viewable in the cache. Only thing that still won't work is removing it from the Google Search. 

But the fact remains that if I have the link to a file on the forum, I can get access to it, even when I'm not logged in.

This post was modified 3 years ago 2 times by Kusje erop
Reply
1 Reply
Robert
 Robert
Admin
(@robert)
Joined: 6 years ago

Support Team
Posts: 9090
Robert - Twitter
January 4, 2019 6:36 am
Reply toKusje eropKusje erop
Posted by: Kusje erop

But the fact remains that if I have the link to a file on the forum, I can get access to it, even when I'm not logged in.

Nobody knows the name of your attachments. It's not an easy task to find even one single image URL.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
Kusje erop
Posts: 8
 Kusje erop
Topic starter
October 27, 2019 9:35 am
(@kusje-erop)
Active Member
Joined: 3 years ago

Well, I've followed the instructions AND made the robots.txt file. But the files are still showing up in Google when doing a search on a name. I don't understand how someone has to be logged in to view the content of the forum, but Google can grab its files (even with the robots.txt file) and anyone (without excess to the forum) can download it when it shows up in Google Search. 

How can I fix it? 

Reply
Macky liked
  All forum topics
  Previous Topic
Next Topic  

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages wpforo-advanced-attachments-128x128 wpforo-embeds-128x128 wpForo User Custom Fields addon wpForo – Blog Cross Posting addon wpForo Ads Manager wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • Import users from IPBoard

    By jesusdlg, 4 hours ago

  • How to make new user to get approve manually before creating post and profile.

    By Adhyansh21, 1 day ago

  • Posts deleted in database still show up on front-end

    By nylex, 2 days ago

  • Not all links are automatically added with the "nofollow" attribute

    By st7878, 2 days ago

  • Editors assign users to groups

    By mike_netinfo, 2 days ago

  • Set password link opens forum login page instead of set password page

    By JanJan, 2 days ago

Topic Tags

  • css52
  • translation50
  • plugin conflict48
  • seo47
  • new features45
  • buddypress43
  • avatar41
  • moderation40
  • ultimate member40
  • login40
  • forum40
  • registration37
  • threaded layout35
  • cache34
  • spam33
  • editor33
  • menu33
  • shortcode32
  • forum accesses30
  • widget29
View all tags (2194)

Recent Posts

  • Import users from IPBoard

    Hello, Is it possible to import users from ipboard? (...

    By jesusdlg, 4 hours ago

  • RE: User banned for using icons?

    If you have security plugins that can ban users, try de...

    By Chris, 13 hours ago

  • RE: recover deleted forum categories

    @robert @chris could that upgrade message at the top of...

    By dimalifragis, 13 hours ago

  • RE: recover deleted forum categories

    Hi @asmadi1, Contact your hosting to get a backup.

    By Chris, 16 hours ago

  • RE: Posts deleted in database still show up on front-end

    @nylex, Copy the post content or part of it, the go-t...

    By Chris, 17 hours ago

  • RE: Problem with Block themes

    Works very well with those kind of themes. Here is MY...

    By dimalifragis, 18 hours ago

  • RE:

    By Anonymous, 53 years ago

Share:
Share
Tweet
Share
  Forum Statistics
21 Forums
9,936 Topics
50.3 K Posts
8 Online
48.2 K Members

Latest Post: Import users from IPBoard Our newest member: 10 Situs Judi Online Resmi Slo... Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2022 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation