RewriteEngine questions
I know I am mucking about with deep server voodoo here but I cannot figure out how to make this work.
I'm using ExpressionEngine, which generates URLS that look like this:
http://www.domain.com/index_ee.php/w...he_entry_title
What I want to do is have it look like this:
www.domain.com/this_is_the_entry_title
I have this in my .htaccess file, which doesn't work:
RewriteEngine on
RewriteRule ^domain\.com/(.*)$ domain\.com/index_ee\.php/weblog/$1
Any Apache wizards out there?
-g
Have you tried
RewriteRule ^/(.*)$ /index_ee\.php/weblog/$1
?
That's just a WAG because I know something about REs but nothing about mod_rewrite. Have you looked at the Apache URL Rewriting Guide ?
Just tried that and it didn't work. Dang. Got a 404.
Thanks for trying, though.
-g
I think there are ways to turn on logging to see what the before/after look like and there are some flags you can put at the end of the rule or in preceding rewrite sections to radically effect the way the rule is applied.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks