skip to Main Content

I am using osCommerce platform. I noticed in Chrome browser; the URLs are not clean and have trailing string like #VTkfzCGqqkow, specially on products pages
for example
www.example.com/product-name.html#VTkfzCGqqkow
while I need clean URLs like
www.example.com/product-name.html

Please suggest me a solution either to modify .htaccess file or osCommercer files.

Thank you.

2

Answers


  1. Chosen as BEST ANSWER

    I have sorted this issue, it is happening due to Javascript on client side. Thank you all for your time and support


  2. Look at this:

    $url = 'www.example.com/product-name.html#VTkfzCGqqkow ';
    echo var_export(parse_url($url));
    

    You use:

    $url = parse_url($url,PHP_URL_PATH);
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search