This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Common Questions (Forum Locked Forum Locked)
 Helicon Tech : Common Questions
Subject Topic: Simple Rewrite
Author
Message |
jackub
Newbie


Joined: 21 January 2010
Posts: 4
Posted: 21 January 2010 at 4:06pm

I have page on my domain that changed from /file.htm to /location/location/file.aspx.

need to make sure that the links out there post to the file ... i have the following in my .htaccess file on an iis server.

RewriteEngine On

RewriteCond %{HTTP_HOST} ^socapie.com

RewriteRule (.*) http://www.socapie.com/$1 [R=301,L]

Redirect 301 /maureen.htm http://www.socapie.com/orange_county_personal_injury_attorney/attorneyatlaw_profile/lawyer_maureen_levine.aspx


the redirect from socapie.com to www.socapie.com works great .. but the 301 page redirect is not firing.

any suggestions would be greatly appreciated.





Back to Top
 
Guests
Guest


Joined: 01 October 2003
Online Status: Online
Posts: -160
Posted: 22 January 2010 at 2:53am

Why wouldn't you try replacing
Redirect 301 /maureen.htm http://www.socapie.com/orange_county_personal_injury_attorney/attorneyatlaw_profile/lawyer_maureen_levine.aspx
with
RewriteRule ^/maureen\.htm$ http://www.socapie.com/orange_county_personal_injury_attorney/attorneyatlaw_profile/lawyer_maureen_levine.aspx
[NC,R=301,L]
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum