Forums / Cotonti / Bugs / Rewrite URLs [WIP]

Kilandor
#1 2009-01-21 13:22
I'm in the progress of working on re-writing URL's on the website, if you notice any problems with them or there is an area where they are not done please let me know and post here.

Completed
  • List/Pages
  • Users
This post was edited by Kilandor (2009-01-22 00:53, 15 years ago)
Trustmaster
#2 2009-01-21 20:38
Well, urls in docs are somewhat ugly because of category names (had to use it that way because they have to be unique site-wise). Not a bug, just a drawback.
May the Source be with you!
Kilandor
#3 2009-01-21 21:21
I think we can fix it, i'll work on changing them later. Well atleast the english ones :)

Fixed up the docs now, they use jut their own cat url, and rebuild the code from each part.
As well as users is complete.
This post was edited by Kilandor (2009-01-22 00:54, 15 years ago)
Antar
#4 2009-01-22 01:52
# Kilandor : Fixed up the docs now
Very nice urls, much better now.
Ratibor
#5 2009-01-22 02:30
Users and list - good,
Pages - not good.

Links:
http://www.cotonti.com/docs/en/admin/39

docs/en/admin/ - good,
39 - not good.
Не задавай глупых вопросов, не услышишь вранья.
Trustmaster
#6 2009-01-22 02:56
It's because someone didn't use alias for this page :-P
May the Source be with you!
Kilandor
#7 2009-01-22 03:40
Correct, if a alias is not used, it uses ID
Sergeich
#8 2009-01-23 23:59
Good Urls. We see this url`s in the release?
oc
#9 2009-01-24 01:01
@Sergeich: It is in since N-0.0.1. But it doesn't come by default, you need to do a little bit editing, this way all efforts for the url system will worth it, but the edit is too professional, I'd prefer a click and do menu. (Unfortunately I'm not exactly expert in this, so I'm totaly unaware what's going on)

But, I don't see this feature in forums. It is probably optional but it would be good to test from here.
Sergeich
#10 2009-01-24 01:13
All the information is stored in .htaccess and urltrans.dat. They can be distributed as an extension of or included in the basic supply.
Kilandor
#11 2009-01-24 02:58
I will likely release some tutorials to show how its possible.

All the main stuff will get done, it just takes some time and testing to develop correctly :)

@oc There is no way you could ever just have some sort of click and do menu. URL rewriting is just an advanced feature, along with creating the creating of .htaccess rules. The tool can create some which in most cases will work fine, but on more advanced things, it just takes hand coding.

The most that can be done is offer downloads for pre-made ones, that people make and submit. Which there is a download section for this.
Lombi
#12 2009-01-25 16:45
Download section? That sounds awesome.
<a href="http://www.domenlo.com">Surreal Art</a>
Iceman
#13 2009-02-02 14:44
Sounds awesome cant wait for tutorial/download.
pieter
#14 2009-02-12 15:49
I noticed that on one place the rewrites are not done.

In comments.
For users your see: http://www.cotonti.com/users.php?id=XX
Instead of http://www.cotonti.com/users/USERNAME
... can we help you ...