...

View Full Version : Migrateing from aspx php 301 rewrite



myprimewine.com
08-23-2011, 07:11 AM
I have searched and read forums but remain stuck.

Example:
Old URL: http://primewines.com/product_detail.aspx?pid=3487
New http://myprimewines.com/3487.php
Any help would be appreciated.

# Helicon Ape version 3.0.0.69

RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_URI}?%{QUERY_STRING} ^/product_detail\.aspx\?pid=2577 [NC]
RewriteRule .* myprimewine.com/2577.php [L,R=301]

Par1s
09-15-2011, 02:46 PM
FYI: you have the wrong domain (mispelled with 's' at the end) on the redirection to the new php page.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum