phile / xmlsitemap

PhileCMS的Google XML Sitemap Generator

安装: 98

依赖: 0

建议者: 0

安全: 0

星标: 2

关注者: 3

分支: 2

开放问题: 0

类型:phile-plugin

1.1.0 2018-03-24 13:15 UTC

This package is auto-updated.

Last update: 2024-08-29 03:32:18 UTC


README

Build Status

Phile插件,用于生成XML站点地图

1.1 安装(composer)

composer require phile/xmlsitemap

1.2 安装(下载)

  • 安装Phile
  • 下载此仓库并将内容放入Phile插件目录下的新文件夹phile/xmlsitemap中,例如plugins/phile/xmlsitemap/

2. 激活

在您安装插件后,您需要将以下行添加到您的config.php文件中

$config['plugins']['phile\\xmlsitemap'] = array('active' => true);

现在,您可以在URL下访问站点地图http://your-domain.com/sitemap.xml。如果您将Phile安装到子目录中,您的sitemap.xml将位于子目录/sitemap.xml