Jump to content

%20 in product URL

Recommended Posts


When I try to buy a product



It redirects me to a really long link with %20 and it gives me a 404 error.
Example: domain.com/cart.php%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20?a=add&pid=5

When I try to remove the %20 it works without any problems.
Example: domain.com/cart.php?a=add&pid=5

Does anyone know how I can fix this?

Kind regards

Edited by iClicks

Share this post

Link to post
Share on other sites
4 hours ago, iClicks said:

Does anyone know how I can fix this?

first thought would be to switch to Six & Standard Cart -that should at least tell you if it's a template issue with your custom template or something else in WHMCS.

also, with %20 just being a space, I would take a look at the links to these products on your site and seeing if there are any spaces in them.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.


Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated