Links inside wordpress site are not opening after installing Cloudflare SSL
-
I have intalled ssl through Cloudflare for my domain aus.ac.in. I can access the url fine but all the other links under the dropdown from header wont open
Getting this error all over the places: (index):158 Mixed Content: The page at ‘https://www.aus.ac.in/’ was loaded over HTTPS, but requested an insecure script ‘https://www.aus.ac.in/wp-includes/js/twemoji.js?ver=6.2’. This request has been blocked; the content must be served over HTTPS.
This is my .htaccess:
#BEGIN Really Simple SSL LETS ENCRYPT RewriteRule ^.well-known/(.*)$ - [L] #END Really Simple SSL LETS ENCRYPT # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / #For API access of posts RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule .* - [e=HTTP_AUTHORIZATION:%1] RewriteRule ^index\.php$ - [L] #RewriteRule ^harghartiranga\.html$ - [L] RewriteCond %{HTTP_HOST} !^www\. RewriteCond %{HTTPS}s on(s)|offs() RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [NE,L,R] # add a trailing slash to /wp-admin RewriteRule ^wp-admin$ wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^(wp-(content|admin|includes).*) $1 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] # New 12:55 27-2-18 RewriteRule ^(.+)?/(wp-.*) /$2 [L] RewriteRule . index.php [L] #RewriteRule . harghartiranga.html [L] #Temporary changes for Har Ghar Tirangaa 3rd Aug 2022 # RewriteRule ^home$ index.php [L] </IfModule> # Added on 29th Oct 2022 by bijay php_value upload_max_filesize 64M php_value post_max_size 128M php_value memory_limit 256M php_value max_execution_time 300 php_value max_input_time 300 Options -Indexes # END WordPress
I have tried to comment old rules and new ovveride rules in htaccess but it didnt work. It is hosted on-prem server. Also I cant access my wp-admin panel as well.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Links inside wordpress site are not opening after installing Cloudflare SSL’ is closed to new replies.