If you have .htaccess file pls add the below line in your .htaccess file, otherise create new one and add the below lines.

<IfModule mod_rewrite.c>
Options +FollowSymLinks
Options +Indexes
RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^([^\.]+)$ products.php?brandid=27&pname=Acer [NC,L,QSA]
</IfModule>

commented: Helpful post +4

If you have .htaccess file pls add the below line in your .htaccess file, otherise create new one and add the below lines.

<IfModule mod_rewrite.c>
Options +FollowSymLinks
Options +Indexes
RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^([^\.]+)$ products.php?brandid=27&pname=Acer [NC,L,QSA]
</IfModule>

But its not working

In your product list page, product link should like

<a href="http://www.servicesonclick.com/<?php echo $product_name; ?>"><?php echo $product_name; ?></a>

or just sent ur product page code.

Member Avatar for diafol

You want to lose the brandid parameter totally?

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.