Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Junior Member
    Join Date
    Aug 2011
    Location
    Delhi, India
    Posts
    12

    How to redirect any site ?

    Hey Guys, i have listen that 301 are useful in redirection. Is it true ?

  2. #2
    Member
    Join Date
    Nov 2009
    Location
    kavoir.com
    Posts
    53
    You can use PHP or JavaScript or even HTML to do the redirection. PHP can do 301 redirection which is a moved permanently redirection: http://www.kavoir.com/2009/09/how-to...r-website.html

  3. #3
    Junior Member
    Join Date
    Aug 2011
    Posts
    8
    Dear immediate,
    Thank you so much for this post.
    Your mentioned information is helpful for me also.

  4. #4
    Registered User
    Join Date
    Jun 2011
    Posts
    42
    yes 301 is use for redirect.

  5. #5

  6. #6
    Member
    Join Date
    Jul 2018
    Location
    United states
    Posts
    64
    Quote Originally Posted by Anand View Post
    Hey Guys, i have listen that 301 are useful in redirection. Is it true ?
    Yes if you want to do a permanent redirection then 301 is perfect otherwise for a temporary redirection you can go for 302 redirection.

  7. #7
    Registered User
    Join Date
    Feb 2019
    Location
    Noida
    Posts
    50
    Quote Originally Posted by Anand View Post
    Hey Guys, i have listen that 301 are useful in redirection. Is it true ?
    I think you better know about this as your signatures show you are provided SEO and Digita Marketing Services.

  8. #8
    Junior Member
    Join Date
    Jul 2016
    Posts
    8
    This is simple code to add in the .htaccess file in root directory of your CPanel


    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^site1.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.site1.com$
    RewriteRule (.*)$ http://www.site2.com/$1 [R=301,L]
    </IfModule>

    Simply change your site1 to the site you want to redirect. And site2 with the site where you want to redirect.

  9. #9
    Member
    Join Date
    Aug 2018
    Posts
    78
    Yes, it is. 301 redirect is key to maintaining a website's domain authority and search rankings when the site's URL is changed for any reason. It easily sends visitors and search engines to a different URL than the one they originally entered into their browser or selected from a search engine result. To perform 301 redirect with Htaccess editor is the easier way for beignners.

  10. #10
    Registered User
    Join Date
    Feb 2019
    Location
    Noida
    Posts
    50
    Quote Originally Posted by Amjad Ali View Post
    This is simple code to add in the .htaccess file in root directory of your CPanel


    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^site1.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.site1.com$
    RewriteRule (.*)$ http://www.site2.com/$1 [R=301,L]
    </IfModule>

    Simply change your site1 to the site you want to redirect. And site2 with the site where you want to redirect.
    BTW question is not about what is the code for 301 redirections, it is all about it is useful or not? And, the OP is provided the Digital Marketing and SEO services and having no Idea about 301 redirects is useful or not?

  11. #11
    Registered User
    Join Date
    Feb 2019
    Posts
    145
    For permanent redirect use 301 Or for temporary basis 302 are best options.

  12. #12
    Junior Member
    Join Date
    Jun 2018
    Location
    India
    Posts
    2
    There are 2 types of redirection codes 301 and 302.
    301 is used for permanent redirection means you want to redirect any website/webpage to another website/webpage permanently.
    302 code is used if you want to redirect your webpage/website users to another website/webpage temporarily for short time.
    It depends upon your requirement and use can use any code.
    301 redirection is most famous in SEO as if we redirect any webpage with 301 redirection then it will pass the webpage authority benefits/link juice to new page.

  13. #13
    Registered User
    Join Date
    Feb 2019
    Posts
    3
    use some online redirection tool to generate code

  14. #14
    Registered User
    Join Date
    Mar 2019
    Posts
    6
    Dear member,

    Yes you can redirect your old domain to new domain through 301 permanent redirect .htaccess file

  15. #15
    Registered User
    Join Date
    Mar 2019
    Posts
    3

    How to redirect any site ?

    A redirect automatically sends your website's transient to a chosen terminal, either a different location within the same site or a new site entirely. For example, you can change visitors from your realm root to a content sub-directory, such as a blog.

Page 1 of 2 12 LastLast

Posting Permissions

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

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.