Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » No Site Information in Search Engine Listings

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 788 Views
  • artman
    Avatar
    Community Member
    5 Posts

    No Site Information in Search Engine Listings Link to this post

    After switching our site to Silverstripe, public search engines like Google and Yahoo no longer show the site Title and Body tag information. Those two just show the page address in the spot of the title.

    When I browse to the site and do a View > Page Source I see the Title, Meta, and Body tags just fine. I'm thinking this might be something to do with the .htaccess rewrites but am not sure. Any thoughts?

    Here's my .htaccess:

    ### SILVERSTRIPE START ###
    <IfModule mod_dir.c>
    DirectorySlash Off
    </IfModule>

    RewriteEngine On
    RewriteBase /

    RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$

    RewriteCond %{REQUEST_URI} ^(.*)$
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
    ### SILVERSTRIPE END ###

    788 Views
Page: 1
Go to Top

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

Comments on this website? Please give feedback.