Forum Moderators: phranque

Message Too Old, No Replies

Can you have 2 htaccess files-one in / and one in another folder?

Trying to set up a blog w/ rewrite

         

brizad

1:04 am on Sep 14, 2005 (gmt 0)

10+ Year Member Top Contributors Of The Month



I'm trying to set up a wordpress blog on an existing domain. I have the blog in a /blog folder and am trying to use htacess to rewrite the normal dynamic URL to static ones.

The problem I am having is that since my htaccess is in the / directory, wordpress is not reading it. They say it should work but it isn't.

Would there be any problem if I make another htaccess file for the /blog directory and leave the original one in the / directory?

Thanks

GregMR

1:41 am on Sep 14, 2005 (gmt 0)

10+ Year Member



I've done this and haven't had any problems.

jdMorgan

2:49 am on Sep 14, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try adding

RewriteOptions inherit

to the .htaccess file in the subfolder.

Jim

brizad

5:02 am on Sep 14, 2005 (gmt 0)

10+ Year Member Top Contributors Of The Month



I added the second file and everything seems to be OK.

Try adding

RewriteOptions inherit

to the .htaccess file in the subfolder.

What effect does this have?