Profile Image Not Display in Subdomain/Subdirectory Site
-
Hi there..
Profile image that i uploaded from my computer won’t display if WordPress Address (URL) was different from Site Address (URL).
My site homepage is different from the directory i installed WordPress.
Wordpress Address (URL): http://www.crafternesia.com/online
Site Address (URL): http://www.crafternesia.comSo i tried to add “online” in paths.php file before /wp-content/
line 11
define(‘_ABH_GRAVATAR_DIR_’, (is_dir(ABSPATH . ‘online/wp-content/uploads’) ? ABSPATH . ‘online/wp-content/uploads/gravatar/’ : _ABH_ROOT_DIR_ . ‘/gravatar/’));and
line 26
define(‘_ABH_GRAVATAR_URL_’, (is_dir(ABSPATH . ‘online/wp-content/uploads/gravatar’) ? get_bloginfo(‘url’) . ‘online/wp-content/uploads/gravatar/’ : _ABH_URL_ . ‘/gravatar/’));And it works..
- The topic ‘Profile Image Not Display in Subdomain/Subdirectory Site’ is closed to new replies.