Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-15-2011, 11:04 AM   PM User | #1
JustinBreathes
New to the CF scene

 
Join Date: Feb 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
JustinBreathes is an unknown quantity at this point
mod_rewrite help

I've been reading the different guides, and frankly I can't seem to find the right one I should be reading.

Here is really what I want to do.
I want to redirect everything that starts with:
www.abc.com/wp-content/uploads/2011/02/xyz.jpg
(example: www.abc.com/wp-content/uploads/2011/02/xyz.jpg%22%20blah but www.abc.com/wp-content/uploads/2011/02/xyz.jpg should not be affected by the rewrite)

to:
www.abc.com/tag/def/

"/wp-content/uploads/2011/02/" is an actual folder, but "/tag/def/" does not exist as a physical folder.
Also, please note that the intentionally badly written URL of the example contains %22 (a space) and %20 (a quotation mark), something I'm not sure will need the escape '\'

Also, I'm not sure where to upload the .htaccess file since the target result is not an actual folder. Should I upload it in "/"? Or under "wp-content/uploads/2011/02/"?

Thank you!
JustinBreathes is offline   Reply With Quote
Reply

Bookmarks

Tags
mod_rewrite

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:43 PM.


Advertisement
Log in to turn off these ads.