Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have deleted all files and all hidden files off my server, there is nothing but log files which cannot be deleted.

Ironically, files are accessible when nothing is there. Cache cleared, multiple browsers and computers/devices checked.

Files show when I exclude "www" from the URL

http://sarastringfellow.com/assets/photo/c.jpg

http://www.sarastringfellow.com/assets/photo/c.jpg

What does this mean?

share|improve this question
    
I get a 404 on both URLs. I'd guess that your files had to have been loading from a server cache. –  s_ha_dum Dec 15 '12 at 18:46
    
I get a 404 error on both links too. –  WiMantis Dec 15 '12 at 18:46
    
me too, it must have finally refreshed. thanks guys. –  user10560 Dec 15 '12 at 19:07
    
server cache finally refreshed... –  user10560 Dec 15 '12 at 19:07
6  
I actually see the image on both URLs!? (And it's the first time I have visited those URLs.) - A B&W photo of a lady lying on the beach looking at the camera. –  w3d Dec 15 '12 at 23:03
show 3 more comments

2 Answers

Your hosting company may have cached them or copied them to a second server. I've come across this and had to put in a support ticket to the hosting company explaining i've deleted all files from the root folder and they still appear. The hosting company had to do the deletion from whatever server they had been copied to.

share|improve this answer
add comment

Deleted? You don't delete files when you don't want people accessing domainname.com without the www.

You should use a .htaccess in the root of your wordpress install folder.

Make this file '.htaccess' with the following:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^sarastringfellow\.com$ [NC]
RewriteRule ^(.*)$ http://www.sarastringfellow.com/$1 [R=301,L]

This will make anyone attempting to view the site or images without the www redirect to the site which has www. before it.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.