Better blog urls, settings that work across wherever you add blog elements
M
Michael D. Milson
Many people would benefit if the blog elements were to actually use the url we have in settings not the url of the page the element is added to, which is just plain weird.
For example, if I create a blog and set the main url to be a subdomain blog.domain.com but place a blog list element (set to use that blog) on the homepage of the site www.domain.com, I want the links it has, for each post it displays, to go to the blog.domain.com/etc. etc. the domain that I put in the settings, not the domain of the page the element was displayed on.
Let's keep it all uniform here and if we have a setting for something we should respect that everywhere.
After all, we select which blog it is for when adding the element, so it knows which blog url to use, so it should pull the settings for that blog and not just assume the page/domain it is displaying on is the one we want to link to and override the setting we explicitly added.
Far too many broken links and based on all the funky code being used to generate these blog elements and dynamically add links via scripting instead of plain old href link, it's super difficult to make a workaround to fix this.
Also, ideally for best user friendly blogs and maybe even really good SEO, a prettyurl style:
Would be better than
and so on.
We should also remove that blog slug setting in the url settings, or make it optional at least, as it's currently used in some places but not in others and it's strange that some links, such as categories, tags, etc. have that slug included, such as:
But then the links to the actual posts are just:
Without the blog slug at the beginning.
Some of us want it everywhere, some of us don't want it at all, so we need that choice.
So, again it would be much better if we had more choice all around.
For the people that need to customize a slug before the post/category/tag name, etc., give them that option and whatever else may be needed to match the existing blog they are transferring from such as WP.
And then for others like myself who would like the nicer more human readable urls (maybe we used prettyurls or similar on WP or we just would like to build like that from scratch) with the category followed by the post title and no generic post/ category/ etc. slug appearing before it.
And if we're getting really adventurous, I'm sure a lot of us would love having subcategories too and incorporating that into the url structure.
So then for the main blog url we could have:
or
or
or
(whatever we set as the blog domain with or without slug after it)
And then have the rest of the url structured as
/category-name/post-title
/category-name/first-level-sub-cat-name/post-title
/category-name/first-level-sub-cat-name/second-level-sub-cat-name/post-title
Depending how the categories are set up and where the post is located, etc.
Shouldn't be too difficult as I have seen it done elsewhere like that in the past on WP and so on.
Log In