Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-06-27 23:42:00
- ookpik
- Member
- Registered: 2005-05-05
- Posts: 18
Help with (possibly nested) blog URL structure
I’m asking this just in case I’m missing something obvious and awesome.
I’m making a site with some basic pages, and a blog. I’d really like this URL structure:
| /section1/title | (brochure pages) |
| /section2/title | |
| /blog | (blog index, listing 5 or 10 recent articles) |
| /blog/archives | (listing all entries by month or whatever) |
| /blog/2006/06/27/title | (individual blog entry) |
Now. The only way I can see to accomplish that is to install a second Textpattern in the /blog directory of the site. (Then, on this second installation, set permlink mode to use dates and put the articles in a section called archives.)
The kicker is that I need to use the same images and files in both parts of the website. An author could log into both installations, and copy Textile code from the image tab of one installation into the write tab of the other, but I’m building this site for non-technical users and I’m trying to keep it simple. I’d LOVE it if I could avoid the second login location.
Anybody know a magical plug-in or something that might make this simpler? Either some hack to make both installations use the same image and file tables (they can easily share a database), or preferably some way to get those blog URLs working under a single installation? Or something I’m not seeing?
Thanks for reading!
Offline
Re: Help with (possibly nested) blog URL structure
put it all in /blog and use mod_rewrite for to load the content from /blog/section1/title into /section1/title url?
Offline
#3 2006-06-28 04:03:29
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: Help with (possibly nested) blog URL structure
Graeme Porteous’ url rewrite plugin might be useful. gbp_faux_static plugin I believe he is about to release a newer version.
— Steve
Offline