Putting Files Into Blogger's Rootage Directory

This article explains the issues, as well as options, for putting a file into the "root directory" of your Blogger blog.


If y'all are using surely non-Google products to heighten your Blog, they volition sometimes state y'all to put a file into your root-directory.   They may fifty-fifty state y'all to usage an FTP  tool to exercise this.

Sometimes this happens when a production also gives y'all code to install into your blog , This approach is used when the code is written for websites inwards full general rather than specifically to run with Blogger: putting useful files into a house relative to the root directory makes it a lot easier to deed a website from a test-address to the alive one, hence is a mutual approach exterior of Blogger.

Or mayhap the other tool has been designed to verify that y'all exercise ain the website inwards this way, rather than yell for y'all to alter the website code itself.


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

The curt response for Blogger users is "sorry, y'all cannot exercise this".

The long response is nevertheless no:  "there is no way to exercise this, but come across the residue of this article for an explanation of why, as well as some suggested work-arounds."


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

 Sometimes this happens when a production also gives y'all code to  Putting files into Blogger's root directory
Posts:  Blogger's tool for managing
the content on our blogs
If you're clever, as well as direct maintain lots of time, y'all tin brand a website precisely using a text-editor (eg notpad), a graphics program, as well as ftp software that lets y'all position the files into the correct places on figurer that's connected to the internet.

Tools similar Dreamweaver direct maintain away a lot of the time-consuming work, as well as some of the demand for cleverness.  But y'all nevertheless demand to know a lot most the network to exercise things inwards a way that makes a adept website.

Content administration systems brand this easier still: they permit a technically-minded mortal exercise the nuts-and-bolts run to brand the website, as well as plough over authors / artists / editors / content-creators simpler-to-use tools that permit them position "stuff" (ie content) into the website, without needing to worry most 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 nosotros position into surely places. Administrators tin laid upwards as well as alter the theme, other people, eg authors merely brand posts.

When nosotros usage Blogger, the principal way that nosotros alter the information inwards our web-pages is using the Blogger software. 

Some items within posts or gadgets tin last changed using other software, eg Google Docs, provided they were were laid upwards using that other software inwards the get-go place. But - primal betoken - there is zilch inwards the way that Blogger is position together that agency nosotros demand to access the base of operations directory. So they don't permit us exercise so.    And I uncertainty that this this volition alter anytime soon.


What to exercise instead

The options for getting approximately this restriction depend on how the file that y'all demand to position into your root directory is intended to last used.

Installing code

If y'all direct maintain code to install into your blog, as well as a file to larn with it, as well as then y'all precisely 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 betoken to the total path of where y'all direct maintain hosted the file, instead of the relative path used inwards the code
For example, hither is the code for a push clitoris linking to my blog, with the pic 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 usage a specific location, I precisely add together a file-path as well as the file-name of the pic 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/AVvXsEiZFaat0AVXg1GXxIht0BodLyFeFneCP8cyBJcXp0JOH0KxzWBf00pE7SLDtHVuWaASiXHFtglNZpOGgnjWJVQCdsiyyBXggwe8MnqOK4e90RxS4pgpUOHBTc9cdn1xJ8B47VqMevd8qy4W/s320/Logo.png" width="100" /></a></div>

TIP: blogger's editor sometimes gets links mixed up, hence it's of import to start the filepath with "http://"



Verifying ownership

If someone wants to usage a file's seat to banking concern jibe that y'all command a website, as well as then they volition direct maintain code on their ain website that looks for the file inwards your root directory.

You cannot alter this code. And y'all cannot house the fie.

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

 If they don't direct maintain whatever alternatives, drive lobbying for this on their production back upwards forum:  by non having alterantives, they are ensuring that Blogger users, alongside others, cannot usage their service.

If the official response is nevertheless "no", as well as then y'all could also inquire inwards other on-line forums if anyone has institute whatever other work-arounds.




An afterthought: what isn't recommended

I've late seen someone propose inwards a aid forum that people with custom domains tin position files into their blog's root directory yesteryear FTP'ing the files into place.

 This may last true, if the service that y'all 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 equally usage of the services when y'all purchase a custom-domain through Blogger.

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

Initially I was a lilliputian sceptical of the idea: Blogger doesn't await to come across whatever files inwards our root directory, hence I was concerned that it powerfulness exercise foreign things if it institute them there. But on reflection, I recollect in that location is in all probability a depression peril of this happening, since the file-location is outside Blogger's control.

(*) To avoid whatever confusion, file hosting as well as DNS hosting are non the same thing. If y'all purchase a custom domain for your weblog from a registrar without going through Google/Blogger, as well as then y'all exercise demand to pay for DNS hosting, but exercise non demand to buy file-hosting.



Related Articles

File hosts - places to shop 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
Post a Comment (0)
Previous Post Next Post