- Postagens: 7
- Obrigados Recebidos: 0
Erro de CSS ao usar plug-in de SEF
- AdrianoRafael
- Autor do Tópico
- Offline
- JCB! Novato
HTML anchors are not working, on subpages images or other resources are missing
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:
disable generation of base href tag or
keep the base href tag generation on, but make sure all links using SEO URLs + anchors or poiting to resources are absolute, not relative
No entanto não entendi como é feito para resolver a questão, pois não há uma configuração de plugin para essa situação.
Please Entrar ou Registrar to join the conversation.
- Walkus
- Offline
- JCB! Hero
- Postagens: 1458
- Obrigados Recebidos: 0
Aqui neste portal existe tópico relacionado a configuração correta do SEF.
Dá uma pesquisada, pois vc não precisa apagar o .htaccess, vc renomeia.
Abç e sucesso.
[color=#FF0000:1fjd1yw0][b:1fjd1yw0]>>> NÃO RESPONDO[/b:1fjd1yw0] dúvidas por MSN/MP/E-mail, somente em casos de extrema URGÊNCIA <<<[/color:1fjd1yw0][color=#008000:1fjd1yw0] ####[/color:1fjd1yw0] Obrigado
[color=#0000BF:1fjd1yw0]##[/color:1fjd1yw0][color=#8000FF:1fjd1yw0]##[/color:1fjd1yw0][color=#FF00FF:1fjd1yw0]##[/color:1fjd1yw0][color=#FF4040:1fjd1yw0]##[/color:1fjd1yw0][color=#FFBF00:1fjd1yw0]##[/color:1fjd1yw0][color=#FFFF00:1fjd1yw0]##[/color:1fjd1yw0][color=#BFFF80:1fjd1yw0]##[/color:1fjd1yw0][color=#8080FF:1fjd1yw0][b:1fjd1yw0]www.[/b:1fjd1yw0][/color:1fjd1yw0][color=#FF0000:1fjd1yw0][b:1fjd1yw0]wa[/b:1fjd1yw0][/color:1fjd1yw0][color=#000000:1fjd1yw0]master[/color:1fjd1yw0][color=#8080FF:1fjd1yw0][b:1fjd1yw0].com.br[/b:1fjd1yw0][/color:1fjd1yw0] [color=#FFFFBF:1fjd1yw0]##[/color:1fjd1yw0][color=#FFFF80:1fjd1yw0]##[/color:1fjd1yw0][color=#FFFF40:1fjd1yw0]##[/color:1fjd1yw0][color=#FFFF00:1fjd1yw0]##[/color:1fjd1yw0][color=#008000:1fjd1yw0]##[/color:1fjd1yw0]
Please Entrar ou Registrar to join the conversation.