You might try looking up this value in the configuration table, and ensuring it's set to false: SEARCH_ENGINE_FRIENDLY_URLS