Images not displayed on transfer site using temporary URL
Permalink
I am transferring my site to a new host.
I have transferred the files and database and updated the site.php and it looks good except images are not displaying.
Current working site:www.www.hobartwalkingtours.com.au...
Temporary URL provided by new host:http://112.140.176.40/~hobartwa/...
Valid image path for header image:http://112.140.176.40/~hobartwa/files/9613/3023/5042/hwt_logo4.png...
new temporary site is looking forhttp://112.140.176.40/files/9613/3023/5042/hwt_logo4.png...
Obviously the new site doesn't include the ~hobartwa in the file name resolution???
How can I get the temporary URL site fully functioning with images under the temporary URL and be confident that it will still work when I change the DNS server names to the new host?
site.php:
<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'hobartwa_hwt');
define('DB_PASSWORD', 'password');
define('DB_DATABASE', 'hobartwa_conc5');
define('PASSWORD_SALT', 'long string');
define('FORM_BLOCK_SENDER_EMAIL ','sentform@hobartwalkingtours.com.au');?><?php ?><?php define('DIRNAME_APP_UPDATED', 'concrete5.6.1.2_updater');?>
Thanks
I have transferred the files and database and updated the site.php and it looks good except images are not displaying.
Current working site:www.www.hobartwalkingtours.com.au...
Temporary URL provided by new host:http://112.140.176.40/~hobartwa/...
Valid image path for header image:http://112.140.176.40/~hobartwa/files/9613/3023/5042/hwt_logo4.png...
new temporary site is looking forhttp://112.140.176.40/files/9613/3023/5042/hwt_logo4.png...
Obviously the new site doesn't include the ~hobartwa in the file name resolution???
How can I get the temporary URL site fully functioning with images under the temporary URL and be confident that it will still work when I change the DNS server names to the new host?
site.php:
<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'hobartwa_hwt');
define('DB_PASSWORD', 'password');
define('DB_DATABASE', 'hobartwa_conc5');
define('PASSWORD_SALT', 'long string');
define('FORM_BLOCK_SENDER_EMAIL ','sentform@hobartwalkingtours.com.au');?><?php ?><?php define('DIRNAME_APP_UPDATED', 'concrete5.6.1.2_updater');?>
Thanks
What do you see when you echo BASE_URL . DIR_REL?
If you see the correct path, the block you're using to display the image doesn't use the right path, I think. What kind of block are you using? A 'content'-block or something else?