Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-03-14 15:56:15

jws
New Member
Registered: 2006-03-08
Posts: 4

How can I get mysite.com/section/category urls?

If I try to use mod_rewrite to get urls of the form http://my_site/my_section/my_category, it seems that if_section can no longer determine what section we are in. It was my understanding that php would receive the incoming url in the re-written format- i.e. http://my_site/index.php?s=my_section&c=my_category.

That does not appear to be the case. What is my mental malfunction?

(Edit: updated thread title to something more useful. :) -Mary)

Last edited by Mary (2006-03-14 18:43:54)

Offline

#2 2006-03-14 16:15:17

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: How can I get mysite.com/section/category urls?

I’ve never had a problem using sgb_url_handler to handle http://domain.com/section/category url scheme, then making extensive use of if_section.

Maybe worth a try.

Offline

#3 2006-03-14 18:42:47

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: How can I get mysite.com/section/category urls?

These kind of urls are not supported by Textpattern. Moved this thread to “How Do I…?”.

Offline

Board footer

Powered by FluxBB