I've been using drupal for about 8 months and am quite pleased with it. I thought the clean url's were helping me with SEO, but while using a spider simulator, I realized this may not be completely true.
I have put some links, the full http:// link, in the footer section (via settings) and also in the block section. When I recently ran a spider through my site, those links in the footer and block did not show as friendly url's (though they do when the mouse is moved over the links), but as session id links (http://node/1?PHPSESSID=aff775da097b78304441864cb53f937f).
When links are in the body all is fine, but not when in the footer or blocks. Any options/ideas here, or am I stuck putting links in the body.
Thanks,
Comments
php.ini
You can turn off sessions ids by having a php.ini. I recently switched providers and my new one does not support the method in .haccess so I turned them off through php.ini.
Most providers support those. The way its done may be specific to them.
I don't have it here right now, but I can look for it tonight if you haven't found the solution somewhere on google.
Just look for php.ini and turn off session id.
Here
First copy the php.ini of your host:
http://tips-scripts.com/?tip=php_ini_copy#tip
Then add these two lines:
session.use_trans_sid = 0
session.use_only_cookies = 1
I believe that did it for me.
-------------------------------------------------
http://www.opentravelinfo.com
http://www.aguntherphotography.com
Looks like a PHP server
Looks like a PHP server config problem. You need to get rid ofr trans sid setting (I think) in your php.ini
Or change the setting in the .htaccess in the root of your Drupal install.
--
Custom Drupal templates | More Drupal modules
--
Ixis (UK): Drupal support, Drupal hosting.
Hmm
Thanks for the responses...
If I were to adjust my .htaccess to fix this issue, what would I do?
Is adjusting the .htaccess preferable to php.ini??
brewPal
same problem
I keep gettting the same problem. I have made changes to htaccess file as documented elsewhere, but I have not tried any changes to php.ini.
php.ini
My guess is this is a php.ini thing, though I hope to get a solid answer from someone who knows more about this before I waste more time on the subject.
I got lulled into the belief that friendly URL's took care of this issue.
I appreciate anyone's insight into the fix.
brewPal
I found help
I looked around and found this. I think it worked for me.
http://drupal.org/node/17947#comment-36339
monjohn
www.claytonpc.com
Thanks
monjohn,
Thanks for finding that, I'll give it a shot later today.
brewPal
Very confused
Now I'm very confused. I followed the directions from the link you gave and inserted:
ini_set('url_rewriter.tags', '');
into my settings.php. Now when I run the sim spider, the session id junk is all gone, BUT my http://home and no other links on my page show up at all.
Any other insights?
brewPal