• Resolved batteriesInc

    (@batteriesinc)


    I had an interesting one whilst trying to clone a WP site which had a fully set up AIOWPS install: it would not load *any* images.

    Turns out that the .htaccess generated by AIOWPS contains some absolute rather than relative references to the site name in the #AIOWPS_BLOCK_SPAMBOTS_START and #AIOWPS_PREVENT_IMAGE_HOTLINKS_START sections.

    I’m not sure it’s possible to make those references relative as they pick up from the URL, but if you restore a site backup to somewhere else you will have to adjust the site URL reference in the RewriteCond %{HTTP_REFERER} statement, or admin menu icons, media thumbnails and theme previews will not work.

    • This topic was modified 5 years, 3 months ago by batteriesInc.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, thank you for sharing this information.

    I have a policy about moving sites from one location to another location. I always disable AIOWPS plugin or after I moved the site to the new location, I reinstall AIOWPS plugin again. This action prevents issues like the one you described above.

    Kind regards

    Thread Starter batteriesInc

    (@batteriesinc)

    It would be cool if there was a switch to SUSPEND the plugin which would re-apply the settings but pick up current site data as setting it up takes quite some time and I appreciate not having a login at /wp-admin from the moment the site is live.

    I guess at present the “Settings – Copy/Paste import” feature is the only way to achieve that quickly..

    That said, the restored site worked immediately the moment the .htaccess adjustment was made, so I think I’ll keep this approach for now.

    Anyway, case closed ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cloned sites do not show images/icons/thumbnails: the fix’ is closed to new replies.