I want to redirect
https://example.com/index.php
to http://example.com/index.php
how can I do that please cuz am trying to use an iframe and it says you are trying to use the unsecured script and am sure it secure can someone help me fast, please
I want to redirect
https://example.com/index.php
to http://example.com/index.php
how can I do that please cuz am trying to use an iframe and it says you are trying to use the unsecured script and am sure it secure can someone help me fast, please
i did and the conent didnt show up the script didnt load
this is the iframe
<iframe src="http://www.gameflare.com/embed/rise-of-champions/" frameborder="0" scrolling="no" width="700" height="530"></iframe>
it didnt even show up in the message
my site is running on https protocol I can put HTTP frame on it I need to change the protocol of the page to HTTP only this page while all other pages run in https
this is the page URL https://gamehup.tk/rise-of-champions.php
like you can see the frame doesn’t appear in the page
The url in the iframe was not found and made an 404 error.
yea i waited too much time and no one answer so i just deleted it
Hi @AwadGorg!
For those with other similar issues, we can deactivate the HTTPS redirect rules, however Google Chrome will redirect to HTTPS. Therefore we may need a header to overcome this problem. Please try the following method:
Please go to:
Cloudflare cPanel > Crypto > Automatic HTTPS Rewrites > Off
Cloudflare cPanel > Crypto > Always use HTTPS > Off
Cloudflare cPanel > Crypto > SSL > Flexible
Cloudflare cPanel > Page rules > Disable Always use HTTPS
rule
Go to File Manager > /public_html/.htaccess
> Append the following code:
Â
Header set Strict-Transport-Security "max-age=0;"
it said Application error
An error occurred in the website and your page could not be displayed. If you are the website owner, check your logs for details.
this is my htaccess file what is cuzing the problem
php_value display_errors 1
IndexIgnore *
#Alternate default index pages
ErrorDocument 404 /404error.html
Strict-Transport-Security “max-age=0;”
Header set X-Frame-Options DENY
Header set X-Content-Type-Options nosniff
<FilesMatch “.(js|css|xml|gz)$”>
Header append Vary: Accept-Encoding
ExpiresActive on
ExpiresDefault "access plus 1 month"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/atom+xml "access plus 1 hour"
ExpiresByType application/rdf+xml "access plus 1 hour"
ExpiresByType application/rss+xml "access plus 1 hour"
ExpiresByType application/json "access plus 0 seconds"
ExpiresByType application/ld+json "access plus 0 seconds"
ExpiresByType application/schema+json "access plus 0 seconds"
ExpiresByType application/vnd.geo+json "access plus 0 seconds"
ExpiresByType application/xml "access plus 0 seconds"
ExpiresByType text/xml "access plus 0 seconds"
ExpiresByType image/vnd.microsoft.icon "access plus 1 week"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresByType text/html "access plus 0 seconds"
ExpiresByType application/javascript "access plus 1 year"
ExpiresByType application/x-javascript "access plus 1 year"
ExpiresByType text/javascript "access plus 1 year"
ExpiresByType application/manifest+json "access plus 1 week"
ExpiresByType application/x-web-app-manifest+json "access plus 0 seconds"
ExpiresByType text/cache-manifest "access plus 0 seconds"
ExpiresByType audio/ogg "access plus 1 month"
ExpiresByType image/bmp "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/svg+xml "access plus 1 month"
ExpiresByType image/webp "access plus 1 month"
ExpiresByType video/mp4 "access plus 1 month"
ExpiresByType video/ogg "access plus 1 month"
ExpiresByType video/webm "access plus 1 month"
# Embedded OpenType (EOT)
ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
ExpiresByType font/eot "access plus 1 month"
# OpenType
ExpiresByType font/opentype "access plus 1 month"
# TrueType
ExpiresByType application/x-font-ttf "access plus 1 month"
# Web Open Font Format (WOFF) 1.0
ExpiresByType application/font-woff "access plus 1 month"
ExpiresByType application/x-font-woff "access plus 1 month"
ExpiresByType font/woff "access plus 1 month"
# Web Open Font Format (WOFF) 2.0
ExpiresByType application/font-woff2 "access plus 1 month"
ExpiresByType text/x-cross-domain-policy "access plus 1 week"
AddType application/x-httpd-php .xml
#rederect
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} libwww-perl.*
RewriteRule .* ? [F,L]
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.gamehup.tk [NC]
RewriteRule ^(.*)$ https://gamehup.tk/index.php$1 [L,R=301]
RewriteEngine on
RewriteCond %{HTTP_HOST} ^gamehup.000webhostapp.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www.gamehup.000webhostapp.com [NC]
RewriteRule ^(.*)$ https://gamehup.tk/index.php [L,R=301,NC]
RewriteBase /
#only for the root directory
RewriteCond %{REQUEST_URI} ^/$
#if the uri is not already index.php
RewriteCond %{REQUEST_URI} !^/index.php [NC]
RewriteRule ^$ /index.php [R=301,L]
I refrain my answer. Try Header set Strict-Transport-Security "max-age=0;"
instead.
it retern thisThis site can’t be reached
gamhup.tk’s server DNS address could not be found.
Domain gamhup.tk
is no longer parked to Cloudflare.
Did you removed Cloudflare’s Name Servers from Freenom cPanel?
nope i didnt remove them
Please check your Freenom cPanel at gamhup.tk
at Name Servers section.
Make sure gamhup.tk
is configured with Cloudflare’s Name Servers.
I check it but it didn’t work the site give me Error 500
the name server is correct
I have fixed the headers problem (check the .htaccess
)
However the whois of gamehup.tk
shows no Name Servers still
This problem is not related to 000webhost but to registrar not returning Name Servers on DNS lookup. Please contact Freenom and ask them about this problem. Tell them the DNS settings for gamehup.tk
suddenly no longer propagate.