Help! A piece of code is duplicating after uploading, even with FileZilla

### Website URL

I am new to coding, this is my first time uploading anything to a hosting site. I used FileZilla and everything seemed to upload correctly.

However, when I click on the URL to view my website, a piece of code is being duplicated. The green bubbles at the top and bottom of this site are not a piece of the original code, and when I go into the Infinityfree file manager, the code listed there is the same as the code in my original files.

How do I fix this?

It is working fine for me!
For some reason, I cannot upload an screenshot.

1 Like

I see this, if you see something else then try clearing your browser cache and then refresh the page

8 Likes

Thanks for your help!

1 Like

No problem :+1:

Just FYI

The browser cache can be a tricky thing and cause all sorts of issues when developing a website

One one thing that I have found to be a real nightmare is when the browser caches a .css file because then no matter how many times you try to clear the cache the .css file persists

If you ever find you have this issue then add a version number after your file name and when you make a change increase the number, this will force the browser to re-read the .css file and cache the new version

Example

<link rel='stylesheet' type='text/css' href='style.css?css=0001' />
4 Likes

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