J!Extensions Store™
Faq I changed the website domain, how may i avoid to lose all metainfo?

I changed the website domain, how may i avoid to lose all metainfo?

Created on:Monday, 06 April 2015 22:00

All metainfo records specified in the MetaInfo Dashboard of JSitemap are associated to unique URLs, so if you change URLs on the website the related metainfo won't apply anymore.


If for some reason you need to change the domain of your website, for example to upgrade to the 'https' protocol, the easiest method to reapply existing metainfo to new links is the following one:

  1. Export in the backend, clicking on the toolbar button 'Export metainfo', all existing metainfo associated to links belonging to the current domain, for example http://www.mysite.com. Notice that to do this you have to access the Joomla! backend using your existing domain http://www.mysite.com/administrator or to have configured JSitemap to use the domain http://www.mysite.com for sitemap links
  2. Use a text editor of your choice to replace automatically all links domain included in the exported csv file, for example to have all links pointing to the new domain https://www.mysite.com
  3. Import in the backend, clicking on the toolbar button 'Import metainfo', the csv file including all new replaced URLs. Notice that to do this you have to access the Joomla! backend using the new domain https://www.mysite.com/administrator or to have configured JSitemap to use the domain https://www.mysite.com for sitemap links


As an alternative you could even change and update directly all links stored in the database through phpMyAdmin, metainfo records are stored in the database table named #__jmap_metainfo