HTACCESS FILE [hide site behing IP address]

Hi all, 

Thought this maybe worth mentioning...

I dont want anyone to see my site until it is finished and the easiest way to do this was to edit the HTACCESS file under the domain root directory and add the following lines:

deny from all
allow from 'MY IP ADDRESS'

deny from all
allow from 'MY IP ADDRESS'
AddType x-httpd-php55 .php

This stopped me from downloading the theme, layout and certain media files properly.

Once i had removed the additional lines, all was well.

Hope this helps


Sign In or Register to comment.