1 mbr Nov 27, 2015 00:03
3 mbr Nov 28, 2015 01:35
Short: Relative links that would point in the same post (page).
Long:
First of all I'm surprised to see the URL of posts constructed like this :
'http://<mysite>/blog/index.php/<myblog>/<mypost>'
i.e.
$baseurl . "<myblog>/<mypost>"
I'm surprise to see the "index.php" in the middle. But that's not the main point here.
I'd like to have relative links like "#orgheadline7" point into the same page.
Currently they point to "skins/bootstrap_blog_skin/" :
<a href="#orgheadline7">
is transformed in
$baseurl . "skins/bootstrap_blog_skin/#orgheadline7"
If don't have an immediate idea, please point me to the source code lines that interpret the links in markdown format.
4 fplanque Nov 28, 2015 05:20
- See collection Url settings for removing index.php
- B2evolution uses a <base> tag so that it:so easier to design skins. Remove it if you don't like the way it affects relative links.
- Relative links are bad in the context of a blog. Think hard about what happens to relative links in your RSS feeds.
- Think seo.
- Think scrapers.
If you're still not convinced of the value of absolute links, do point 2.
So basically, what you would need is a way to automatically to turn all relative links to absolute links, right?