Putting Files Into Blogger's Rootage Directory

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


If yous are using sure as shooting non-Google products to parent your Blog, they volition sometimes state yous to put a file into your root-directory.   They may fifty-fifty state yous to purpose 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 full general rather than specifically to travel 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 yous exercise ain the website inwards this way, rather than bespeak yous to alter the website code itself.


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

The brusk respond for Blogger users is "sorry, yous cannot exercise this".

The long respond is nevertheless no:  "there is no way to exercise this, but meet the residual of this article for an explanation of why, together with some suggested work-arounds."


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

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

Tools similar Dreamweaver cause got away a lot of the time-consuming work, together with some of the demand for cleverness.  But yous nevertheless demand to know a lot virtually the meshing to exercise things inwards a way that makes a proficient website.

Content management systems brand this easier still: they allow a technically-minded soul exercise the nuts-and-bolts travel to brand the website, together with hand authors / artists / editors / content-creators simpler-to-use tools that allow them position "stuff" (ie content) into the website, without needing to worry virtually 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 sure as shooting places. Administrators tin laid upwards together with alter the theme, other people, eg authors exactly brand posts.

When nosotros purpose 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 endure changed using other software, eg Google Docs, provided they were were laid upwards using that other software inwards the showtime place. But - fundamental betoken - there is aught inwards the way that Blogger is position together that agency nosotros demand to access the base of operations directory. So they don't allow us exercise so.    And I incertitude that this this volition alter anytime soon.


What to exercise instead

The options for getting around this restriction depend on how the file that yous demand to position into your root directory is intended to endure used.

Installing code

If yous cause got code to install into your blog, together with a file to larn with it, hence 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 betoken to the total path of where yous cause got hosted the file, instead of the relative path used inwards the code
For example, hither is the code for a push linking to my blog, with the motion painting 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 purpose a specific location, I exactly add together a file-path together with the file-name of the motion painting 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/AVvXsEgSNeukelHCFXWjkdbBDBLQ705i2HH3juGcXq5ERJonAoVbUm1uxsjb1R-je547mW50_-FewjUqv0NagWg7gWySl_YWT7NlCdlgO_wi1CV3SLLTm-ljCMxaPwoyJi5_VnbFcHNTy1Ibniqv/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 purpose a file's seat to cheque that yous command a website, hence they volition cause got code on their ain website that looks for the file inwards your root directory.

You cannot alter this code. And yous cannot house 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 cause got whatever alternatives, endeavour lobbying for this on their production back upwards forum:  by non having alterantives, they are ensuring that Blogger users, alongside others, cannot purpose their service.

If the official respond is nevertheless "no", hence yous could also inquire inwards other on-line forums if anyone has constitute whatever other work-arounds.




An afterthought: what isn't recommended

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

 This may endure 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 equally business office of the services when yous purchase a custom-domain through Blogger.

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

Initially I was a piddling sceptical of the idea: Blogger doesn't await to meet whatever files inwards our root directory, hence I was concerned that it mightiness exercise foreign things if it constitute them there. But on reflection, I recall at that spot is in all likelihood a depression lead chances of this happening, since the file-location is outside Blogger's control.

(*) To avoid whatever confusion, file hosting together with DNS hosting are non the same thing. If yous purchase a custom domain for your weblog from a registrar without going through Google/Blogger, hence yous 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

0 Response to "Putting Files Into Blogger's Rootage Directory"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel