New blog showing wrong URL - 301 redirect?

Discussion in 'Search Engine Optimization' started by ollyno1uk, Sep 23, 2007.

  1. #1
    Hi all

    I have jsut started a blog at http://www.jbosolutions.co.uk/blog

    unfortuantely it would appear that google has indexed it as a subdomain of my other site jbosolutions.ollysguitar.com/blog/

    How can I get it to look correct as ollysguitar.com is a seperate site.

    Thanks a lot
     
    ollyno1uk, Sep 23, 2007 IP
  2. Zippo

    Zippo Peon

    Messages:
    311
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What do you have in .htaccess in the root of ollysguitar.com ? :) or in /jbosolutions :)
    There need to be a 301 redirect
     
    Zippo, Sep 23, 2007 IP
  3. trichnosis

    trichnosis Prominent Member

    Messages:
    13,785
    Likes Received:
    333
    Best Answers:
    0
    Trophy Points:
    300
    #3
    of course , you can do that.

    you must create a 301 redirect from jbosolutions.ollysguitar.com/blog/ to your current blog url
     
    trichnosis, Sep 23, 2007 IP
  4. ollyno1uk

    ollyno1uk Active Member

    Messages:
    946
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    70
    #4
    I am unsure quite how to do this. I have a htaccess file in both the root of JBO Solutions and the root of ollysguitar. Which one would I need to edit and what would I need to put in it?

    Thanks a lot for your help
     
    ollyno1uk, Sep 24, 2007 IP
  5. ollyno1uk

    ollyno1uk Active Member

    Messages:
    946
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    70
    #5
    ollyno1uk, Sep 24, 2007 IP
  6. ollyno1uk

    ollyno1uk Active Member

    Messages:
    946
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    70
    #6
    If anyone could offer some advice on the above it would be most appreciated.
     
    ollyno1uk, Sep 25, 2007 IP
  7. Zippo

    Zippo Peon

    Messages:
    311
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Add this in the top of the .htaccess file

    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
    RewriteRule ^index\.php$ http://www.example.com/ [R=301,L]
     
    Zippo, Sep 26, 2007 IP