Profile
Achievement
Orlandoo's Recent SnippetsTagged htaccess
- All /
« Prev 1 Next »
Are you as tired as me of the default layout of 404 error pages? Well now you can easily create your own and refer to it like this:
4
787
posted 14 years ago by Orlandoo
If you've transferred domain names or wish to redirect a specific page or pages without getting penalty from search engines such as Google, use the following code:
2
643
posted 14 years ago by Orlandoo
If for some reason you would want to deny everyone or allow only a specific group of IP addresses to access your website, add the following code to your .htaccess file:
3
780
posted 14 years ago by Orlandoo
It's possible to block all unwanted user agents that might be potentially harmful or perhaps just to keep the server load as low as possible.
1
732
posted 14 years ago by Orlandoo
Tired of people using your bandwidth by putting the images hosted on your server on their website? Add the following code at the bottom of your .htaccess file to prevent hotlinking.
4
780
posted 14 years ago by Orlandoo