Jump to content

Bad Category URL's getting cached


thirtyottsixx
 Share

Recommended Posts

I have an ongoing problem with my site where intermittently url's like https://help.blog.blog.blog.domain.com are getting stored in my store file.  I contacted tech support and they said the cause was my site getting spidered under weird domain names. They made a modification to the htaccess file, which seems to fix the issue except when the URL gets cached as https://. My site does not have an SSL so anything https request breaks before it gets to htaccess.  To get rid of the problem temporarily, I simply empty the cache and the URL's on the category menu are fixed.  But they inevitably go back to being written to something that breaks the link within 24 hours or so.  

This doesn't effect any of the other site links, only the category menu.  

The code being used to output the category menu is:

<li class="main_product_category">
  <a href="{$BRANCH.url}" title="{$BRANCH.name}">{$BRANCH.name}</a>
  {if isset($BRANCH.children)}
  <ul id="child_menu">{$BRANCH.children}</ul>
  {/if}
</li>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...