mod_rewite and staticpage article?

Found a bug? Tell us!!
Post Reply
Guest

mod_rewite and staticpage article?

Post by Guest »

I am using the staticpage generator. I am using a permalink to point: i.e., /index.php?/pages/about.html .

Only works with rewrite off.

Thoughts?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: mod_rewite and staticpage article?

Post by garvinhicking »

When you're using URL rewriting, you cannot use the "index.php/?..." scheme -- you'll need to use a scheme like "/pages/about.html".

So you need to decide whether to use URL rewriting URLs, or non-URL rewriting URLs, you can't use both interchangingly.

I guess the staticpage plugin could be patched to allow both, but I don't think this is really required. It's better to have a central URL scheme in your blog than to use two different methods, IMHO...

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/
bconnolly

Post by bconnolly »

Garvin,

Brian here. I was/am the guest above. Forgot to add the username.

Anyway, I've reread you second sentence above several times. I just don't get it. BUT... I followed your instructions and it worked perfectly.

Your the best and GREATLY appreciated.

Thanks.

Brian
Post Reply