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 275 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 415 posted 11 years ago by jessecary
0 249 posted 11 years ago by genseric
0 322 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 352 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 337 posted 11 years ago by abbey
1 285 posted 11 years ago by davidbani
To force the user to download certain filetypes in the current directory.
0 434 posted 12 years ago by darylclaudio
Permanente / Temporäre Weiterleitung per htaccess
0 289 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 495 posted 12 years ago by jrobinsonc
Hacer una redireccion permanente
0 296 posted 12 years ago by jrobinsonc
0 305 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 261 posted 12 years ago by jrobinsonc
1 312 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 358 posted 12 years ago by math89
0 227 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 366 posted 12 years ago by LuckyShot
1 268 posted 12 years ago by jnbn
Redirects visitors of a webpage to a specific URL while allowing access for specified IP-addresses.
3 303 posted 12 years ago by dertimbo
1 326 posted 12 years ago by chrisdpratt
leittet alle domain.de (ohne www) auf www.domain.de weiter.
0 327 posted 12 years ago by nico65
1 ... 5 6 7 8 9