re-direct 301 in .htaccess

Discussion in 'Search Engine Optimization' started by redsy, Jun 30, 2008.

  1. #1
    I have removed all reference to index.html on my site and replace to go to mydomain.co.uk, this works fine.

    I am trying to redirect index.html to www.hip-consultant.co.uk using .htaccess
    I have entered following in .htaccess
    Redirect 301 /index.html http://www.hip-consultant.co.uk/

    And it is giving an error message, saying redirect not is set-up correctly. What am i doing wrong?

    Also i changed wp blog url from hip-consultant.co.uk/blog/ to www.hip-consultant.co.uk/blog/
    I do not want to lose serps and would like to re-direct all pages in blog folder. Must i do for each page or can i use one line in .htaccess?

    Any help appreciated.
     
    redsy, Jun 30, 2008 IP