Hello,
I run a website for a client and we've encountered a strange issue. There's a file at /home/user/public_html/file1.png that when I call this file in my internet browser http://website.com/file1.png I see it, when I rename the file to file2.png and call file1.png, I get error 404 (logically) and when I enter file2.png in browser, I see the file fine. Also when I check both on https, I get the correct response.
But my client that is his website, he says when he enters http://website.com/file1.png he sees it. Then he renames it to file2.png and he sees both http://website.com/file1.png and http://website.com/file2.png. Even when he moves file2.png to one directory backward, when he enters http://website.com/file1.png and http://website.com/file2.png, he sees again them both.
But when I check https://website.com/file1.png (which exists now), it shows. I rename it to file2.png, now https://website.com/file1.png has error 404 and only https://website.com/file2.png works.
I told the hosting and they said there's nothing wrong with server configuration (and I think that's correct).
Could you help me how can I fix this if I can? I only have cPanel access.
I run a website for a client and we've encountered a strange issue. There's a file at /home/user/public_html/file1.png that when I call this file in my internet browser http://website.com/file1.png I see it, when I rename the file to file2.png and call file1.png, I get error 404 (logically) and when I enter file2.png in browser, I see the file fine. Also when I check both on https, I get the correct response.
But my client that is his website, he says when he enters http://website.com/file1.png he sees it. Then he renames it to file2.png and he sees both http://website.com/file1.png and http://website.com/file2.png. Even when he moves file2.png to one directory backward, when he enters http://website.com/file1.png and http://website.com/file2.png, he sees again them both.
But when I check https://website.com/file1.png (which exists now), it shows. I rename it to file2.png, now https://website.com/file1.png has error 404 and only https://website.com/file2.png works.
I told the hosting and they said there's nothing wrong with server configuration (and I think that's correct).
Could you help me how can I fix this if I can? I only have cPanel access.