I’ve list of categories with url look like this ‘index.php?cat_id=1,2,3’
I want to rewrite my url as ‘demo-page.html’
However I want to be use here my page title in url page.
How its possible?
I would be pretty surprised if he is not using apache, php has a tendency to run on it at most webhosting services...
I dont know about your idea, but an error page is an error page, use it properly...
mod_rewrite was made for rewriting urls so..
In case you did not know, you just have to add 3 lines to the .htacces file in your webserver directory and its done, no need to create a custom error page..
you can use mod_rewrite, also if you are generating the pages via a CMS or some backend/admin panel then store the slug(for ex - demo-page) in the DB and then when the user opens the page example.com/demo-page.html query the DB to find the row corresponding to "demo-page" under the slug column and fetch the data. Simple!!! :)