Viewing 5 replies - 1 through 5 (of 5 total)
  • Change the urls back. See Changing_The_Site_URL for details of how to do this correctly without logging in.

    Thread Starter Holmey1

    (@holmey1)

    Thanks esmi

    Can you let me know how I can change the site so it doesn’t need the www too please.

    Holmey

    Try adding:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^furniturefarm\.co\.uk$ [NC]
    RewriteRule ^(.*)$ https://www.furniturefarm.co.uk/$1 [R=301,L]

    to the top of your root .htaccess file

    Thread Starter Holmey1

    (@holmey1)

    That not worked, but I am running Bulletproof Security on the site and chances are I’ve put it in the worong place/wrong .htaccess file, (there are so many).

    I’ll look into this later thanks, I’m just glad I’ve got the site back up at the moment ??

    Holmey

    BPS Custom Code instructions for www to non-www and non-www to www:

    1. Copy the WP REWRITE LOOP START .htaccess code below to this Custom Code text box: CUSTOM CODE WP REWRITE LOOP START: Add www to non-www/non-www to www code here

    IMPORTANT NOTE: If your WordPress site is installed in a subfolder then add the folder name to the RewriteBase line of code. Example: WordPress is installed in a folder named “myblog”. The RewriteBase would be RewriteBase /myblog/.

    www to non-www

    # WP REWRITE LOOP START
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} ^www\.domainname\.com$ [NC]
    RewriteRule ^(.*)$ https://domainname.com/$1 [R=301,L]
    RewriteRule ^index\.php$ - [L]

    non-www to www

    # WP REWRITE LOOP START
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} ^domainname\.com$ [NC]
    RewriteRule ^(.*)$ https://www.domainname.com/$1 [R=301,L]
    RewriteRule ^index\.php$ - [L]

    2. Click the Save Root Custom Code button.
    3. Go to the Security Modes page, click the Create secure.htaccess File AutoMagic button and activate Root folder BulletProof Mode again.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Changed https://www to https:// and site down?’ is closed to new replies.