Results 1 to 3 of 3

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

  1. #1
    Davidwatson is offline New Bee
    Join Date
    Jun 2016
    Posts
    28
    Servers
    Go Daddy
    WHB Points this Month
    15.00
    WHB Points
    65.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
    10.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
    10.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.

Posting Permissions

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