In WordPress posts images urls are absolute or relative to base domain? | Wordpress Support | Free Forums

All Wordpress Forum requests have been moved to Wordpress Support Forums

 

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
In WordPress posts images urls are absolute or relative to base domain?
March 12, 2015
3:57 pm
Avatar
Aahz
New Member
Forum Posts: 2
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

Hello,

Sorry if my question would seem dumb, as i'm more of a Joomla user, and in Joomla, the editor's default setting for url behaviour is set as relative to base domain, thus when moving a Joomla site to another domain, all images inside articles are kept with unbroken source urls.

In WordPress i noticed that when i open a post with images i see there absolute urls for images, example src="http://maindomain.com/wp-content/uploads/2015/03/imgo1.jpg", which indicates me that restoring a WordPress site backup to another domain using XCloner would lead to all images in posts having a broken source url, because the main domain would change.

How does XCloner deal with this issue? How do you move a WordPress site to another domain while keeping post images source urls unbroken?

Thanks a lot!


March 16, 2015
7:50 am
Avatar
XCloner! Support
Admin
Forum Posts: 2485
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

XCloner does not replace the absolute paths in the DB, you need to use another plugin for search and replace like https://wordpress.org/plugins/search-and-replace/ for this.

Please consider our XCloner Premium Support or making a Donation XCloner.com – Backup Made Easy!
March 16, 2015
9:19 am
Avatar
Aahz
New Member
Forum Posts: 2
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

Thank you for reply. I kind of figured that out my self these days, and i think it would be a good gesture to mention that fact in XCloner documentation in regard of WordPress migration.

All the best.

Forum Timezone: UTC 0

Most Users Ever Online: 867

Currently Online:
13 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tom_1: 70

mlguru: 33

Django29: 29

D: 21

Andy: 21

Marcus: 20

Member Stats:

Guest Posters: 737

Members: 36745

Moderators: 1

Admins: 1

Forum Stats:

Groups: 3

Forums: 7

Topics: 2510

Posts: 8407

Newest Members:

HaiveAt HaiveAt

Moderators: Ovidiu - Support!: 0

Administrators: XCloner! Support: 2485

Quick contact

place

Hi there, my name is Ovidiu Liuta and i support the XCloner! project
XCloner is a Joomla backup component, Wordpress backup plugin and Free website backup tool.
Contact me here!

About company

XCloner.com is a dynamic company focusing on providing backup and recovery solutions for small to medium websites.
We are based in Romania and offer 24/7 support through forums and our private ticket system for Premium users support.

© 2019 XCloner - Website Backup and Restore made simple
All Rights Reserved | Privacy Policy