Results 1 to 4 of 4

Thread: How to redirect visitors when site is too busy?

  1. #1
    Davidwatson is offline Member
    Join Date
    Jun 2016
    Posts
    37
    Servers
    Go Daddy
    WHB Points this Month
    10.00
    WHB Points
    75.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to redirect visitors when site is too busy?

    Hello folks,

    I would like to know, How to redirect visitors when site is too busy?


    Small Business for Sale | Business for Sale in Delhi | Small Business Ideas in Delhi

  2. #2
    junker is offline New Bee
    Join Date
    May 2017
    Posts
    2
    WHB Points this Month
    0.00
    WHB Points
    10.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi! Initially, you need to make a mirror site. Then you should post a permanent redirect on the old site, which in PHP can look like this:
    <?php
    Header(«Location: http://site2.com/».$_SERVER[‘REQUEST_URI»]);

    When a request is received, it will redirect the user to a new site, to the same page. To redirect all requests to index.php, you can use this .htaccess file:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ — [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    Next, we need to compose robots.txt correctly, in which the main mirror of the site will be spelled out:
    User-Agent: *
    Disallow:
    Host: site2.com

    This file should be placed on all mirrors of the site.

  3. #3
    junker is offline New Bee
    Join Date
    May 2017
    Posts
    2
    WHB Points this Month
    0.00
    WHB Points
    10.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    And I'm highly recommended to visit a site https://assignment.essayshark.com/statistics-help.html where you can also seek help and get feedback.

  4. #4
    allinisbest is offline New Bee
    Join Date
    Mar 2017
    Posts
    6
    WHB Points this Month
    5.00
    WHB Points
    15.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    There is some code by which you can do that, you should check that code from anywhere, or ask that from your hosting server. They will tell you about it then you can easily transfer your visitors on any other web address. but you should have any business continuity disaster recovery software so that you can protect your data from any kind of disaster.

Posting Permissions

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