Support » Fixing WordPress » Problems with media uploading after moving to subdirectory

  • Hi all,

    I moved my WordPress site to a subdirectory as specified in the Codex instructions. I made sure my htaccess and index.php files were copied to the root directory. After doing this I saved my permalinks settings. All page links and posts work well after the transfer. However, all of my past media uploads (images, PDFs) do not work after the move. When I insert a link to a PDF or place an image on a page, the URL is correct (my subdirectory/wp-content/…), but either the image does not show (marked with an X, or the PDFs only download to the harddrive. In the past, I could specify a PDF to open in a new window and it would work.

    I have a feeling there is something wrong with my htaccess file or a server permission. Before the move, I did insert the following into my htfaccess file to protect the wp-config.php file:

    <Files wp-config.php>
    Order Allow,Deny
    Deny from all
    </Files>

    Thanks for any help!

  • The topic ‘Problems with media uploading after moving to subdirectory’ is closed to new replies.