Redirect Website To Subdomain!

9 replies
Hello,

I have blog as "twrix.com" - I want to redirect WHOLE CURRENT website to sub-domain as "blog.twrix.com"

I want to make new website on "twrix.com" So could any one please tell me how to redirect all the links and stuff to sub-domain ?

I have wordpress installed in domain-
#redirect #subdomain #website
  • Profile picture of the author fr3quenzy
    I know how to redirect website using 301. But i dont want to redirect main domain i want to keep that domain as other website !

    So i am asking this question !
    Signature

    Get Personal Loan at best interest rate!

    {{ DiscussionBoard.errors[6303805].message }}
  • Profile picture of the author KirkMcD
    You can set up htaccess so that a "404 page not found error" will redirect to the blog.
    Or you can put a redirect for each page/post of the current blog to the new url in htaccess.
    Otherwise, no you can't do what you want.
    {{ DiscussionBoard.errors[6304370].message }}
    • Profile picture of the author fr3quenzy
      Originally Posted by KirkMcD View Post

      You can set up htaccess so that a "404 page not found error" will redirect to the blog.
      Or you can put a redirect for each page/post of the current blog to the new url in htaccess.
      Otherwise, no you can't do what you want.

      Can u tell me how can I make that htaccess file?
      Signature

      Get Personal Loan at best interest rate!

      {{ DiscussionBoard.errors[6304691].message }}
  • Profile picture of the author ionutcib
    Your host company should have Wild Card Redirect option enabled. If it has you should go in your cPanel, Redirects and set a redirection from *.twrix.com to blog.twrix.com
    Signature
    {{ DiscussionBoard.errors[6304431].message }}
  • Profile picture of the author KirkMcD
    Which version? The 404 or the redirect each url?
    {{ DiscussionBoard.errors[6305817].message }}
  • Profile picture of the author Fahmzie
    Thats tricky if you have same urls in both of the domains.
    {{ DiscussionBoard.errors[6306556].message }}

Trending Topics