PHPSESSID and GOOGLE
PHPSESSID suck when PHP will add a unique PHPSESSID query pair to you links. It's all about session.use_trans_sid that must be off if you want Google to eat your site alive. And guess what! It's easy to set it off.
Just make a blank file with Notepad and rename it .htaccess! Open this file, paste this code:
Note: Remove all spaces inside < >!!!!!
... save file, upload it in your root directory.
Have fun :P
Source: Why You Should Disable PHP’s session use_trans_sid
Ah. As a bonus ... if you want .htm and .html files to execute your php scripts please add this code in the same .htaccess file:
Dont forget to upload it! :)
Just make a blank file with Notepad and rename it .htaccess! Open this file, paste this code:
< if module >
php_flag session.use_trans_sid off
< /if module >
Note: Remove all spaces inside < >!!!!!
... save file, upload it in your root directory.
Have fun :P
Source: Why You Should Disable PHP’s session use_trans_sid
Ah. As a bonus ... if you want .htm and .html files to execute your php scripts please add this code in the same .htaccess file:
AddType application/x-httpd-php .php .html .htm
Dont forget to upload it! :)