• Hi, I created two websites using wordpress (The other one is actually the clone of my other wordpress site) and used the same wordpress database(so 2 websites to one database). My problem now is that, the images is not synced to my clone site…is there any possible solution on this??

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    You could create a symlink in the clone’s wp-content folder in place of the uploads folder. The symlink would lead to the original site’s uploads folder. One needs terminal access to do this I believe.

    Another approach is to use .htaccess to rewrite requests for images in the clone’s uploads folder to the images in the original site’s uploads folder.

    The caveat here is that all images must be uploaded using the original site’s media library. Anything uploaded through the clone will not be accessible. So it is not a true sync solution.

    A true sync solution is rather complicated and something to be avoided IMO. I’m not even sure how to implement one. Probably some sort of module installed on your server, which would be beyond the scope of a typical shared hosting setup I would think, though I may be wrong.

Viewing 1 replies (of 1 total)
  • The topic ‘How to sync images to my subdomain’ is closed to new replies.