Welcome To Snipplr


Everyone's Recent Apache Snippets



1 2 3 4 5 ... 9
First of all this refers to a clean Ubuntu 10.04 install with the LAMP and OpenSSH packages installed, but can probably be applied in most cases. Duplicate the file /etc/apaches/sites-available/default, and name it subdomains. Edit the new file...
1 1579 posted 14 years ago by krillzip
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 1259 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 1169 posted 14 years ago by batfan
Good .htaccess file to start with.
0 1136 posted 14 years ago by batfan
Sacado de Nettus
0 1276 posted 14 years ago by danideu
0 1256 posted 14 years ago by neoandroid
0 1197 posted 14 years ago by neoandroid
Add to .htaccess for seo purposes
0 1539 posted 14 years ago by nielsenrc
Improving WordPress performance with changes to .htaccess
1 1127 posted 14 years ago by sdxxx
"We should always be looking for ways to improve the functionality of our blogs. One of the easiest ways to improve our blog functionality and speed is to leverage browser caching."
1 1435 posted 14 years ago by sdxxx
0 1008 posted 14 years ago by Jacek_FH
1 1068 posted 14 years ago by batfan
This rewrite covers most mobile devices (with few false positives). When a mobile device is detected it is redirected to /m/.
2 1776 posted 15 years ago by ohryan
0 1118 posted 15 years ago by NiReiC
Para evitar que google indexe contenido duplicado
0 1282 posted 15 years ago by mfigge
Tipico caso de sitio con dos dominios, y paginas con parámetros.
0 1149 posted 15 years ago by mfigge
Great for developing multiple sites under a wamp install. Removes the headache of paths and domains and changing them when deploying to their live environment.
1 1575 posted 15 years ago by Meander365
Adicionhar o código ao arquivo .htaccess do site
0 1021 posted 15 years ago by joaobarbosa
A default HTAccess file. Uncomment any lines that you want to use. http://enarion.net/web/htaccess/trailing-slash/
1 1141 posted 15 years ago by BFTrick
1 2 3 4 5 ... 9