Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
[wiki] URL of the Textbook
Which URL should be linked to, textbook.textpattern.net or textpattern.net? I understand the content is the same and that this is a trivial issue, but will it always be this way? I think right now, it’s confusing having a domain and subdomain that are the same.
Offline
#2 2006-11-13 23:26:05
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [wiki] URL of the Textbook
textbook.textpattern.net
Offline
Re: [wiki] URL of the Textbook
Thanks. Shouldn’t all the TXP Network sites use it then? Like textpattern.com & .org?
Offline
#4 2006-11-14 04:55:34
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [wiki] URL of the Textbook
Shouldn’t all the TXP Network sites use it then?
Yes, though it changed only a short while ago, so the authors of those sites may not have caught it or have forgotten.
Like textpattern.com…
It does on the forum. I was sure I changed it on the main Txp site too, but it looks like it wasn’t. :)
Offline
Re: [wiki] URL of the Textbook
Sooner or later someone will do a little mod_rewrite too so it simply appears in the desired manner when a link is followed. That’s the idea, anyway.
Offline
Re: [wiki] URL of the Textbook
I put in a rewrite rule today that will rewrite www.textpattern.net
and textpattern.net
to textbook.textpattern.net
seems to be working ok so far.
If interested the rewriterule is in the Admin Docs page
Next step clean urls.
Last edited by hakjoon (2006-12-06 18:50:11)
Shoving is the answer – pusher robot
Offline
Re: [wiki] URL of the Textbook
hakjoon wrote:
I put in a rewrite rule today that will rewrite
www.textpattern.net
andtextpattern.net
totextbook.textpattern.net
seems to be working ok so far. … If interested the rewriterule is in the Admin Docs page … Next step clean urls.
The rewrite rules Patrick refers to are now in help:Wiki URL Rewriting. (All admin docs are now under the Administrators section of the help:Contents.)
As for clean URLs, here is the straight dope when it comes to MediaWiki. An important thing to note is what they say about recommend and not recommended URL structures…
MediaWiki’s default page addresses looks like these examples:
- http://example.com/w/index.php/Page_title (recent versions of MediaWiki, unless using CGI)
- http://example.com/w/index.php?title=Page_title (recent versions of MediaWiki, using CGI)
Using the methods below, short webpage addresses can be changed to addresses such as these:- http://example.com/wiki/Page_title (this is the standard, same as in Wikipedia)
- http://wiki.example.com/Page_title (not recommended!)
The recommended way also means having server root access/rights to modify httpd.conf
and robots.txt, rather than .htaccess (you don’t do server root method AND .htaccess method), which means we must get mamash at Joyent to do it, and his TextBook tickets are already back-logged.
Another curious thing about this method, at least to me, is what they say about MW normally being installed in a “w” subdirectory of web root (as opposed to a “wiki” subdirectory). I’ve never seen it suggested in MW docs before that you should install in “w”. They then go on to say that you create a virtual path to “wiki”, giving domain.tld/wiki/ At any rate, it’s easy to change if needed, but perhaps it’s not needed if we want something more along the lines of textpattern.net/docs/Page_Title. In that case we treat “wiki” like “w” and provide a virtual path to “docs” instead of “wiki”.
There is a non-root method for establishing the recommend clean structure, which is not as recommended as the root method, but more recommended than any other alternate method: Manual:Short URL/wiki/Page title — no root access
Finally, what they do not recommend is a URL structure (whether done in root or otherwise) like this: docs.textpattern.net/Page_Title. Apparently, this may create an unstable URL structure and leave some page names unusable on your wiki, and further, Any scheme which does this is not supported by the MediaWiki developers. So if your scheme doesn’t work with a new MediaWiki version, you’re on your own. as mentioned here.
Personally, I’m in favor of doing things like the core developers recommend, which means writing a ticket to get mamash’s help on the server root mods, and following a clean URL structure like textpattern.net/foo/Page_Title. In that respect, should foo be “docs” or “wiki”?
Taking it to the step after that — foo.textpattern.net/Page_Title, or even foo.textpattern.com/Page_Title (possible?) — is the precarious step MW developpers seem to discourage, but hey, we’ve been rolling with textbook.textpattern.net and it seems to hold up. I don’t know.
Last edited by Destry (2008-10-29 14:23:07)
Offline
Re: [wiki] URL of the Textbook
I think when I find the time I’m going to restructure the domain as docs.textpattern.net, which is the next best thing to docs.textpattern.com (and without the site admin management issues, though I would really love to see the wiki move to .com).
Feelings?
Also, we have input from authority that a title change is needed too, so instead of just “TextBook” something more SE grabby like TextBook: The Textpattern CMS User’s Manual.
This then answers Saccade’s inquiry about “reference” or “manual?” Clearly it’s going in the manual direction, by force of gravity. However, this does not suggest changing how certain parts of TxB are written. For example, the Tags Reference should be left alone.
Last edited by Destry (2009-02-26 11:12:48)
Offline
Re: [wiki] URL of the Textbook
Since my last post in this thread, over a year ago (Frack!), it seems possible we can even use docs.textpattern.com. Somebody just needs to get going on it.
We’ve even got style tweaks to make, but maybe I can get to that after the Content Strategy conference is done next month, which I’m happy to report is nearly sold out (crazy busy right now).
Offline
Pages: 1