Menu Content

JoomSEF FAQs

HTML anchors are not working, missing images or other resources

Date added:
Perjantai, 19. Kesäkuu 2009
Last revised:
Perjantai, 19. Kesäkuu 2009

Answer

Please note, that if base href generation is used, then all relative anchors, such as just "#anchor", or all other resources using relative paths (such as "/images/myimg.png" or "myfiles/file1.pdf") are automatically translated with the base href URL.

This means, that if you are using anchors and homepage as base href, all anchors will be looked at within the homepage, not the actual SEF URL! Using the same logics, if using actual SEF URL as base href and having "/images" as relative path, this path will be understood by browser as it would be appended behind the SEF URL! This is the most often reason why anchors do not work or some resources (such as images or styles) appear to be missing in the page when SEO and generation of SEF URLs that adds virtual directory structure in the URL addresses is ON.

To solve this, you have to either:

  1. disable generation of base href tag or
  2. keep the base href tag generation on, but make sure all links using SEO URLs + anchors or poiting to resources are absolute, not relative
Configuration of base href generation behaviour can be set in JoomSEF metabot plugin settings (JoomSEF 3.2.11 and newer) or in JoomSEF configuration (versions prior to 3.2.11). Also please note, that the base href can be sometimes defined also on other places, such as it can be part of your template.

ryhmä

Get the best Joomla SEO Component and make your site SEO optimized now!

Jämsä, 28.11.2011 - We are releasing new major version of both JoomSEF 4 and 3. These version include several brand new and exciting features, such as 3rd level domain support for individual components, direct access to Google analytics with Flash charts, full-featured sitemaps, web-crawl functions, ...

 

Ostrava, 9.10.2011 - New releases both of JoomSEF 3 for Joomla 1.5 and JoomSEF 4 for Joomla 1.6/1.7 was just released. Actual version are 4.1.1 and 3.8.3. Several new extensions for both these versions were also released.

 

Jämsä, 13.7.2011 - New JoomSEF extension for JoomShopping component was released. Available both JoomSEF 3 and 4 (Joomla 1.5 and 1.6).

 

Jämsä, 9.7.2011 - New version of JoomSEF v4.0.6 was just released. This version adresses especially some of the known problems related to Joomla 1.6 language plugin.