Skip to content

Instantly share code, notes, and snippets.

@tan3
tan3 / page.ts
Created April 3, 2014 07:47
TYPO3: page.ts
#----------------------------------------------------------------------
#
# Main template
#
#----------------------------------------------------------------------
page = PAGE
page {
@tan3
tan3 / .htaccess
Last active November 10, 2015 14:44
htaccess: redirect www to non-www
# redirect www to non-www
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1$1 [R=301,L]
</IfModule>