Welcome To Snipplr


Everyone's Recent Snippets Tagged htaccess



1 ... 5 6 7 8 9
Removes trailing slashes from URLs, forces all urls to index.php
0 271 posted 11 years ago by mattkenefick
you'll need this .htaccess file also RewriteEngine On RewriteBase / RewriteRule .* - [E=INFO_API_VERSION:%{API_VERSION},NE] RewriteRule .* - [E=INFO_AUTH_TYPE:%{AUTH_TYPE},NE] RewriteRule .* - [E=INFO_CONTENT_LENGTH:%{CONTENT_LENGTH},NE] Rewrit...
2 412 posted 11 years ago by jessecary
0 248 posted 11 years ago by genseric
0 321 posted 11 years ago by dacoman
Use this rewrite rule to enable permalinks on a host. Used when Wordpress doesn't write the conditions correctly (like on a host I am testing with).
0 349 posted 11 years ago by jink
Before taking a site "live", I password protect it except the robots.txt for search engines and custom Error pages. You can adapt this to your own use and add other pages in the FilesMatch directive.
0 334 posted 11 years ago by abbey
1 283 posted 11 years ago by davidbani
To force the user to download certain filetypes in the current directory.
0 430 posted 11 years ago by darylclaudio
Permanente / Temporäre Weiterleitung per htaccess
0 288 posted 12 years ago by Michael01
If you want to force someone to download a file instead of opening it in their browser, use this code.
1 494 posted 12 years ago by jrobinsonc
Hacer una redireccion permanente
0 295 posted 12 years ago by jrobinsonc
0 301 posted 12 years ago by jrobinsonc
Esto setea todas las opciones menos *Indexes* que es la que permite que los ficheros y directorios sean mostrados cuando no hay un *index.html* en un directorio.
0 259 posted 12 years ago by jrobinsonc
1 308 posted 12 years ago by blaz
Redirect to a subfolder (blog) in a search engine friendly way using .htaccess. Change “YourDomain.com” to your domain name.
1 354 posted 12 years ago by math89
0 225 posted 12 years ago by twobon
Disable directory indexing, custom error messages, PHP processing in other files, mod_rewrite, file GZIP and cache expiration times.
1 363 posted 12 years ago by LuckyShot
1 266 posted 12 years ago by jnbn
Redirects visitors of a webpage to a specific URL while allowing access for specified IP-addresses.
3 302 posted 12 years ago by dertimbo
1 322 posted 12 years ago by chrisdpratt
leittet alle domain.de (ohne www) auf www.domain.de weiter.
0 326 posted 12 years ago by nico65
1 ... 5 6 7 8 9