Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

anchor issue - read FAQ already.
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: anchor issue - read FAQ already.

anchor issue - read FAQ already. 15 years, 2 months ago #8189

  • martin
hi

after reading the FAQ I am still left with a problem.

Anchors..

I've set the sef plugin(Base Href) to : No, leave original

cleared site cache, browser cache, purged urls, cleaned cache via artio...

but still I get

sitename.com/index.php?#anchor


what am I doing wrong?

Re:anchor issue - read FAQ already. 15 years, 2 months ago #8190

  • jaku
Hello,

if the href value is "sitename.com/index.php?#anchor", not only "#anchor", then the base href value has no effect!
You need to make sure that the link with anchor is correct, so either you have to:
1. make the link just "#anchor" and make sure the base href setting is correct (the correct in this case would be it is not used!)
2. make the full absolute URL to correct page, that is "sitename.com/whatever-the-page-url-is#anchror";
how the URL is created - whether it is absolute or relative can be mostly in your WYSIWYG editor configuration

Re:anchor issue - read FAQ already. 15 years, 2 months ago #8192

  • martin
hi jan

thanks for answering.

The anchors work fine without joomsef, so I'm assuming it's some setting somewhere in joomsef.
I use JCE, and anchors are created as #anchor and nothing else.

are there any settings in joomsef configuration that have an effect on this?

As written, base href is no, leave orig.

Re:anchor issue - read FAQ already. 15 years, 2 months ago #8194

  • jaku
If your anchor links are just "#anchor" then make sure there is no <base hreg="xxx /> tag in your site header.
It may not come from JoomSEF if you have configuration of base href in plugin set to "no", but it may be defined in template code or coming from somewhere else (other component).

There is no other related setting to this.

Re:anchor issue - read FAQ already. 15 years, 1 month ago #8452

  • martin
Hi

I fixed this issue by going to configuration.php in joomla root, and changing :

var $live_site = 'www.mylivesite.com'; to

var $live_site = '/';


this appears to have fixed all my issues.
  • Page:
  • 1
Přihlášení uživatele Prázdný