AddType application/vnd.ms-fontobject .eot
AddType application/octet-stream .otf .ttf

RewriteEngine On

RewriteCond %{HTTP_HOST} ^conduzamagazine\.pt
RewriteRule (.*) http://www\.conduzamagazine\.pt/$1 [R=301,L]

#por /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !\.
RewriteRule [^/]$ %{REQUEST_URI}/ [R=301,L] 

RewriteRule test\.html http://www.google.com [R]


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/revistapag/([^/]*)?/?([^/]*)?/?$  revistapag.php?arg1=$1&arg2=$2 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]*)?/?([^/]*)?/?([^/]*)?/?([^/]*)?/?([^/]*)?/?$  site_redir.php?arg1=$1&arg2=$2&arg3=$3&arg4=$4&arg5=$5 [L]