Support

Akeeba Backup for WordPress

#22608 2 Akeeba capabilities questions

Posted in ‘Akeeba Backup for WordPress’
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

WordPress version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Monday, 11 May 2015 10:43 CDT

user86955
IMPORTANT! Please remember to ZIP and attach your backup log file. Without it we are unlikely to be able to help you with backup issues. Thank you!

I have 2 capabilities questions:
1. We are trying to convert to ssl. Can Akeeba be used to convert all extant URLs in database to ssl?

2. I would like to migrate my multisite to a new site for staging however, I do not want to include all of the websites - just a few of the main sites I need for testing. Is there a way to exclude sites during migration or to setup a back-up that does not include all sites?

nicholas
Akeeba Staff
Manager
1. I think so. When restoring a site the second to final page is the Replace Data page. You have two boxes, from and to. You can add one line in the from box reading http://www.example.com and a corresponding line in the second box reading https://www.example.com (where www.example.com is of course to be substituted with your site's domain name). Also take care to change any URLs in the right-hand side box starting with http:// to https://

That said, you're better off not going through that trouble with just two .htaccess changes:
# Redirect all HTTP requests to HTTPS
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# Enable the HSTS header which tells the browser to never try using plain HTTP on your site, EVEN THOUGH the URL uses http:// instead of https://
Header set Strict-Transport-Security "max-age=31536000" env=HTTPS


That's it. Your server and browser will work together and make sure that no user data travels through HTTP even though your URLs may be using http:// instead of https://.

2. No, this isn't possible. The main reason is how WordPress stores the data for the sites. You CAN exclude their database tables (the most practical way being with the RegEx Database Tables Exclusion feature), but the restored WordPress site will still list these sites. Removing individual sites requires a lot of database surgery and it's unlikely that instructions for WP 4.2 will work with a future version, e.g. WP 4.5 so we can't really add such a feature :(

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!