very short url

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
robert
Regular
Posts: 1063
Joined: Mon May 09, 2005 9:17 pm
Location: Vienna, Austria
Contact:

very short url

Post by robert »

Hello,
I installed a new blog to use it as a possibility for short-urls in printings, phonecalls, etc.

I have a domain robertlender.info with a subdirectory "robi" (fictional). I got a new domain robi.at.

So I would like to have URLs like http://robi.at/card

Now, I have URLs like http://robi.at/archives/card.

My question is, how can I delete "archives" from the URL.

In another posting Garvin meant, that one word article names with no %id% ist not good. If it is true also for 1.4.1: How can I create (rewrite commands in .htaccess?) this short urls.

Thanks in advance
Robert
Von 2005 bis 2020 nutzte ich Serendipity/S9y. Auch nach meinem Umstieg bin ich S9y weiterhin in Gedanken verbunden. Ein Dank ergeht an alle Forumsteilnehmer:innen, die mir hier weitergeholfen haben.

Nur ein Blog
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: very short url

Post by garvinhicking »

Hi!

Deleting "archives" from the URL will create trouble, especially for pagination. Serendipity currently requires a fixed directory name.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
robert
Regular
Posts: 1063
Joined: Mon May 09, 2005 9:17 pm
Location: Vienna, Austria
Contact:

Re: very short url

Post by robert »

Sadly ;)

It should be the purpose of my new "service" to have very short URLs. I think, there could be a possibility by using .htaccess to

redirekt every robi.at/title call to robi.at/archives/title.

Mhh, any ideas from anybody? :-)
Von 2005 bis 2020 nutzte ich Serendipity/S9y. Auch nach meinem Umstieg bin ich S9y weiterhin in Gedanken verbunden. Ein Dank ergeht an alle Forumsteilnehmer:innen, die mir hier weitergeholfen haben.

Nur ein Blog
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Re: very short url

Post by stm999999999 »

hm ... shorten /archives/ to /a/?
Ciao, Stephan
robert
Regular
Posts: 1063
Joined: Mon May 09, 2005 9:17 pm
Location: Vienna, Austria
Contact:

Re: very short url

Post by robert »

Thanks for the idea.

I found another idea to solve my problem. Will blog in some days about it...

Regards
Robert
Von 2005 bis 2020 nutzte ich Serendipity/S9y. Auch nach meinem Umstieg bin ich S9y weiterhin in Gedanken verbunden. Ein Dank ergeht an alle Forumsteilnehmer:innen, die mir hier weitergeholfen haben.

Nur ein Blog
Post Reply