Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

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

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

No Site Information in Search Engine Listings


Reply


860 Views

Avatar
artman

Community Member, 5 Posts

25 August 2008 at 3:35am

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 ###