/blogger/community?hl=en
/blogger/community?hl=en
1/10/14
Original Poster
Tshikatshikaaa

Blogger does not handle relative links properly

I have noticed this with my http://www.aboutefficiency.com blogger blog, but it happens with other blogs too.
 
I have a page referencing another page using a relative link:
 
<a href="p/guest-blogging.html">here</a>
 
and I have set a base URL:
 
<base href="http://www.aboutefficiency.com/" />
 
Yet, when I save the page, Blogger tends to add its own base link:
 
<a href="https://www.blogger.com/p/guest-blogging.html">here</a>
 
This is really annoying, because this is breaking HTML standard behavior. Relative URLs are absolutely valid.
 
There is an old post in the blogpost archives (http://archives.blogspot.nl/#3668266) saying that relative links should work, but that is not the case.
 
This is a bug. Blogger/Blogspot should not try to modify links created in posts, especially silently.
 
Can you fix this? Thanks!
Community content may not be verified or up-to-date. Learn more.
All Replies (4)
Adam the Apple Blogger
1/10/14
Adam the Apple Blogger
It's been this way for a very long time. I doubt it is going to change. Is there an actual problem, or does it just offend your coding sensibilities?

Consider it a gentle reminder that Blogger is not like most other web sites.

1/10/14
Original Poster
Tshikatshikaaa
If you want to move blog posts around (import, export) this is a real issue, because absolute URLs are then broken.
 
It is also a real issue if the the URL of a blog changes. If the <base> tag worked properly, one would not need to fiddle with redirects. This also has an impact link juice and page rank. There is a simple solution, but Blogger breaks it.
 
Let me return a gentle reminder too, being aged and different does not legitimate bugs or laziness.
 
I have also opened a question on stackoverflow, but did not get a solution or workaround to this issue: http://webmasters.stackexchange.com/questions/56885/how-to-prevent-blogger-from-converting-relative-urls-to-absolute-urls
Chuck Croll
1/10/14
Chuck Croll
The only way to avoid this problem is to not switch between "Compose" and "Edit HTML" modes, in Post Editor.  Or plan your post development - and add relative links as the last step before publishing.


We reported this, 4 years ago.  Blogger Engineering prefers alternate solutions, apparently.
Adam the Apple Blogger
1/10/14
Adam the Apple Blogger


On Friday, January 10, 2014 8:55:58 AM UTC-5, Tshikatshikaaa wrote:

Let me return a gentle reminder too, being aged and different does not legitimate bugs or laziness.

Touche! But no disrespect intended. It's just that your find from the blogspot archives is more than 12 years old. Since then Blogger has been bought by Google, moved from FTP to the cloud, and undergone many other changes.

Some people arrive here with a smattering of knowledge of html and are surprised that Blogger does not work as they expect.

The functionality you want has been implemented nonstandardly but simply for most blog users. 

If someone changes his or her blog url, or exports content and imports it into another blog, the url's will all change. without adjustment to the <base/> tag. I can appreciate that there might be uses, hypothetical ones I hope, for which that would not work for you.

For me, the way Blogger mangles anchors (perhaps a related problem) is much more aggravating.


Were these replies helpful?
How can we improve them?
 
This question is locked and replying has been disabled. Still have questions? Ask the Help Community.

Badges

Some community members might have badges that indicate their identity or level of participation in a community.

 
Google Employee — Google product team members and community managers
 
Community Specialist — Google partners who help ensure the quality of community content
 
Platinum Product Expert — Community members with advanced product knowledge who help other Google users and Product Experts
 
Gold Product Expert — Community members with in-depth product knowledge who help other Google users by answering questions
 
Silver Product Expert — Community members with intermediate product knowledge who help other Google users by answering questions
 
Product Expert Alumni — Former Product Experts who are no longer members of the program
Community content may not be verified or up-to-date. Learn more.

Levels

Member levels indicate a user's level of participation in a forum. The greater the participation, the higher the level. Everyone starts at level 1 and can rise to level 10. These activities can increase your level in a forum:

  • Post an answer.
  • Having your answer selected as the best answer.
  • Having your post rated as helpful.
  • Vote up a post.
  • Correctly mark a topic or post as abuse.

Having a post marked and removed as abuse will slow a user's advance in levels.

View profile in forum?

To view this member's profile, you need to leave the current Help page.

Report abuse in forum?

This comment originated in the Google Product Forum. To report abuse, you need to leave the current Help page.

Reply in forum?

This comment originated in the Google Product Forum. To reply, you need to leave the current Help page.