Login | Forgot password | Register

X

What is OpenID?

OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.

With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.

For more information visit the official OpenID site.

Jump to:

2275 Posts in 632 Topics by 743 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Googlesitemaps

Getting SilverStripe up and running on your computer and on your web server.

Page: 1
Go to End
Author Topic: Googlesitemaps 512 Views
  • Robert1970
    avatar
    Community Member
    4 posts

    Googlesitemaps Link to this post

    Hi,

    Where is installation instruction for Googlesitemaps module? Does it work at all? What to do to force it to work?

    Please help!

    Robert

  • Joeri81
    avatar
    Community Member
    3 posts

    Re: Googlesitemaps Link to this post

    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.

  • fredc
    avatar
    Community Member
    11 posts

    Re: Googlesitemaps Link to this post

    Call the following method in your mysite/_config.php:

    GoogleSitemap::enable();

  • Joeri81
    avatar
    Community Member
    3 posts

    Re: Googlesitemaps Link to this post

    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?

  • fredc
    avatar
    Community Member
    11 posts

    Re: Googlesitemaps Link to this post

    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.

    512 Views
Page: 1
Go to Top

Currently Online: dvp, w1

Welcome to our latest member: Wilson

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.