Stuck with rewrite not working

CLOSED

Stuck with rewrite not working

Postby Light Speed » Fri Dec 18, 2009 2:49 pm

Any idea why this rewrite is not working?

Code: Select all
RewriteEngine On
RewriteCond  %{HTTP_HOST} ^transparency/\?p=386$ [NC]
RewriteRule ^(.*)$ http://blogs.example.com/blog/2009/07/20/welcome-to-the-organic-section/ [R=301,L]


I have it in the vhost in httpd.conf.

Thanks!
Last edited by Light Speed on Mon Dec 21, 2009 9:58 am, edited 1 time in total.
Light Speed
 
Posts: 3
Joined: Sun Jul 13, 2008 4:18 am

Postby Light Speed » Mon Dec 21, 2009 9:57 am

Or even this one is not working:

Code: Select all
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^/transparency/?p=386$ /blog/2009/07/20/welcome-to-the-organic-section/ [R=301,L]


Any ideas?
Light Speed
 
Posts: 3
Joined: Sun Jul 13, 2008 4:18 am


Return to New Threads/Problems

Who is online

Users browsing this forum: No registered users and 12 guests

cron