|
-
301 redirect problems with dynamic urls
Hi,
I'm trying to redirect the following url:
www.example.com/vessels.php?p=ship
to
www.example.com/ship.php
with the following code:
RewriteEngine On
RewriteCond %{QUERY_STRING} ^p=ship$
RewriteRule ^/vessels.php$ http://www.example.com/ship.php? [L,R=301]
but for some reason it's NOT working??
Can anyone help?
Thanks
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
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