Source

why when i view the source code of my website it shows different source code (can’t view when the link contains https)

There are many reasons why that could happen, it’s hard to know without being able to see the page for yourself, knowing what you expect to see and what you actually see.

The most likely option I can think of: please try to clear your browser cache or check the page in incognito/private browsing mode to circumvent any outdated copies of the pages being stored in your browser.

6 Likes

i view my web source code with an external application and it shows a different source code from my web

You are likely limited by this

9 Likes

Can you please provide some screenshots?
What are you trying to get?

Some guessing:
If you are trying to see HTML comments, and your site is using infinityfree nameservers, then sorry, you couldn’t see it from web inspectors.

7 Likes

I’m sorry, but that reply doesn’t answer any of the questions I asked you:

  • What’s the page URL?
  • What’s the content you expected to see?
  • What’s the content you actually see?
10 Likes

I just wonder why can’t see my web source code

Your question is still too vague.

What’s the application?

What kind of source code are you trying to get?

How is it different?

Without these, nobody is able to help you.


Some guessing again:
PHP codes are processed in the server before the page was transmitted,so there’s no way you can get PHP source codes over a HTTP connection. You can only get them through FTP.

5 Likes

I can’t link JavaScript code from another page of my web to the linking page

Oops, this turned out to be multiple posting.


Just found out about this detail. Do you have a valid ssl certificate? If not, follow these guides to get one and install it.

(This one is for comparing certificates)

4 Likes

I already have. when i view my website source code it shows different code

But can you please share your website URL and screenshots of the code so we can actually help you better? Only describing the issue isn’t enough!

4 Likes

so please try to see the source code of this website : https://test560.free.nf/exe.html

There you have it:

Screenshot 2023-07-09 alle 11.24.13

And here’s also what’s been shown:

Is that what you’re seeing on your screen?

3 Likes

I can’t view it on my phone. It shows a different code

Please screenshot it.
I was also getting “Hello” on mobile.

3 Likes

I mean the source code of the web

I get this:


What are you getting? Please screenshot it.

2 Likes

This

Please paste it here, with “Pre-formatted text” option.
We can’t see your pic fully.


Oops, I should know that this is the security system.

4 Likes