Category Menu Links Not Working

  • aimdizzle
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 7 months ago #7469 by aimdizzle
Hello,

When I try to add menu items to link to Virtue Mart categoreis, I'm either getting a 404 error or a page that doesn't display the layout properly.

I've added the Category to the Category Tree in Virtue Mart and then used the category idea to link to a VM menu item.

Is there something else I need to do to get the menu to work properly? Any tutorial you have would be helpful.

Please Log in to join the conversation.

More
13 years 7 months ago #7481 by ivan.milic
Did you enabled SEO uri rewriting ? If yes , try to do that when rewrite is disabled and see what happens.

Also inspect this; You say sometimes bad, sometimes error - see if that is related to address in your browser when is has http:// and www. and when not.

Please Log in to join the conversation.

  • aimdizzle
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 7 months ago #7530 by aimdizzle
Thank you! You were right it was the SEO enabled links.

Is there a way to still use the SEO friendly links with Virtue Mart?

Please Log in to join the conversation.

More
13 years 7 months ago #7549 by ivan.milic
Try this, but backup that file first:

in libraries/joomla/environment/uri.php line 228

Replace
$base = rtrim(dirname(str_replace(array('"', '<', '>', "'"), '', $_SERVER["PHP_SELF"])), '/\\');

With
$base = rtrim(dirname(str_replace(array('"', '<', '>', "'"), '', $_SERVER["SCRIPT_NAME"])), '/\\');

Please Log in to join the conversation.

Time to create page: 0.224 seconds
Powered by Kunena Forum