WordPress.org

Support

Support » Plugins and Hacks » [Resolved] .htaccess copy to other sites

[Resolved] .htaccess copy to other sites

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author AITpro
    Participant

    @aitpro

    Yes, you could do that, but ideally you would want to install BPS on each WordPress site so that you have all the tools and features in BPS. If you have a Network/Multisite installation of WordPress then BPS is only activated on the Primary site (not Network Activated) and not all the subsites.

    If you have standard single site installations of WordPress then the only thing you would need to manually modify would be your RewriteBase and RewriteRules to match the sites base folder. This is one of the things that AutoMagic does automatically when you click the AutoMagic buttons.

    but if you wanted to do this manually here is an example:

    if you have a WordPress site installed in /FolderA you would need to edit the Root .htacces file for that site.

    your RewriteBase would be RewriteBase /FolderA/ and your RewriteRules would be RewriteRule . /FolderA/index.php [L]

    The wp-admin .htaccess file will work on any/all sites without having to make any modifications.

    myallenmedia
    Member

    @myallenmedia

    but since each wordpress install is in it’s own folder which is a subfolder off the root then .htaccess should copy there with no issues.

    Plugin Author AITpro
    Participant

    @aitpro

    Is the website that you have BPS installed on its own folder? If so, take a look at the RewriteBase in the root .htaccess file. Is the RewriteBase this: RewriteBase / with just a forward slash and not the folder name that this site is installed in? If the folder name for this website is in the RewriteBase for example lets say this site is installed in a folder called – /MyWordPressSite1 its RewriteBase is RewriteBase /MyWordPressSite1/ then if you have another site installed in folder /MyWordPressSite2 then that site’s RewriteBase is going to be RewriteBase /MyWordPressSite2/. So you need to see what is in your current root .htaccess file so that you can then make the edits for each website if necessary. Or of course you can install BPS on each site, click the AutoMagic buttons and activate BulletProof Modes.

    Plugin Author AITpro
    Participant

    @aitpro

    Can this Thread be resolved? If so, please mark it as resolved. Thank you.

    myallenmedia
    Member

    @myallenmedia

    resolved

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] .htaccess copy to other sites’ is closed to new replies.