+ 4

My website refuses to show content in iframes, how do I fix that?

The website I'm trying to use on the iframe is mine, here is my code: https://code.sololearn.com/Wpp5KkMTTaWK/?ref=app

21st Jul 2020, 1:35 PM
Karak10
Karak10 - avatar
7 Answers
+ 12
Karak10 glad u found the solution so SSL was the issue
22nd Jul 2020, 11:45 AM
Khalid Shaikh
Khalid Shaikh - avatar
+ 8
The url you have used in src doesn't respond with a valid webpage. Please check ur url you can try changing your url to google.com and test it will work😁
21st Jul 2020, 2:15 PM
Khalid Shaikh
Khalid Shaikh - avatar
+ 8
Karak10 sorry brother but i cant view your website it isnt working also is your website hosted on a local or online server?
21st Jul 2020, 2:39 PM
Khalid Shaikh
Khalid Shaikh - avatar
+ 2
Khalid Shaikh I don't want the iframe to show google.com, I want it to show this specific website, if you copy paste the url in your browser you will see its valid, the problem is that my page does not permit iframes to show it, and I want to somehow fix that so outside sources can show my website in their iframes.
21st Jul 2020, 2:32 PM
Karak10
Karak10 - avatar
+ 2
I changed htpps to htpp and now it works
21st Jul 2020, 3:07 PM
Karak10
Karak10 - avatar
+ 1
Your url problem is there in program.
23rd Jul 2020, 3:46 AM
shubham kumar
shubham kumar - avatar
+ 1
Problem in domain name of website
23rd Jul 2020, 3:46 AM
shubham kumar
shubham kumar - avatar