ReWrite one page to another

CLOSED

ReWrite one page to another

Postby Crazytje » Tue Feb 02, 2010 12:21 am

This sounds very simple and easy to do, but for some reason I just can't find a solution.


What I would normally do is:
Redirect 301 /mydir/mydir2/page.php /mydir/newpage.php


But I can't do this because the old page is used in code elsewhere that does not follow redirects.

So I need to use rewriterules?, but don't know how to do this.
It's needs to be able to do this:

/mydir/mydir2/page.php?Task=dosomething&paramx=moreparams
to
/mydir/newpage.php?Task=dosomething&paramx=moreparams


anyone an idea on how to do this?
Crazytje
 
Posts: 3
Joined: Wed Oct 28, 2009 7:34 am

Return to New Threads/Problems

Who is online

Users browsing this forum: No registered users and 4 guests

cron