blgo redirection url problems

  adsalamon 15:37 11 Mar 2015

I have 301 redirects setup so 2 other domains point to my main one. i have just added a blog though and this will not redirect.

main domain for blog is Other domains that won't direct are and

if i type the address without the blog in redirects fine.. Here is my htaccess for redirects

RewriteCond %{HTTP_HOST} ^ RewriteRule (.*) click here [R=301,L]

RewriteCond %{HTTP_HOST} ^$ [OR] RewriteCond %{HTTP_HOST} ^$ RewriteRule ^/?$ "http\:\/\/$1" [R=301,L]

RewriteCond %{HTTP_HOST} ^$ [OR] RewriteCond %{HTTP_HOST} ^$ RewriteRule ^/?$ "http\:\/\/$1" [R=301,L]

RewriteCond %{HTTP_HOST} ^$ RewriteRule ^/?$ "http\:\/\/$1" [R=301,L]

any help appreciated


  adsalamon 15:39 11 Mar 2015

missed this bit at the top

RewriteEngine On RewriteBase /blog/ RewriteCond %{REQUEST_FILENAME} !-d [NC] RewriteCond %{REQUEST_FILENAME} !-f [NC] RewriteRule ^(.*)$ viewpost.php?id=$1 [QSA,L]

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Samsung Galaxy A8 review: Hands-on

Illustrator Juan Esteban Rodriguez on creating highly detailed official film posters for Star Wars…

iMac Pro review

Meilleurs drones (2018)