RewriteEngine on RewriteBase / RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^.]+)\.html\ HTTP RewriteRule ^([^.]+)\.html$ site.ru/$1 [R=301,L] RewriteCond %{REQUEST_URI} !(\.[^./]+)$ RewriteCond %{REQUEST_fileNAME} !-d RewriteCond %{REQUEST_fileNAME} !-f RewriteRule (.*) /$1.html <IfModule mod_rewrite.c> RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.html\ HTTP/ RewriteRule ^index\.html$ http://%{HTTP_HOST}/ [R=301,L] </IfModule>
RewriteEngine on
RewriteBase /
RewriteCond %{THE_REQUEST} "^GET ([^?]*?)(/index)?\.html"
RewriteRule ^ %1 [R=301,L]
RewriteCond %{DOCUMENT_ROOT}/$1.html -f
RewriteRule ^([^.]+)$ /$1.html [L]
Auth.auth().createUser(withEmail: email, password: password) { authResult, error in
// ...
}
<div id="container1">
//здесь ваша форма
</div>
<div id="container2">
//здесь благодарности
</div>
#container2 {text-align: center; display: none;}
function fadeonsuccess() {
$('#container1').fadeOut(700, "linear", function(){
$('#container2').delay(400).fadeIn(700, "linear").delay(3000).fadeOut(700, "linear", function(){
formreset();
$('#container1').fadeIn(700);
});
});
}