Support

Site Restoration

#15282 Changing URL when transfer to another domain

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by nicholas on Thursday, 07 March 2013 01:42 CST

anandmahey

Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? No
Have I searched the tickets before posting? No
Have I read the documentation before posting (which pages?)? No
Joomla! version: (unknown)
PHP version: (unknown)
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Akeeba Backup version which took the backup: (unknown)
Kickstart version used to extract the backup: (unknown)

Description of my issue:

Β 

Hi Nicholas,

I am actually trying to restore and JPA file from Akeeba Backup to my Localhost (Xampp). the restoration goes on smoothly. The problem is, the URL (for all pages, images etc) are still that of my live site. I'd prefer them to be the url of my localhost (localhost/site). I've tried entering the sitename in Kickstart, but that didn't work. Tried Site Transfer Wizard, that didn't work either.

I'm testing this in case i need to transfer to another domain name.

Once i'm done testing backups on localhost, i'd like to proceed with testing on my live server.

nicholas
Akeeba Staff
Manager

This is a limitation of the WYSIWYG editor in Joomla! and the way web servers and browsers work. Annoying, isn't it? You'd have to either manually edit each of your articles by hand, or use an automated tool which will "translate" the broken URLs to the correct ones. I have built the second kind of fix inside Admin Tools. Please go to Admin Tools, SEO & Link Tools. Set "Enable link migration" to Yes and enter the following in the "Old locations (domain names)" text area:

www.example.com

where www.example.com is the domain name of your live site. Admin Tools will transparently perform the URL rewriting before Joomla! serves the page to the browser. Remember to turn off site caching (or clear Joomla!'s cache) after you enable this feature for obvious reasons.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

anandmahey

Hi Nicholas,

oh yes, thats terrible annoying! Admin Tools to the rescue as usual! :)

Is there a website where i can find out about the latest Joomla Threats?

Might there be a tool in Admin Tools similar to sh404SEF that i might not be aware of? Admin Tools is really packed with features, don't think i've explored everything yet.

nicholas
Akeeba Staff
Manager

Hello Anand,

There is no page specific to Joomla! threats. The closest thing that comes to mind is the Joomla! Vulnerable Extensions List which lists all extensions with known vulnerabilities. Items in green have been fixed by their developers; read the notes for the exact affected and fixed versions.

Admin Tools doesn't have the SEF and SEO features of sh404SEF. It does have much more thorough security features than sh404SEF. I'd recommend using sh404SEF as an SEO extension and Admin Tools as a security extension. This is what each extension was designed for anyway :)

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

anandmahey

Hi Nicholas,

Thank you for the wonderful response and also for Admin Tools. I don't think i can function without Admin Tools now. haha!

I'm considering MijoSEF, it seems to have better reviews than sh404sef on extensions.joomla.org.

I'm also wondering if Admin Tool's WAF Generator tag might come into a conflict or even be overwritten if the meta tag function of these SEF extensions is used?

nicholas
Akeeba Staff
Manager

AFAIK the Generator tag doesn't work in recent versions of Joomla!. That said, this option was added in Joomla!'s Global Configuration, so you don't really lose any overall functionality.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!