Hi,
Where is installation instruction for Googlesitemaps module? Does it work at all? What to do to force it to work?
Please help!
Robert
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hi,
Where is installation instruction for Googlesitemaps module? Does it work at all? What to do to force it to work?
Please help!
Robert
Assuming you use the latest version of SS:
Download the latest build here:
http://doc.silverstripe.com/doku.php?id=modules:googlesitemaps
(FTP to your ss site): Overwrite all files in the googlesitemaps directory with the new ones you just download
then browse to: http://yourwebsite/db/build
then login to http://yourwebsite/admin
the UI of google site maps ranking is there. Now you have the following problem: "sitemap.xml is not being generated"
I don't know how to solve this, but maybe someone else can. Please let me know.
Call the following method in your mysite/_config.php:
GoogleSitemap::enable();
Thank you for the quick reply:
Here's how I changed the _config.php located in the mysite folder:
<?php
global $project;
$project = 'mysite';
global $databaseConfig;
$databaseConfig = array(
"type" => "MySQLDatabase",
"server" => "localhost",
"username" => "***",
"password" => "**",
"database" => "***",
);
// Sites running on the following servers will be
// run in development mode. See
// http://doc.silverstripe.com/doku.php?id=devmode
// for a description of what dev mode does.
Director::set_dev_servers(array(
'localhost',
'127.0.0.1',
));
// This line set's the current theme. More themes can be
// downloaded from http://www.silverstripe.com/themes/
SSViewer::set_theme('highway');
//enabling 3rd party software
GoogleSitemap::enable();
?>
Still no sitemap.xml :(. I have CHMOD the root folder to 777, flushed the site and logged in and clicked save on a page. Still no effect. Any ideas?
Unfortunately it Just Works on my installations—but then I'm using the version of the module that's bundled with SilverStripe 2.3.3.
Hi all,
I keep trying to make the google sitemap work. In the website I have installed a googlesite moudule for the pages of the site, and then installed a wordpress blog, which means I need to submit two sitemap.xml files.
(Using ss3 and the master googlesitemap module)
My questions are two:
I am getting a 500 internal error saying: GoogleSitemapController::$allowed_actions must be public. I read on github that static configurables properties need to be private. Does it have to be public?????
How do I submit separately the two sitemap.xml files? Do i need a separate googlesitemap module for the wordpress blog?
Please help!!
You'll need to download the supported version for your module. Master supports 3.1, 1.1 supports 3.0 (https://github.com/silverstripe-labs/silverstripe-googlesitemaps/tree/1.1).