setcookie('name', '', time() - 3600, $path, $domain); setcookie('name', '');
RewriteRule ^alias$ /file.php [L]
Redirect /old_directory/old_file.html **********
Redirect /old_directory **********
RewriteEngine On RewriteRule (.*) **********
<Files file.php> order allow,deny deny from all </Files>
********** **********
RewriteEngine on RewriteRule ^about/$ /pages/about.html [L] RewriteRule ^features/$ /features.php [L] RewriteRule ^buy/$ /buy.html [L] RewriteRule ^contact/$ /pages/contact.htm [L]
Redirect /file.php /alias
Redirect 301 /old.html /new.html
header("Content-Type: application/json; charset=UTF-8"); echo $response;
Uncaught SyntaxError: Unexpected token o in JSON at position 1 at JSON.parse (<anonymous>) ... и т.д.