- Posts: 14
- Thank you received: 0
Category Menu Links Not Working
-
aimdizzle
Inactive member - Topic Author
- New Member
Less
More
13 years 7 months ago #7469
by aimdizzle
Category Menu Links Not Working was created 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.
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.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 7 months ago #7481
by ivan.milic
Replied by ivan.milic on topic Re: Category Menu Links Not Working
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.
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
Less
More
- Posts: 14
- Thank you received: 0
13 years 7 months ago #7530
by aimdizzle
Replied by aimdizzle on topic Re: Category Menu Links Not Working
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?
Is there a way to still use the SEO friendly links with Virtue Mart?
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 7 months ago #7549
by ivan.milic
Replied by ivan.milic on topic Re: Category Menu Links Not Working
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"])), '/\\');
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