Jump to content

URL redirection loop when enabling (rewiving) a category


bos

Recommended Posts

I had a category "Reservdelar" ( = spare parts) that I haven't used for a year. Today I added some products in this category and enabled it.

But; I can't browse that category. Everytime I go to it I get the error message: "Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked."

All other categories work fine, but this doesn't.

I've cleaned all caches, rebuilt sitemap, cleared SEO-paths, nothing helps.

To reproduce, go to http://store.ribit.se/ , click the "Reservdelar" category, and boom.

Link to comment
Share on other sites

If you are referring to the storefront's "Navigation" menu (used to be called "Shop by Category"), CubeCart builds the final HTML for that menu and caches it. The skin template element.navigation-tree.php is used, populated and rendered. This includes references to the URL that was used to access the site.

So, the admin clears the skin cache (for whatever reason). The admin uses a URL specific to him, maybe 127.0.0.1/mysite/. The navigation menu gets built with hard-coded 127.0.0.1.

Of course, this does not work for regular visitors.

However, after clearing the skin cache, the first hit on your site might be from an outside visitor. Thus, the navigation menu is built with the URL used by the visitor. This may or may not work for you.

(I do not know if this has been rectified in latest versions of CubeCart.)

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.

×
×
  • Create New...