-
Notifications
You must be signed in to change notification settings - Fork 52
/
xml-sitemap-config-sample.ini
37 lines (27 loc) · 1.25 KB
/
xml-sitemap-config-sample.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
; Change the configuration below and rename this file to xml-sitemap-config.ini.
; Note you can also move the xml-sitemap-config.ini up one directory if you want to for safety reasons.
[basics]
; The directory to check.
; Make sure the DIR ends ups in the Sitemap Dir URL below, otherwise the links to files will be broken!
directory = "./"
; With trailing slash!
directory_url = "https://example.com/"
; Whether the script should check sub-folders.
recursive = true
; The file types you want to add to your XML sitemap.
filetypes[] = html
filetypes[] = php
filetypes[] = pdf
[advanced]
; The replace array, this works as file => replacement, so 'index.php' => '', would make the index.php be listed as just /
replacements[index.php] = ""
; The XSL file used for styling the sitemap output, make sure this path is relative to the root of the site.
xsl = "xml-sitemap.xsl"
; The Change Frequency for files, should probably not be 'never', unless you know for sure you'll never change them again.
; Leave blank to not output a change frequency (recommended).
changefreq = ""
; The Priority Frequency for files, between 0 and 1.
; Set to 0 to not output a priority (recommended).
priority = 0
; Ignore array, all files in this array will be: ignored!
ignore[] = xml-sitemap.php