hello every one i have Linker directory,its extention is php i need to convert it from php to html http://www.lebnights.net/linker http://lebnights.net/linker/index.php?cat=17 so can you give me the .htaccess that convert all the linker url to html plz? waiting your help
You would also need to change how all the links on the page are created. The mod_rewrite code would be easy. Getting the script to create all it's links with .html would be the really slow part. Why do you want to do this? I don't see any advantage.
Hi there streety, i didn't get your help till now i need to do this coz its better for google for sure so if you know the way plz create the file and give me the way thanx
First of all make a .htaccess file, this file will load your index.php all the time RewriteEngine On RewriteBase /linker/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*) index.php Code (markup): to get http://lebnights.net/linker/index.php?cat=17 to http://lebnights.net/linker/cat-17.html or what ever, use your index file to manipulate the output using PHP includes.
hi there abixalmon thanx for your help i added it as .htaccess file,didn't work with me! can u put the full code for me plz?
Where have you heard this? I seriously doubt it is true. You'll quite often use mod_rewrite to reformat the get variables (everything after the ?) to make it easier for the search engines but as far as I know the file extension makes no difference.