Go Back   CodingForums.com > :: Server side development > ASP.NET

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 08-23-2011, 07:11 AM   PM User | #1
myprimewine.com
New to the CF scene

 
Join Date: Aug 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
myprimewine.com is an unknown quantity at this point
Migrateing from aspx php 301 rewrite

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]

Last edited by myprimewine.com; 08-23-2011 at 07:13 AM..
myprimewine.com is offline   Reply With Quote
Old 09-15-2011, 02:46 PM   PM User | #2
Par1s
New to the CF scene

 
Join Date: Aug 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Par1s is an unknown quantity at this point
FYI: you have the wrong domain (mispelled with 's' at the end) on the redirection to the new php page.
Par1s is offline   Reply With Quote
Reply

Bookmarks

Tags
.htaccess, 301, aspx, php, redirect

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 08:28 AM.


Advertisement
Log in to turn off these ads.