Support » Plugin: All In One WP Security & Firewall » .htaccess content after migrating site from localhost to server

  • Resolved mhenschel

    (@mhenschel)


    Hi,
    I have set up my site on a localhost and then migrated the site to a web server. There are entries from AIOWPS, which now refer to my localhost.
    e.g. in
    #AIOWPS_BLOCK_SPAMBOTS_START
    RewriteCond %{HTTP_REFERER} ….
    RewriteRule …
    Do I have to change those settings manually or is there a way that AIOWPS refreshes or renews those settings?

    Thanks Michael

    https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/

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

    (@mra13)

    You can change them manually but that is not recommended (it will be easy to make a mistake if you try that approach).

    Go to the admin dashbard of the securtiy plugin. Deactivate the feature in question and save it. Then reactivate it, the plugin will re-write the htaccess file with correct URL values.

    Which feature is writing the entries in #AIOWPS_BLOCK_SPAMBOTS_START?
    All features I disabled and enabled didn’t change the localhost entry “RewriteRule .* http://127.0.0.1 [L]” in the section for #AIOWPS_BLOCK_SPAMBOTS_START in the htaccess file.

    Plugin Author wpsolutions

    (@wpsolutions)

    That’s in the SPAM menu and the feature is:
    Block Spambots From Posting Comments

    Thanks for the support.

    The entry “RewriteRule .* http://127.0.0.1 [L]” stays the same after disabling and enabling Block Spambots From Posting Comments.
    But I don’t have the knowledge anyway to judge if this is right or wrong. So maybe this is the correct entry.

    Michael

    Plugin Author wpsolutions

    (@wpsolutions)

    Hi Michael,
    Yes that’s right this is the correct directive entry for that feature. (Basically the SPAMBOT is being redirected back to its localhost)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘.htaccess content after migrating site from localhost to server’ is closed to new replies.