I have different URLS and different querys.
i.e.
I have mysite.com/login.php?u=user&pass=pass
i want to redirect to mysite.com/newsite/login.php?u=user&pass=pass
or
I have mysite.com/show?forum+id=34&topic=8
i want to redirect to mysite.com/newsite/show?forum+id=34&topic=8
i have about 30 links i would like to redirect to the newsite folder.
Is there wa way to redirect with out having to set all the urls in htaccess.
You can put this in your .htaccess file:
This will redirect, for example:
to:
Edit:
Sorry, I didn’t realise you wanted to do this with multiple URLs without having one for each one. I think this might work, but I haven’t tested it.
If it doesn’t work, you might need a / after the ^.com in the last line.