+ 2
Why is only home page secure with https and the other pages of my site are not ?
The other pages of my site are not secure,only my home page is
58 odpowiedzi
+ 2
I changed nameserveres of my domain, I got the new nameservers from cloudframe,so now I have https and my site is secure, but I created a new page but it's not secure, I wonder why, just the main page of my site is secure
+ 2
Your website is not made from scratch, it is a wordpress based site, you cannot use it without wordpress
If you want you can create a new website, purely using HTML css javascript, and PHP
+ 1
i hope you did it the right way.. any one of the below steps would be more than enough
first step: to check the settings > general > addres and site url
second step : To check .htaccess file..
And add this content at the top of the file
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>
Third Step : to edit wp-config file and add the Constants
define('FORCE_SSL', true);
or
define('FORCE_SSL_ADMIN', true);
Forth Step : to look for database if any table contains http://
Fifth Step : To use some SSL plugins
That's all, any one of the method should work
+ 1
Ayman the same way you did for WordPress, except you don't have to use wordpress from infinixfree you have to directly upload your project in htdocs
+ 1
One more thing for free hosting, try 000webhost it's better and i use it for testing purpose
+ 1
It's the login page and the authentication page IMHO 🙄
0
In cloudflare there is an option to force https, try that..
And apart from that, sometimes the caching might be issue, so purge all the caches from cloudflare..
0
I purged everything, it still didn't work, so where can I find that option of forcing https?
0
Actually I'm using that option "always use https" but still doesn't work, new pages in my site are not secure
0
Have youo modified the htaccess file?
0
Try modifying, the .htaccess file in your hosting server's public_html folder, and add this content at the top before any other content in that file
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
0
Do you recommend a good file manager? My current file manager doesn't have a search field
0
Where have you hosted your WordPress website? And how do you access your backend files which are stored on the server..
0
I hosted my WordPress in Infinityfree website, I access to the folders and files through file manager in control panel
0
Yes then it's good enough, so you should have access to .htaccess file within the public_html directory
0
I found a folder called "htdocs" inside it there is a "htaccess" file, do you mean that?
0
Oh yes, it is .htaccess right? Modify that, with the above content I mentioned
make sure you DON'T remove the previous content of that file
0
I modified it, now my website doesn't work
When I open a page of my site I fine this message
"Found
The document has moved here ("here" is a link)
Additionally, a 302 Found error was encountered while trying to use an ErrorDocument to handle the request"
0
Did you removed the previous content??
Undo the changes and please share the. htaccess file using pastebin, so we could understand whether you are modifying right file or not