Images not appearing after moving to subdirectory
-
I moved my wordpress to a subdirectory per the article https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory
.htaccess and index.php are both in the root. All other files are in the /wordpress subdirectory.
This is my .htaccess created by WordPress:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Custom permalink: /%postname%
WordPress URL: https://www.domain.com/wordpress
Blog URL: https://www.domain.comPermalinks and overall navigation works just fine. It’s the images that are not appearing. The images will only appear if the subdirectory name is included:
Works: https://www.domain.com/wordpress/images/logo.jpg
Does not work: https://www.domain.com/images/logo.jpgAny ideas?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Images not appearing after moving to subdirectory’ is closed to new replies.