Hi guys

I am using php script (Quick.CMS) that outputs the page URl with something like


where my-page is the result of a page titled My Page. That page has been given an ID number of 1 by the file based database.

Now to get it to go from /?my-page,1 to /my-page,1.html the following rewrite rules are in the .htaccess file

Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^index.html$ index.php [QSA]

RewriteRule ^(.*),([0-9]+),,,,(.*)\.html ?$1,$2,,,,$3 [QSA] #tags
RewriteRule ^(.*),([0-9]+)(,[0-9]*)*(,[0-9]*)*(,[0-9]*)*\.html ?$1,$2,$3,$4,$5 [QSA]
RewriteRule ^(.*),(.*)\.html ?,$1,$2 [QSA]

RewriteRule ^.*,(.*),(.*)\.xml ?,$1,$2 [QSA]

RewriteRule ^sitemap\.xml ?p=sitemap-xml [QSA]
But what I want to try and do is drop the ,1 so it shows the URI as either my-page.html or even my-page/

I did try and get assistance from the devs of Quick.CMS but they have come back saying that it is not possible - but one thing I have learnt about php is that the 'not possible' is indeed possible if you know how (I just don't know how).

Any resulting outcome will happily be shared with all other Quick.CMS users via their forums once I know it works.

Cheers for any help