Non riesco a fare il redirect su tutte le pagine
Salve a tutti!
Ho fatto già da tempo il redirect del sito da techscene.altervista.org a www.techscene.it.
Ciò che mi fa penare da tempo è però il fatto che alcune pagine non riesco proprio a farle tornare all'url principale.
Ad esempio cliccando sul link qui sotto:
http://techscene.altervista.org/port...ne-140x145.png
Non si riesce a far tornare il sito al dominio di secondo livello, credo perchè si tratti di un hotlink.
Comunque succede anche su altre pagine e non ne capisco il motivo.
Questo è il mio .htaccess, spero che qualcuno riesca a darmi una dritta.
Codice:
RewriteEngine On
RewriteCond %{HTTP_HOST} techscene.altervista.org [nc]
RewriteRule ^(.*)$ http://www.techscene.it/$1 [r=301,L]
# av:AntiHotlink
RewriteEngine on
RewriteBase /portal/
RewriteCond %{REQUEST_URI} \.(gif|jpe?g|png)$ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://([a-z0-9\-\.]*)techscene\.altervista\.org
RewriteCond %{REQUEST_URI} !^\/_altervista_ht\/
RewriteCond %{HTTP_REFERER} !^http://([a-z0-9\-\.]+)google\.
RewriteRule .*$ http://hl.altervista.org/split.php?http://%{HTTP_HOST}%{REQUEST_URI} [R,L]
# AntiHotlink
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
# # av:Toolbar
SetEnv AV_TOOLBAR 1
# # av:Words
SetEnv AV_WORDS 0
# # av:Banner
SetEnv AV_BANNER 0
# av:PHP-upload
php_value upload_max_filesize 20M
php_value post_max_size 20M
php_value max_input_time 300
# PHP-upload
# # av:php5-engine
AddHandler av-php54 .php
Vi ringrazio in anticipo, ciao!