Page 1 of 3 123 LastLast
Results 1 to 15 of 31

Hybrid View

Previous Post Previous Post   Next Post Next Post
  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
    55
    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
    41
    yes 301 is use for redirect.

  5. #5

  6. #6
    Senior Member
    Join Date
    Jul 2018
    Location
    United states
    Posts
    163
    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
    49
    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
    Registered User
    Join Date
    Feb 2019
    Location
    Noida
    Posts
    49
    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?

  10. #10
    Senior Member
    Join Date
    Aug 2018
    Posts
    123
    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.

  11. #11
    Junior Member
    Join Date
    Jun 2018
    Location
    USA
    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.

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

  13. #13
    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

  14. #14
    Registered User
    Join Date
    Jun 2019
    Posts
    1
    301, "Moved Permanently"

    The HTTP response status code 301 Moved Permanently is used for permanent URL redirection, meaning current links or records using the URL that the response is received for should be updated. The 301 response from the Web server should always include an alternative URL to which redirection should occur. If it does, a Web browser will immediately retry the alternative URL. This is the best way to ensure that users and search engines are directed to the correct page. The 301 status code means that a page has permanently moved to a new location.

  15. #15

Page 1 of 3 123 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.