GetSimple Support Forum

Full Version: Title problem and www ht access redirection
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I don't know why but I look at my title tag for one page here is the result :

<title>Philosophie - Le domaine de la vall&eacute;e</title>

But if I look at the SERPs with site command on google here is the result :

Philosophie - Le domaine de la vallée - residence retraite rennes

Do you know why it's not the same ? I've got the same result with some pages but not all of them.

Second problem :

www ht access

here is my Ht access

AddDefaultCharset UTF-8
Options -Indexes

# blocks direct access to the XML files - they hold all the data!
<Files ~ "\.xml$">
Order allow,deny
Deny from all
Satisfy All
</Files>
<Files sitemap.xml>
Order allow,deny
Allow from all
Satisfy All
</Files>

RewriteEngine on

Options +FollowSymlinks

RewriteCond %{HTTP_HOST} ^mon-jacuzzi-gonflable.fr/$
RewriteRule ^(.*) http://www.mon-jacuzzi-gonflable.fr/$1 [QSA,L,R=301]

# Usually it RewriteBase is just '/', but
# replace it with your subdirectory path
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ([A-Za-z0-9-]+).html index.php?id=$1 [QSA,L]

Do you know why the redirection without the www doesn't work ?

Thank you.
Bienvenue aux forums de GetSimple, Napoleon.

I can't answer your questions but I saw your Domaine de la Vallee site. Un bon boulot bien fait - nice job!
1. Sometimes Google displays the title it wants, not exactly the one you put in the <title> tag.
I don't know if there's a way to tell Google not to do that.

2. I'm no .htaccess guru, but try changing the RewriteCond line to:
Code:
RewriteCond %{HTTP_HOST} !^www\.

[edit] Maybe better:
Code:
RewriteCond %{HTTP_HOST} ^mon-jacuzzi-gonflable.fr$
(without the slash near the end)
do we do htmlentities on titles ?

Does a plugin, you say some titles are differently encoded?
That's not the issue, Shawn.
It's that google adds " residence retraite rennes" to the page title in SERPs.

It seems that google doesn't like short title tags lately... They started "guessing titles" some time ago with pages with no <title>, or those with just e.g. <title>Welcome</tile>, but it's doing also with others now...
ohh I see, yeah hmm
I am assuming that is coming from the page content somewhere?

Perhaps it does this to make that title unique, are you using the same title on several pages?
https://support.google.com/webmasters/an...5624?hl=en
Quote:If we’ve detected that a particular result has one of the above issues with its title, we may try to generate an improved title from anchors, on-page text, or other sources. However, sometimes even pages with well-formulated, concise, descriptive titles will end up with different titles in our search results to better indicate their relevance to the query. There’s a simple reason for this: the title tag as specified by a webmaster is limited to being static, fixed regardless of the query. Once we know the user’s query, we can often find alternative text from a page that better explains why that result is relevant. Using this alternative text as a title helps the user, and it also can help your site. Users are scanning for their query terms or other signs of relevance in the results, and a title that is tailored for the query can increase the chances that they will click through.

If you’re seeing your pages appear in the search results with modified titles, check whether your titles have one of the problems described above. If not, consider whether the alternate title is a better fit for the query. If you still think the original title would be better, let us know in our Webmaster Help Forum.

So google will modify your titles based on queries that it finds your url for, and even based on page link text from other sites( mostly when unable to crawl directly in that case )
Apparently google might also use rss feed titles if it wants to.
http://www.elevatedsearch.com/when-wordp...-go-wrong/
hello,

I had the same problem with my website http://www.ledomainedelavallee.fr but now my title are perfect. But for the www I don't understand because I've got almost the same htaccess and it works perfect. Did you fix it ?
napoleon,

in order to get it working, you need to use the following:

RewriteCond %{HTTP_HOST} !^www\.mon-jacuzzi-gonflable\.fr [NC]
RewriteRule ^(.*)$ http://www.mon-jacuzzi-gonflable.fr/$1 [R=301,N]

Regards