Hello Everyone:
Seems like nothing works for me the first go around, and Wordpress is my latest hiccup in my quest to learn web design.
I'll try to summarize what I've done thus far:
1.) I installed wordpress in a sub-directory to use as a blog for the site.
2.) At first, I was not able to log in at all ( It would just refresh the page.)
3.) Discovered it was conflicting with my htaccess file somehow. ( I know this because when I removed it from the server I was able to log in just fine. )
4.) Using the process of elimination, I was able to discover the code that is giving the problem:
# Redirect direct client requests to remove .php extensions
RewriteCond %{THE_REQUEST} ^[A-Z]+\ /[^?#\ ]+\.php([?#][^\ ]*)?\ HTTP/
RewriteRule ^(.+)\.php$ [http://www.mywebsite.com/$1] [R=301,L]
This is where I get stumped. The rule works just fine for my website, which I've had running for over a year, but does not interact well with wordpress. I don't get why?
JDMorgan was nice enough to help me by providing the above solution, which strips the php extension, which is what I want.
I've researched this on Google, and it seems no one is having this problem, so maybe I need to rewrite the rule somehow or...is it possible that I could put another htaccess file in the subdirectory and somehow turn off the rewrite engine?
Any help is greatly appreciated.
Michael