Home » , , , , » Info Putting Files Into Blogger's Rootage Directory

Info 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 you lot are using certainly non-Google products to get upward your Blog, they volition sometimes state you lot to put a file into your root-directory.   They may fifty-fifty state you lot to utilization an FTP  tool to exercise this.

Sometimes this happens when a production also gives you lot code to install into your blog , This approach is used when the code is written for websites inward full general rather than specifically to operate amongst 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, thus is a mutual approach exterior of Blogger.

Or mayhap the other tool has been designed to verify that you lot exercise ain the website inward this way, rather than quest you lot to alter the website code itself.


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

The curt respond for Blogger users is "sorry, you lot cannot exercise this".

The long respond is nonetheless 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 you lot code to  Info Putting files into Blogger's root directory
Posts:  Blogger's tool for managing
the content on our blogs
If you're clever, together with direct keep lots of time, you lot tin brand a website exactly using a text-editor (eg notpad), a graphics program, together with ftp software that lets you lot position the files into the correct places on reckoner that's connected to the internet.

Tools similar Dreamweaver direct keep away a lot of the time-consuming work, together with some of the demand for cleverness.  But you lot nonetheless demand to know a lot most the meshwork to exercise things inward a way that makes a proficient website.

Content management systems brand this easier still: they allow a technically-minded individual exercise the nuts-and-bolts operate to brand the website, together with compass authors / artists / editors / content-creators simpler-to-use tools that allow 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 certainly places. Administrators tin laid upward together with alter the theme, other people, eg authors exactly brand posts.

When nosotros utilization Blogger, the primary way that nosotros alter the information inward our web-pages is using the Blogger software. 

Some items within posts or gadgets tin move changed using other software, eg Google Docs, provided they were were laid upward using that other software inward the get-go place. But - cardinal indicate - there is zero inward 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 dubiousness that this this volition alter anytime soon.


What to exercise instead

The options for getting approximately this restriction depend on how the file that you lot demand to position into your root directory is intended to move used.

Installing code

If you lot direct keep code to install into your blog, together with a file to become amongst it, together with thus you lot exactly demand to
  1. Host the file somewhere else (maybe inward your Picasa-web-album for the blog, if it's a picture)
  2. Change the code to indicate to the total path of where you lot direct keep hosted the file, instead of the relative path used inward the code
For example, hither is the code for a push linking to my blog, amongst the film inward 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 utilization a specific location, I exactly add together a file-path together with the file-name of the film 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/AVvXsEhIcixAlIQna2je9zeKZbU2G-fN-xgAPaC3Vhjvku3-ulG9T4VTMCWbpRImysuyM45mbXjy_y4Ifk5of28QjObJhhfm6mKKmGpKmbRgy9vx5by7jJK809Nq3J-Qx-L9AU5kw0UEosEvSPRJ/s320/Logo.png" width="100" /></a></div>

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



Verifying ownership

If someone wants to utilization a file's seat to depository fiscal establishment fit that you lot command a website, together with thus they volition direct keep code on their ain website that looks for the file inward your root directory.

You cannot alter this code. And you lot cannot house the fie.

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

 If they don't direct keep whatsoever alternatives, drive lobbying for this on their production back upward forum:  by non having alterantives, they are ensuring that Blogger users, amidst others, cannot utilization their service.

If the official respond is nonetheless "no", together with thus you lot could also inquire inward other on-line forums if anyone has works life whatsoever other work-arounds.




An afterthought: what isn't recommended

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

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

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

Initially I was a footling sceptical of the idea: Blogger doesn't human face to meet whatsoever files inward our root directory, thus I was concerned that it powerfulness exercise foreign things if it works life them there. But on reflection, I retrieve at that topographic point is belike a depression run a jeopardy of this happening, since the file-location is outside Blogger's control.

(*) To avoid whatsoever confusion, file hosting together with DNS hosting are non the same thing. If you lot purchase a custom domain for your spider web log from a registrar without going through Google/Blogger, together with thus you lot exercise demand to pay for DNS hosting, but exercise non demand to buy file-hosting.



Related Articles

File hosts - places to shop files used inward your blog.

Picasa-web-albums: a quick introduction

How Blogger information is organised

Setting upward a novel administrator for your blog

Options for letting other people write inward your blog

0 comments:

Post a Comment

Powered by Blogger.