Hi Chris,

Thank you for the quick response! I think I'm getting the idea, but I'll
pose you two explicit situations to be certain:

1) My habari installation with a handful of posts is located at
public_html/habari1/ and I have my domain
www.excellent-adventure.compointing there. If I rename the habari
folder to public_html/habari2/ and
update the domain pointer to match, will everything still be linked
properly?

2) Same original setup as above, but I decided to rebrand my blog as
www.bogus-journey.com and set up the new domain pointing as needed (same
webhost, same dir locations). Will the site function properly?

Thank you!

- Andrew

On Mon, Mar 21, 2011 at 5:01 AM, Chris Meller <[email protected]>wrote:

>  All the links Habari generates dynamically on each request (like the link
> to a post on the main page, or the tags on a post, etc.) will be generated
> based on whatever URL you used to access the site (so if you use
> blah.com/habari1 to get to the main page, it'd use /habari1, but if you
> used blah.com/habari2 to get to the main page, it'd use habari2).
>
> If you're inserting links in your post content, however, you'll run into
> problems if the URL changes. The only way to handle that is really to go
> back and change the links manually - there's no native way for Habari to
> change them (not that it would know it should). That includes any images you
> insert from one of the silos too, since those would use the URL you had
> reached the site at when you were writing the post (in this case /habari1).
>
> Not sure if that answers your question...
>
>  ------------------------------
>
>    Andrew Heath <[email protected]>
> March 19, 2011 12:37 AM
>
> Hi everyone,
>
> I'm testing habari on a shared hosting platform, wherein multiple domain
> names are pointed to different subfolders on the host. So 
> www.example.compoints to SUBS/habari1,
> www.example2.com points to SUBS/habari2, etc.
>
> I tossed up a few test posts and then changed the name of the habari
> directory, mimicking what would happen if I decided to rearrange the folder
> hierarchy, or switch domains, and found that while the main site comes up
> ok, the tag links are all broken. The tag links themselves point to the
> right folder, but when you go to that location there is nothing there.
>
> To be more clear:
>
> *Original:* /habari1/
> *Tag links point to:* /habari1/tag/dogs
>
> now we move our site, or restructure it and put habari in another branch:
>
> *New: */habari2/
> *Tag links point to:* /habari2/tag/dogs (this part is correct)
>
> but if you click the link you 404, I suppose because it's stored as*/habari1/
> *in the database.
>
> I've also noticed that image insert from HabariSilo links to the full path,
> rather than a relative path. Clearly external links (FlickrSilo) must do
> this, but why for internal content? That nails the blog to one location
> unless some poor soul goes and manually edits every post with local image
> content.
>
> All of the above is a long way of asking why relative pathing has not been
> used? and if there's a simple way to go about implementing it for someone
> like me who needs it?
>
> Respectfully,
>
> Andrew
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/habari-dev
>
>  --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/habari-dev

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/habari-dev

<<compose-unknown-contact.jpg>>

Reply via email to