Results 1 to 5 of 5
  1. #1

    can c-panel redirect my blog post links from example.com/blog to blog.example.com?

    I used to have a blog:
    example.com/blog
    but I changed it to
    blog.example.com
    I know you can do a redirect, so that someone going to the first address will be redirected to the second, but what about actual posts.
    I have links (in google search etc..) like this
    example.com/blog/2010/07/01/blog-post

    Is there anyway to get those all to be redirected to
    blog.example.com/2010/97/91/blog-post
    thanks

  2. #2
    What you are looking for is a 301 redirect.

    Open/create an htaccess file on the domain example.com/blog and add the following:

    Code:
    redirect 301 /blog http://blog.example.com
    DedicatedPros - offering dedicated hosting in the EU
    Free setup, 1Gbps uploads, unmetered bandwidth, Windows/Linux/FreeBSD available
    Contact us || Email: support[at]dedicatedpros.com || Skype: DedicatedPros-Support
    USA: +1 2024706100 || PL/EU: +48 587356501 || AU: +61 280113317

  3. #3
    r u using wordpress or joomla ?

    Regards,
    Austin

  4. #4
    wordpress. (on a sharedhost with litespeed).
    I'm not getting it to work
    I have a file .htaccess in the blog folder of the root directory (root directory goes to example.com, and blog directory used to be for example.com/blog

  5. #5
    I won't suggest a redirect nor a iframe tag, because seo does not like it. Please refer the following URL in order to know how you can make this changes happen :-

    http://codex.wordpress.org/Moving_WordPress

    Regards,
    Austin

Similar Threads

  1. Replies: 2
    Last Post: 12-31-2009, 05:58 AM
  2. WTS blog post on PR3 Business blog- i write $10/perm
    By blazwww in forum Advertising Offers
    Replies: 0
    Last Post: 11-21-2008, 06:33 PM
  3. Replies: 1
    Last Post: 02-21-2007, 11:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •