htaccess accessibility question...
I am building a website which is almost finished, so most of my files are online already. While my index page has no links to go further (it's an 'under construction' page) google is still indexing everything. This enables people to get into my site prior to its launch.
I want an htaccess that allows me, w3.org, and google bots to access the site, but everyone else to be bumped back to my construction page. I tried this code:
but I am such a beginner at htaccess, I'm not sure how to really tweak it for my needs so I couldn't get it to work. (I do understand at least that the 220.127.116.11 needs to by my IP)
AuthName "Under Development"
Deny from all
Allow from 18.104.22.168 w3.org googlebot.com google.com google-analytics.com
So any help for someone who would like to learn would be great.
Thanks in advance!