View Single Post
Old 02-11-2006, 01:50 AM  
spacedog
Yes that IS me. Bitch.
 
Industry Role:
Join Date: Nov 2001
Posts: 14,149
RewriteEngine On

when writing htaccess, does it get fucked up if RewriteEngine On is there more than once?

I want to add some things to my htaccess, but wordpress takes up a big portion of it, so, I leave that part alone & edit the other parts that are there before the wordpress shit.

Anyway, I need to add something that requires RewriteEngine On , but it's already on via the wordpress codes, so, do I put it there twice?


so, basically, I have my error documents, that dont require any mod, then after starts the wordpress shit & it starts with;

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On



so, if I am adding to this, I am putting it after the error document & before the # Begin wordpress

would this be incorrect;

RewriteEngine On
blah blah blah bullshit here
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On

or, do I put it there without RewriteEngine On, because it's on further down the page from wordpress??


Ok, I confused myself
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote