1

User is at -

http://randomCompany.net/rental/wheelchairs.html

not looking at any specific product, just at that catalog page, they click a new menu link from the navigation, that leads to a CMS page --

http://randomCompany.net/diabetic-shoes (this is the url that should show)

but the user is show a 404 page and the url is

http://randomCompany.net/rental/diabetic-shoes

it is adding in the /rental/ which is not correct.

Note - Url's work fine from the base catalog page, this problem only happens from sub category pages. I have tried URL rewrites. I could not find anything in the database. Any one have any insight here?

Thanks!

  • Tried adding <base href="/"> in xml and to the index and to the bootstrap and still nothing. This is so weird !!! – John Nov 21 '17 at 15:31
0

In

topmenu.phtml

<li class="level0 nav-0 last level-top ui-menu-item" role="presentation"><a href="/about-us" class="level-top ui-corner-all" id="ui-id-3" tabindex="-1" role="menuitem"><span>About Us</span></a>

All the a href="" require the / before each link. Nothing to do with url rewrites or anything. I was just missing the /

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.