Bug in search results URLs (404 errors)
-
If you do a search, and then click on a product, the URLs are busted:
Search in lower left, type in 1159, and you’ll see the product, but the link is busted. (Using pretty urls)
https://www.wellslamont.com/catalogproduct/grain-leather-palomino-men/?
I had to manually fix this in the shortcodes.php file–which by the way, I’ve had to make a ton of edits to that file…
line #649
elseif ($Pretty_Links == "Yes") {$ItemLink = $Base . "/product/" . $Product->Item_Slug . "/?" . $uri_parts[1];}
Needs the slash at the beginning.
It’d be easier if you somehow made it template-able or make it so I can overwrite that one file while still being able to get updates. Every time you guys update the plugin I end up having to go through line by line on this file and fixing things in it.
- The topic ‘Bug in search results URLs (404 errors)’ is closed to new replies.