I've different Web addresses and various querys.


I've mysite.com/login.php?u=user&pass=pass

i wish to redirect to mysite.com/newsite/login.php?u=user&pass=pass


I've mysite.com/show?forum+id=34&topic=8

i wish to redirect to mysite.com/newsite/show?forum+id=34&topic=8

i've about 30 links i must redirect towards the newsite folder.

Can there be wa method to redirect without having needing to set all of the web addresses in htaccess.

Place the this inside your .htaccess file:

Options +FollowSymlinks
RewriteEngine On
RewriteRule ^show /newsite/show

This can redirect, for instance:





Sorry, I did not understand you desired to get this done with multiple Web addresses without getting one for every one. I believe this might work, however i haven't examined it.

Options +FollowSymlinks
RewriteEngine On
RewriteRule ^.com /newsite/

Whether it does not work, you may need a / following the ^.com within the last line.