Moving my Blog

Discussion in 'Blogging' started by tentwenty, Dec 5, 2009.

  1. #1
    Hello Everybody,

    I am needing a bit of your help. I am planning on moving my blog.

    At the moment its http://domain.com and I want to move to http://domain.com/blog/

    I know how to move my blog and get it working again but its the URLS and 301 redirecting I am unsure about. So I was wondering what would be the best way to do this and redirect all my old URLS to the new URLS.

    I don't have many pages but don't want to set up a 301 for each of them.

    I am planning on making a website on the root domain so it cant redirect all files & folders.

    Please help.

    Regards
     
    tentwenty, Dec 5, 2009 IP
  2. addlinkurl

    addlinkurl Well-Known Member

    Messages:
    2,409
    Likes Received:
    129
    Best Answers:
    0
    Trophy Points:
    155
    Digital Goods:
    1
    #2
    may be you can do it by: "if the domain.com/page.html is a 404 page go to domain.com/blog/page.html"

    but i do not know how you can do it.
     
    addlinkurl, Dec 5, 2009 IP
  3. tentwenty

    tentwenty Well-Known Member

    Messages:
    1,030
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    110
    #3
    I don't know if that is possible and if so I don't know either.


    Thanks for the help anyway
     
    tentwenty, Dec 5, 2009 IP
  4. taminder

    taminder Peon

    Messages:
    581
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    if you wan't to have a website on your root domain, then you can't 301 redirect or that content won't show up. if you're using WordPress, you can go into Settings -> General and change the WordPress URL to domain.com/blog and move all the contents from the root domain folder into ./blog subfolder.
     
    taminder, Dec 5, 2009 IP
  5. tentwenty

    tentwenty Well-Known Member

    Messages:
    1,030
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    110
    #5
    Yes I have did that but that wont redirect for me.

    I have just set up each link mannualy in my htaccess anyway.

    Thanks for the help

    thread closed.
     
    tentwenty, Dec 6, 2009 IP