Blog Sections Open

Fixing Named Anchor Conflicts with jQuery UI Tabs and base href

If jQuery UI tabs start loading the home page instead of switching locally, look at how named anchors interact with base href and relative links.

Older Evolution templates often used a global <base href>, and that can interact badly with jQuery UI tabs or named anchors. Instead of treating the tab switch as a local in-page action, the browser may resolve the fragment against the site root and request the wrong page.

What to verify

  • whether the tab links are true in-page anchors
  • whether base href changes how those anchors resolve
  • whether the front-end script expects one behavior while the browser applies another

Recommendation

When tabs behave differently on the homepage and inner pages, inspect the generated anchor URLs first. It is often a resolution problem, not a tab plugin problem.

Newer post

Using Last-Modified and If-Modified-Since Headers in Evolution CMS

Conditional HTTP headers can reduce repeated page transfers, but only if the timestamp logic matches the real lifetime of your content.

Older post

What to Check First During a Mass Hack of Legacy MODX Sites

When many old MODX or Evolution sites show injected links at once, treat it as a platform-wide incident: audit versions, entry points, and writeable paths immediately.