Click to See Complete Forum and Search --> : [Resolved] url rewrite


Shawazi
06-27-2005, 12:55 AM
My server rewrites urls to have &PHPSESSID=whatever.
Does anyone know how to change it so it writes the & as & instead. This helps with HTML validation.

planetsim
06-27-2005, 01:10 AM
Well its automatically added, I havent seen anyway to make them & to & however since Search Engines dont like them your best to get rid of them

.htaccess

php_flag session.use_trans_sid Off


Should get rid of them.

Shawazi
06-27-2005, 01:11 AM
ha u know when i said & to & i meant & amp ; - the board convereted it obviously

Shawazi
06-27-2005, 01:13 AM
this seems to be working while keeping my sessions working thanks

jabba_29
06-27-2005, 05:37 AM
Know it is sorted, but this is the easy way to do it:

php_value arg_separator.output "&", you can set this anywhere :)

Shawazi
06-27-2005, 12:35 PM
ah thanks . this is perfectly what i needed