Welcome To Snipplr


Everyone's Recent Snippets Tagged htaccess



1 2 3 4 5 ... 9
0 1186 posted 14 years ago by manuelpedrera
also requires an .htpasswd file to be created in a secure directory
0 2278 posted 14 years ago by ropehead
0 1679 posted 14 years ago by stephcode
0 1168 posted 14 years ago by stephcode
This rule allows you to embed fonts cross domain. Especially good when you are serving your fonts from a CDN.
0 1707 posted 14 years ago by demwunz
Found answer here: http://community.godaddy.com/groups/web-hosting/forum/topic/ogv-in-firefox-for-html5-video/
0 1353 posted 14 years ago by benjaminpearson
And http://www.htpasswdgenerator.com/apache/htaccess.html
0 1300 posted 14 years ago by stephcode
0 1219 posted 14 years ago by dan_hoerr
Just write this into a .htaccess
0 1348 posted 14 years ago by soup
Redirects to reduce duplicate content
0 3387 posted 14 years ago by CKOink
Blocks bad bots, and image theft, allows visitors inside domains.
0 3389 posted 14 years ago by CKOink
Redirects all server inquires to the one url to reduce duplicate indexes. AKA. http://www.ex.com and http://ex.com
0 1392 posted 14 years ago by CKOink
Site Down For Maintenance
0 1204 posted 14 years ago by macodev
Place directly below 'RewriteEngine On' to ensure that no other redirects interfere with it.
0 1267 posted 14 years ago by batfan
Some url rewriting snippets
1 1130 posted 14 years ago by marzsman
1 1402 posted 14 years ago by stephcode
1 1571 posted 14 years ago by neoandroid
0 1205 posted 14 years ago by dato
Add this piece of code in your .htaccess file located in wordpress root directory
0 1220 posted 14 years ago by kirichev
See here for Amazon EC2 range https://forums.aws.amazon.com/ann.jspa?annID=877
0 1539 posted 14 years ago by daipratt
Key for code below: querystring = just the query string. (e.g. url=page) index = the page that the query string is appended to (e.g. index.php) domain.com = the domain and page you want to rewrite to
0 1295 posted 14 years ago by nielsenrc
When using Joomla, allows you to redirect index.php to the root ( to prevent duplicate content ), without affecting the Joomla admin.
0 1214 posted 14 years ago by batfan
Good .htaccess file to start with.
0 1175 posted 14 years ago by batfan
0 1165 posted 14 years ago by silentpro
1 2 3 4 5 ... 9