32 lines
527 B
PHP
32 lines
527 B
PHP
<?php
|
|
header( 'Content-Type: text/plain' );
|
|
header("Cache-Control: public");
|
|
header("Expires: " . date("r", time() + 604800));
|
|
ini_set( 'display_errors', 0 );
|
|
?>
|
|
User-agent: *
|
|
Allow: /
|
|
Disallow: /all
|
|
Disallow: /css
|
|
Disallow: /fonts
|
|
Disallow: /js
|
|
Disallow: /scss
|
|
Disallow: /api
|
|
Disallow: /skin
|
|
Disallow: /parcer
|
|
Disallow: /img
|
|
Disallow: /app
|
|
Disallow: /bd
|
|
Disallow: /files
|
|
Disallow: /log
|
|
Disallow: /sxd
|
|
Disallow: /tmp
|
|
Disallow: /.git
|
|
|
|
|
|
<?php
|
|
//phpinfo();
|
|
echo "Sitemap: https://" . $_SERVER['SERVER_NAME'] . "/sitemap.xml";
|
|
|
|
|
|
?>
|