WordPress.org

Ready to get started?Download WordPress

Forums

Images gone.... sitewide (4 posts)

  1. ericzad
    Member
    Posted 5 years ago #

    Help.. Everything was cool on Monday, now all my images are gone including the ones with the templates and all uploaded images. If I go upload a NEW image it works fine. Could this be a problem with my htaccess file setting the new directory? I set to make the homepage wayneglessner.com/wp Now it's like it's not inserting the /wp/ as a base href and loosing all the images BUT everything else works. Also lost are all the images in the dashboard....

    http://www.wayneglessner.com
    (might have to type the addy in since one of the suggestions was to turn on hotlink protection)
    Thanks,
    e

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    Error 403: You don't have permission to access /wp/index.php on this server.

  3. ericzad
    Member
    Posted 5 years ago #

    (might have to type the addy in since one of the suggestions was to turn on hotlink protection)

    It's got to be my htaccess, removed the links and images work fine but it's obviously not going to make the wp index file my homepage...

    Here's what I've got, any suggestions?

    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://wayneglessner.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://wayneglessner.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.wayneglessner.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.wayneglessner.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.wayneglessner.com/wp/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.wayneglessner.com/wp$ [NC]
    RewriteRule .*\.(.*)$ - [F,NC]

  4. esmi
    Forum Moderator
    Posted 5 years ago #

    Make a backup of that file. Then wipe your .htaccess file so that it's completely blank. Reaset the permalinks to the default settings, save and then reset the permalinks back to your custom settings. This will let WP create a fresh .htaccess file that should work.

    I'm not convinced that you need of all your previous Rewrite rules but, if you do, try adding them one at a time - running a full site check after each addition. Could be there's just 1 rule (or a combination of rules) that's causing your problem.

Topic Closed

This topic has been closed to new replies.

About this Topic