riya riya - 9 months ago 33
PHP Question

left side bottom url in php

I want browser url which is in address bar and the url which is shown in left side after hover link should be same

for example in browser my url is like this

and at left side the url is like this

i want left side url same as browser url.


You can maby do it with .htaccess file

RewriteEngine On

RewriteRule ^article.php/([a-zA-Z0-9_-]+) article.php?pname=$i

Or something similar. Not sure what you are looking for

Example html

<a href="aricle.php/product-1">Article</a>