//here is my htaccess

<IfModule mod_rewrite.c>   
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^glamestates\.co\.uk$ [NC]
    RewriteRule ^.*$ http://www.glamestates.co.uk%{REQUEST_URI} [R=301,L] # <-- Mind the 'L'!

    RewriteRule ^$ app/webroot/    [L]
    RewriteRule (.*) app/webroot/$1 [L]

where about to add this google analytics link in my htaccess


what I have got so far but this doesn't work. I added in line five

RewriteRule ^glamestates\.co\.uk\googlec7feca3a4513beef\.html$ http://www.glamestates.co.uk\googlec7feca3a4513beef.html%{REQUEST_URI} [R=301,L]

1 Answer 1


just need to paste the googlec7feca3a4513beef.html file into Webroot folder rather than Root

Here you go

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.