Migration fixes.
Fix regex.
Update htaccess and https issues.
htaccess changes.