Rename index.html?p=123 to index.html?p=123.html