Home › Forums › Redirect loops › .htaccess is not working "page ins't redicting properly"
- This topic has 7 replies, 2 voices, and was last updated 5 months, 1 week ago by
Mark.
- AuthorPosts
8vasa8
ParticipantHello,
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
Mark
KeymasterHi,
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/
8vasa8
ParticipantHello,
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 SEOI don’t really know what to do. I am sorry for my english.
Thanks again
Mark
KeymasterPossibly 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://.
8vasa8
ParticipantMark
KeymasterI 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.
8vasa8
ParticipantOkay thank you. Can you please delete my htaccess from here? I can’t do it now.
Mark
KeymasterSure, it has been deleted.
- AuthorPosts