View Full Version : rewrite rule and forwarding

08-14-2010, 01:29 PM
I have a site we will call it mysite.com

I made a beta page that looks like this mysite.com/beta

issue i have is i forward all requests to mysite.com to mysite.com/beta

But if someone types in mysite.com/admin or mysite.com/username
it gives a page does not exist.

How can i make it so all requests go to mysite.com/beta?

Ive tried a few and I also tried wildcard but it created a loop cause of my beta being in the same DIR

08-14-2010, 03:48 PM
Create a rewrite condition that the request is not /beta.
Then create a rewrite rule to forward the user to /beta.

It may work best using /beta/index.htm (or another extension) directly, unless you have many pages inside /beta.

If you do have many pages inside beta, you can attach %REQUEST_URI% after /beta/, I believe.