didi
Posts: 6
|
Posted: 05/10/2017, 9:33 AM |
|
i have address like this localhost/product/product_detail=2
howto hide or remove product_detail=2
thanks
|
|
|
DataDoIT
|
Posted: 05/10/2017, 2:02 PM |
|
https://en.wikipedia.org/wiki/Rewrite_engine
|
|
|
didi
Posts: 6
|
Posted: 08/05/2017, 5:46 AM |
|
ihave try many times but failed, anybody helpme please
|
|
|
girish_327
Posts: 108
|
Posted: 08/26/2017, 3:51 AM |
|
You Need to use mod rewrite code and put into htaccess file.
Refer http://www.generateit.net/mod-rewrite/index.php
Hope this will help you.
_________________
Girish Baraskar
Web Designer/Developer
http://www.agnisdesigners.com
http://www.eindianpaintings.com
http://www.realestatekolhapur.com |
|
|
didi
Posts: 6
|
Posted: 08/30/2017, 10:43 AM |
|
thank you girish_327 for your responds
i have try with webserver wamp server and store on ccs with url like this :
localhost/tes/ProductDetail.php?product_id=21
httaccess :
RewriteEngine On
RewriteRule ^([^/]*)\.html$ /tes/ProductDetail.php?product_id=$1 [L]
i have active mode rewrite on wamp but nothing hapen?
have you ever try and succes??
|
|
|
clickryan
Posts: 55
|
Posted: 08/31/2017, 12:47 AM |
|
or perhaps, instead of using querystring there are other options like post or session.
_________________
Codecharge Developer (PHP, ASP.net - C# or VB.net)
for help or inquiries please visit clickryan.com
|
|
|