After SSL Redirection Web Site's Appearing Changed

Hi there, first of all I am zero to coding .

I need someone to help me to fix this issue. I entered the following both of the codes for SSL redirection based on your blog guideline. Now I am seeing the website in HTML form. So how to fix the issue on ftp? The home page looks normal, but the rest of the pages are appearing just like in the screenshot. The web site is written in PHP.

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]
RewriteEngine On
RewriteCond %{HTTP_HOST} ^yourdomain\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.