Support » Fixing WordPress » Problem with subdomain and photos hosting

  • Hi.. I tried today to move my photos to a subdomain, but i have big problems..

    My site is here:

    So from the start..

    1) I have wordpress site installed in the root : Website at httpdocs

    2) I made from plesk a subdomain :
    Website at httpdocs/images

    3) In httpdocs folder ( root of my wordpress install) i have made a folder “images” . ( httpdocs/images )

    4) I removed my images from wp-content/uploads to httpdocs/images folder

    5) In the admin panel, in media settings i had put these:


    6) I have run these 2 sql commands

    – UPDATE posts SET post_content = REPLACE(post_content,’’,’’)

    – UPDATE posts SET guid = REPLACE(guid,’’,’’)

    7) i added :
    RedirectMatch 301 /wp-content/uploads/(.*)$$1 in .htaccess

    After all of these my site had almost all photos broken, i couldn’t make new uploaded photos to be appeared, but a little of the photos were moved in new path and showing good …

    For example:

    So now i moved back from admin panel to the old path for photos … and i have two destination photos! The new like this:

    and the old like this:


    What is the mistake? Please HELP!!!!

Viewing 1 replies (of 1 total)
  • could you see any mistake? Maybe the different name of the folder images and the subdomain

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with subdomain and photos hosting’ is closed to new replies.