Hi,
Is it possible to make something to deny anyone for visiting my website ?
Im about to launch my new theme im been working on for a while but need a houer or so to setup the theme and things like that
Try this:fyndler wrote:Is it possible to make something to deny anyone for visiting my website ?
Order deny,allow
Deny from all
Allow from localhost
Izzy wrote:Missing support info - what XAMPP version and which Windows OS?
So assuming latest stable XAMPP version and Windows Vista.Try this:fyndler wrote:Is it possible to make something to deny anyone for visiting my website ?
Create a file in your text editor and add these lines at the very topSave the file as .htaccess in your web root folder.
- Code: Select all
Order deny,allow
Deny from all
Allow from localhost
I am assuming that your are developing your web site in XAMPP and your web site is in the htdocs folder hence allow from localhost (you).
If not then either drop the Allow line or just add your own IP in place of localhost.
Users browsing this forum: No registered users and 116 guests