.htaccess

Discussion in 'Apache' started by Greeney, Nov 21, 2012.

  1. #1
    Hi all hoping you might be able to help.

    I am having difficulty with a website redirect on a linux server heres the problem.

    I want my domain - www.completekeeper.co.uk to direct to my wordpress blog completekeeper.wordpress.com

    I seem to have worked this out. But the problem is it will not allow me to view images from my domain address for example www.completekeeper.co.uk/image/image.jpg

    Any suggestions?

    Thanks
    Greeney
     
    Greeney, Nov 21, 2012 IP
  2. juerald

    juerald Active Member

    Messages:
    352
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    65
    #2
    Why you are not using simple .html code in your website?

    Try that .htaccess code :

    RewriteEngine On RewriteCond %{HTTP_HOST} !completekeeper.co.ukm$ [NC]
    RewriteRule ^(.*)$ http://www.completekeeper.wordpress.com/$1 [L,R=301]

    If you want to ridrect from via HTML create index.html and upload in your website www.completekeeper.co.uk

    <meta HTTP-EQUIV="REFRESH" content="0; url=htpp://completekeeper.wordpress.com">

    You can make a beautiful index where you can ridrect after 5 seconds and can explain why your website is being ridrected .
     
    juerald, Nov 21, 2012 IP
  3. Greeney

    Greeney Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It is a wordpress.com site so i do not have any pages for my website other than whats on wordpress.com

    The above has helped to redirect the site but still unable to view images from my domain.

    Any suggestions would be great,

    Thank you

    Greeney
     
    Greeney, Nov 21, 2012 IP