Wordpress internal url_rewrite and gallery .htaccess

dbuttric

Joined: 2006-05-16
Posts: 1
Posted: Tue, 2008-03-25 05:22

I've got my self very confused.
In all the reading i've done about using urtl_rewrite, eveyone mentions the use of the .htaccess file as the common place to stoore this information, and mention is made of the ease with which things can be fouled up when the file is overwritten.

I'm having trouble debugging my rewrite situation because in my wordpress install (wpmu 1.3.3) I dont have a .htaccess file.

Does that mean that the rewrites are registered internally? If so, what does that do to wpg2 rewrites? I have not seen wpg2 create a .htaccess file.

If i cant see the rewrites in a files somewhere, does anyone know of any easy way to see them? This would make debugging alot easier.

Thanks

David

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Tue, 2008-03-25 09:57

Just a few points here to help you out..

A) If you are running an Apache Web Server you will have two .htaccess files, one in your Wordpress ROOT directory and the other in your Gallery2 Root Directory
B) If you are running IIS you will NOT have a .htaccess file, as IIS handles this internally.. (and at times this is not handled that well)
C) Wordpress actually has two sets of rewrite rules, one internally and a "greedy" external rule in your .htaccess which basically makes all requests refer to the internal rewrite rules.

and most of all, very little you can do to tweak either your wordpress or Gallery2 rules as both rule set are automatically generated..

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo