Skip to content

Commit 6a9b76f

Browse files
authored
Update readme, correct text to insert link in header.
Fixed #28.
1 parent 37e7635 commit 6a9b76f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,16 @@ enabling the extension, go to `http://example.org/sitemap.xml` to see it.
66

77
The bigger search-engines like Google and Bing will automatically pick up your
88
sitemap after a while, but it's always a good idea to explicitly tell the search
9-
engines where to find it. To do so, add the following line to your robots.txt
10-
file:
11-
12-
Sitemap: http://example.org/sitemap.xml
13-
14-
and to the `<head>` section of your pages:
9+
engines where to find it. To do so, this extension automatically adds the link
10+
to the `<head>` section of your pages:
1511

1612
<link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml" />
1713

14+
Apart from that, it's good pratice to also add the following line to your
15+
`robots.txt` file:
16+
17+
Sitemap: http://example.org/sitemap.xml
18+
1819
Obviously, you should replace 'example.org' with the domain name of your website.
1920

2021
This extension adds a 'route' for `/sitemap.xml` and `/sitemap` by default, but it

0 commit comments

Comments
 (0)