I do like to modify the .php extensions to .html. could any body advice me. how to do it.
Present URL: category.php?cat_id=C001&prod_id=XX09
Required URL: category.html/C001/XX09
Required URL: category/C001/XX09
in any of the SEO format.

Please help me to sort out. or advise me to refer URL. or tutorials.

Recommended Answers

All 2 Replies

search the google for .htaccess to rewrite the urls

RewriteEngine on
RewriteRule category/id/(.*)/ category.php?id=$1
RewriteRule category/id/(.*) category.php?id=$1

infact i want it in .html format.
somebody help me to sort out.
Thank you in advance

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.