I am building af community site in RW6, Stacks 3, and Foundation.
Within that site I have some private pages meant to be completely private for one member user and a group og members that this user chooses.
I am using Sitelok to handle the login security matters, which it does absolutely perfect
My question is how I, in order to keep the pages totally private, can protect these private pages from beeing seen by any search engines.
How do I do that?
You should know that I am a not “code-experienced” guy, so I don’t know where to find the htaccess file, and I don’t know what to put in it where
That must be a file called robots.txt in the roots (the same location like htaccess file) of your webspace, with this content.
I have blocked this 5 folders from search engines.
Sorry, it is on “robots.txt” (not htaccess)
ex :
User-agent: *
Disallow: /folder_name/
robots.txt is in you site root (access by /www in your server)
If you have not, you’ll have to create one in your Text Edit, name it “robots.txt” and place it in your root server (or the root folder of your website)
@rob I have just bought and downloaded RapidBot, but I never got an registration e-mail so am not able to register the product. Do you know how to get the e-mail?
License has been promptly sent to your email address.
Please check your Spam folder.
If you still can’t see it, you can retrieve it from here. https://4gnd.com/licenses
Haven’t recieved anything - not even in the spam folder
Tried the licenses link - it says that everything is sent.
The help link give an certificate error an reccommends that I move back …
We’ve got a couple of video tutorials on the RapidWeaver Community that show you how to do this.
First one is Control how Google indexes your site — this one is good if you anyone to be able to visit the page, but have google exclude it from their search results. I cover a couple of different techniques (robots.txt, meta tags, and RapidBot).
And the other one is Basic Authentication using htaccess — this one is good if you want to password protect a page(s). Password protecting the page will also stop google from indexing the page(s), as the google bots won’t be able to access the page.
Note: You’ll need a RapidWeaver Community subscription to watch both of those videos.