How to redirect my Banned "sample.blogsopt.com" site to my new "www.sample.com" site.

Discussion in 'Programming' started by vikas_ch1, Jul 30, 2010.

  1. #1
    Hi All,
    I want to redirect my banned bloggers blog to my newly purchased domain.

    Note:- I am not able to access my banned blog coding.....So please help me .............

    Thanks
    Vikas
     
    vikas_ch1, Jul 30, 2010 IP
  2. Thorlax402

    Thorlax402 Member

    Messages:
    194
    Likes Received:
    2
    Best Answers:
    5
    Trophy Points:
    40
    #2
    If you cannot access the code in any way, then I think you might be out of luck unfortunately.
     
    Thorlax402, Jul 30, 2010 IP
  3. lonewolff

    lonewolff Member

    Messages:
    338
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #3
    If you add the following to your .htaccess file, you should be good to go

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^([^.:]+\.)sample.blogsopt.com\.?:)[0-9]*)?$ [NC]
    RewriteRule ^(.*)$ http://www.sample.com/ [R=301,L]


    Good luck!
     
    lonewolff, Aug 1, 2010 IP
  4. extremephp

    extremephp Peon

    Messages:
    1,290
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #4
    MAN!! YOu are Good At Htaccess!! But Its Blogspot!! So I hope you know that it is not Self Hosted :)

    Thanks!!

    To The OP, Go to the settings, and in the URL settings, you could be able to configure it! Am not sure the Name is just URL or may be something similar!

    Well, it is best if you buy a host and use Wordpress!

    Thanks!

    ~Exp~
     
    extremephp, Aug 6, 2010 IP