Sponsered Answers

what is the difference between url rewrite and redirect?

Jan

2

2010

i want to redirect url using htaccess but i dont know which rule should be written to solve the issue.
page1: http://mydomain.com/userprofilename.php?user
page2: http://mydomain.com/user

i want to redirect page2 to page1 where page2 is not exist on server.
please help me asap.

In: Computers & Internet Asked By: [ Grey Star Level]
Answer #1

Make certain all of this code is on the same line no matter how yahoo formats it. You may need to create a index.html page or some other standard page to actually redirect the user if the first doesnt work try the second.

Redirect /user/ http://mydomain.com/userprofilename.ph

Redirect /user/oldfile.html http://mydomain.com/userprofilename.ph..

Answers Answered By: Diana T [ Grey Star Level]

Answer this Question

You must be Logged In to post an Answer.

Not a member yet? Sign Up Now »

Star Points Scale

Earn points for Asking and Answering Questions!

Grey Sta Levelr [1 - 25 Grey Star Level]
Green Star Level [26 - 50 Green Star Level]
Blue Star Level [51 - 500 Blue Star Level]
Orange Star Level [501 - 5000 Orange Star Level]
Red Star Level [5001 - 25000 Red Star Level]
Black Star Level [25001+ Black Star Level]

Powered by Yahoo! Answers