• Resolved covertnine

    (@ttoomey)


    If you do a search, and then click on a product, the URLs are busted:

    http://www.wellslamont.com

    Search in lower left, type in 1159, and you’ll see the product, but the link is busted. (Using pretty urls)

    http://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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Rustaurius

    (@rustaurius)

    Hi ttoomey,

    Using the standard WP post structure, the page name should have a trailing slash. We support the two main permalink structures, as well as most others, but unfortunately we can’t accommodate every structure by default.

    Thread Starter covertnine

    (@ttoomey)

    That’s exactly how I have mine structured.

    /%postname%/

    Your URLs still do not work despite that unless I manually add the slash in the above mentioned file.

    Plugin Author Rustaurius

    (@rustaurius)

    Hi toomey,

    What are you using to create the search box?

    Thread Starter covertnine

    (@ttoomey)

    A widget.

    Plugin Author Rustaurius

    (@rustaurius)

    Hi ttoomey,

    You mean the “UPCP Search Bar” widget? There’s a field there, “The URL of your catalogue”, can you double check that the trailing slash has been added to that field in your widget?

    Thread Starter covertnine

    (@ttoomey)

    That did it! Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Bug in search results URLs (404 errors)’ is closed to new replies.