how to write redirect rule in .htaccess
current url
http://www.mywebsite.in/blog_pg_tmplt.php?b_id=Business-Intelligence-(BI)-and-how-it-is-useful-for-Common-Man
The rewritten URL:
http://www.mywebsite.in/Business-Intelligence-(BI)-and-how-it-is-useful-for-Common-Man.html
mywebsite = lanterntechnologies
#RewriteEngine On
#RewriteRule ^([^/]*)\.html$ /blog_pg_tmplt.php?b_id=$1 [L]
#RewriteCond %{QUERY_STRING} blog_pg_tmplt.php?b_id=([^&]+)
#RewriteRule blog111.php /blog_pg_tmplt.php?b_id-%1 [L,R]
#RewriteRule ^product-([0-9]+)\.html$ product.php?id=$1
RewriteRule ^blog-([0-9]+)\.html$ blog_pg_tmplt.php?b_id=$1
tried all none is working
any help will be great
thank you
http://www.mywebsite.in/blog_pg_tmplt.php?b_id=Business-Intelligence-(BI)-and-how-it-is-useful-for-Common-Man
The rewritten URL:
http://www.mywebsite.in/Business-Intelligence-(BI)-and-how-it-is-useful-for-Common-Man.html
mywebsite = lanterntechnologies
#RewriteEngine On
#RewriteRule ^([^/]*)\.html$ /blog_pg_tmplt.php?b_id=$1 [L]
#RewriteCond %{QUERY_STRING} blog_pg_tmplt.php?b_id=([^&]+)
#RewriteRule blog111.php /blog_pg_tmplt.php?b_id-%1 [L,R]
#RewriteRule ^product-([0-9]+)\.html$ product.php?id=$1
RewriteRule ^blog-([0-9]+)\.html$ blog_pg_tmplt.php?b_id=$1
tried all none is working
any help will be great
thank you