This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
kiduc
/
bibiuc.com
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
59
Wiki
Activity
Browse Source
To Prevent Google to index sitemaps
pull/84/head
Kanti
11 years ago
parent
a0b076f8a6
commit
2138c7daed
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
system/includes/functions.php
+ 2
- 0
system/includes/functions.php
View File
@ -1299,6 +1299,8 @@ function get_static_path() {
// Generate sitemap.xml.
function
generate_sitemap
(
$str
)
{
header
(
'X-Robots-Tag: noindex'
);
echo
'<?xml version="1.0" encoding="UTF-8"?>'
;
if
(
$str
==
'index'
)
{
Write
Preview
Loading…
Cancel
Save