where to put url redirect code?

Home Forums BulletProof Security Pro where to put url redirect code?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #39841
    Carlo
    Participant

    I have a batch ur url’s on my site that I need to redirect to individual urls on my site.

    i want to use the following code, but not sure where to place it?

    <IfModule mod_rewrite.c>
    RewriteEngine On
    Redirect 301 /old-url /new-url
    Redirect 301 /old-url2 /new-url2
    Redirect 301 /old-url3 /new-url3
    </IfModule>
    #39842
    AITpro Admin
    Keymaster

    You can add Redirect htaccess code in either of these 2 BPS Root Custom Code text boxes. After adding your Redirect htaccess code to BPS Custom Code, click the Save Root Custom Code button, go to the Security Modes page and click the Root Folder BulletProof Mode Activate button.

    1. CUSTOM CODE TOP PHP/PHP.INI HANDLER/CACHE CODE
    or
    14. CUSTOM CODE BOTTOM HOTLINKING/FORBID COMMENT SPAMMERS/BLOCK BOTS/BLOCK IP/REDIRECT CODE

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.