ADS

News!! Putting Files Into Blogger's Rootage Directory

This article explains the issues, inwards add-on to options, for putting a file into the "root directory" of your Blogger blog.


If yous are using for for certain non-Google products to elevator your Blog, they testament sometimes state yous to put a file into your root-directory.   They may even out state yous to utilisation an FTP  tool to exercise this.

Sometimes this happens when a production also gives yous code to install into your blog , This approach is used when the code is written for websites inwards total full general rather than specifically to motion alongside Blogger: putting useful files into a family relative to the root directory makes it a lot easier to deed a website from a test-address to the hold upward one, hence is a usual approach exterior of Blogger.

Or mayhap the other tool has been designed to verify that yous exercise ain the website inwards this way, rather than betoken yous to alter the website code itself.


How to add together together a file to your blog's root directory

The curt answer for Blogger users is "sorry, yous cannot exercise this".

The long answer is all the same no:  "there is no way to exercise this, but come across the residual of this article for an explanation of why, inwards add-on to unopen to suggested work-arounds."


Why not? Every other website tool lets me exercise this.

 Sometimes this happens when a production also gives yous code to  News!! Putting Files Into Blogger's Source Directory
Posts:  Blogger's tool for managing
the content on our blogs
If you're clever, inwards add-on to larn got lots of time, yous tin construct a website exactly using a text-editor (eg notpad), a graphics program, inwards add-on to ftp software that lets yous spot the files into the right places on reckoner that's connected to the internet.

Tools like Dreamweaver larn got away a lot of the time-consuming work, inwards add-on to unopen to of the demand for cleverness.  But yous all the same demand to know a lot nearly the meshing to exercise things inwards a way that makes a proficient website.

Content direction systems construct this easier still: they allow a technically-minded private exercise the nuts-and-bolts motion to construct the website, inwards add-on to laissez passer authors / artists / editors / content-creators simpler-to-use tools that allow them spot "stuff" (ie content) into the website, without needing to worry nearly the details of how it works.

Blogger is a (very simple) website content-management system, it creates our web-pages for us based on information that we spot into for for certain places. Administrators tin set upwards inwards add-on to alter the theme, other people, eg authors only construct posts.

When we utilisation Blogger, the master way that we alter the information inwards our web-pages is using the Blogger software. 

Some items inside posts or gadgets tin motion changed using other software, eg Google Docs, provided they were were set upwards using that other software inwards the showtime place. But - telephone substitution indicate - there is nada inwards the way that Blogger is spot together that way we demand to access the base of operations of operations directory. So they don't allow us exercise so.    And I doubtfulness that this this testament alter anytime soon.


What to exercise instead

The options for getting exactly nigh this restriction depend on how the file that yous demand to spot into your root directory is intended to motion used.

Installing code

If yous larn got code to install into your blog, inwards add-on to a file to decease alongside it, inwards add-on to so yous exactly demand to
  1. Host the file somewhere else (maybe inwards your Picasa-web-album for the blog, if it's a picture)
  2. Change the code to indicate to the total path of where yous larn got hosted the file, instead of the relative path used inwards the code
For example, hither is the code for a force linking to my blog, alongside the flick inwards the root directory:
<div class="separator" style="clear: both; text-align: center;"> <a href="http://www.Blogger-hints-and-tips.blogspot.com" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"> <img border="0" src="//Logo.png" width="100" /></a></div>
To alter this to utilisation a specific location, I exactly add together together a file-path inwards add-on to the file-name of the flick wherever it is hosted.
<div class="separator" style="clear: both; text-align: center;"> <a href="http://www.Blogger-hints-and-tips.blogspot.com" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"> <img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUEByghcs8zU9ld-GShyhjc1u9SHroAs0qv426StJwy1HowfsqQhiVY_gVOQvSkUnpZoXK8MEHT-7rcwbmxXVVrhlKagd2i_J13fGuk9-D1WOjoO5bhXyvpLrHoIv_zjqA_0TFgTnsd-9-/s320/Logo.png" width="100" /></a></div>

TIP: blogger's editor sometimes gets links mixed up, hence it's significant to showtime the filepath alongside "http://"



Verifying ownership

If mortal wants to utilisation a file's spot to banking enterprise tally that yous command a website, inwards add-on to so they testament larn got code on their ain website that looks for the file inwards your root directory.

You cannot alter this code. And yous cannot family the fie.

So yous demand to ask them for an alternative way to verify, that is suitable for people without root directory access.

 If they don't larn got whatever alternatives, forcefulness out lobbying for this on their production dorsum upwards forum:  by non having alterantives, they are ensuring that Blogger users, alongside others, cannot utilisation their service.

If the official answer is all the same "no", inwards add-on to so yous could also enquire inwards other on-line forums if anyone has industrial plant life whatever other work-arounds.




An afterthought: what isn't recommended

I've belatedly seen mortal advise inwards a assist forum that people alongside custom domains tin spot files into their blog's root directory past times times FTP'ing the files into place.

 This may motion true, if the service that yous are purchasing from your domain registrar includes file-hosting. But file hosting(*)
  1. Isn't necessary for a custom domain used inwards Blogger (since Google hosts our files for us), and
  2. Isn't available every fleck utilisation of the services when yous purchase a custom-domain through Blogger.

So it's non a total full general solution for most Blogger users, though it may motion for some.

Initially I was a piddling sceptical of the idea: Blogger doesn't human human face upward to come across whatever files inwards our root directory, hence I was concerned that it mightiness exercise unusual things if it industrial plant life them there. But on reflection, I squall out upwards inwards that location is inwards all probability a depression chance of this happening, since the file-location is outside Blogger's control.

(*) To avoid whatever confusion, file hosting inwards add-on to DNS hosting are non the same thing. If yous purchase a custom domain for your spider spider web log from a registrar without going through Google/Blogger, inwards add-on to so yous exercise demand to pay for DNS hosting, but exercise non demand to buy file-hosting.



Related Articles

File hosts - places to store files used inwards your blog.

Picasa-web-albums: a quick introduction

How Blogger information is organised

Setting upwards a novel administrator for your blog

Options for letting other people write inwards your blog

Subscribe to receive free email updates:

ADS