[Support request] .htaccess is not working "page ins't redicting properly"

Home Forums Redirect loops .htaccess is not working "page ins't redicting properly"

This topic contains 7 replies, has 2 voices, and was last updated by  Mark Wolters 2 weeks ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #245198 Reply

    8vasa8
    Participant

    Hello,

    I want to make htaccess working but I am not able to set it up.

    I am now using WordPress 301 and it’s working okay. I have mixed content on.

    Every time when I try to set htaccess it said (turning off other wp301):

    The .htaccess redirect rules that were selected by this plugin failed in the test. The following redirect rules were tested:

    # BEGIN rlrssslReallySimpleSSL rsssl_version[3.2.2]
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTPS} !=on [NC]
    RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
    </IfModule>
    # END rlrssslReallySimpleSSL
    If the setting ‘do not edit htaccess’ is enabled, you can’t change this setting.

    I can’t even open test site. It’s 404

    If I put in htaccess page said: “page ins’t redicted prorerly”

    Try it with Stop editing the .htaccess file on and off.

    Nothing works everytime after putting this code to .htaccess it alwas fail.

    Can you help me with this?

    Can I provide you more information?

    Thanks

    #245311 Reply

    Mark Wolters
    Keymaster

    Hi,

    the tested redirect rules seem to fail the test, you can add the rules manually to see if that does work. Please follow the instructions here: https://really-simple-ssl.com/knowledge-base/manually-insert-htaccess-redirect-http-to-https/

    #245325 Reply

    8vasa8
    Participant

    Hello,

    thanks for your answer.

    So my test site show this:

    #SSL TEST PAGE#
    This page is used purely to test for SSL availability.
    
    #SERVER-HTTPS-ON# (on)
    #SERVERPORT443#
    
    #SUCCESFULLY DETECTED SSL#

    I read your post about manualy inserting code and it’s recommending the same code I have before.

    But If I put it manualy there then the “page ins’t redicting properly” shows everytime no matter what I do.

    I set “stop editing htaccees”. I tried remove everything but wordpress and yours code from htaccess.

    Every time there is “page ins’t redicting properly”

    I did’nt see HTTP HOST in test site so I tried put my domaing in code but nothing.

    This is my list of plugins maybe there is something meesing with it:

    Advanced Database Cleaner
    Akismet Anti-Spam
    BackWPup
    Contact Form 7
    Fusion Builder
    Fusion Core
    Google Analytics Dashboard for WP (GADWP)
    miniOrange 2 Factor Authentication
    Really Simple SSL
    Sassy Social Share
    Sendy for WooCommerce
    Simply Schedule Appointments
    Thrive Leads
    Unlist Posts & Pages
    WooCommerce
    WooCommerce One Click Upsell Funnel Pro
    WooCommerce PDF Invoices & Packing Slips
    Woo GoPay Inline
    WP Super Cache
    Yoast SEO

    I don’t really know what to do. I am sorry for my english.

    Thanks again

    #245333 Reply

    Mark Wolters
    Keymaster

    Possibly your site enters a redirect loop once the .htaccess redirect is set. There might be a conflicting redirect in the .htaccess file, could you post the contents of your .htaccess file? If the .htaccess redirect doesn’t work, the WordPress 301 redirect will also take care of redirecting http:// to https://.

    #245338 Reply

    8vasa8
    Participant

    [removed .htaccess contents on request]

    • This reply was modified 2 weeks, 2 days ago by  8vasa8.
    • This reply was modified 2 weeks ago by  Mark Wolters.
    #245364 Reply

    Mark Wolters
    Keymaster

    I don’t see any potential redirect issues here, so I’m not sure why the .htaccess redirect isn’t working correctly. You could try to use a couple of different redirects from the manually update .htaccess file link, contact your hosting provider about this issue or enable the WordPress 301 redirect.

    #245439 Reply

    8vasa8
    Participant

    Okay thank you. Can you please delete my htaccess from here? I can’t do it now.

    #245900 Reply

    Mark Wolters
    Keymaster

    Sure, it has been deleted.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: .htaccess is not working "page ins't redicting properly"
Your information: