I have a forum: mywebsite.com
and a site: mywebsite.com/site/
Both on the same domain name.
Before 10 days I did this redirection:
mywebsite.com to mywebsite.com/forum/
So now I have:
mywebsite.com - > mywebsite.com/forum/
Now I want to make mywebsite.com redirect to /site/ because I want to make mywebsite.com/site/ as the main site..so when visitors go to mywebsite.com goes to /site/ directly.
I want to redirect all these using 301 to /forum/
Please someone can help me?
Nginx? Or apache? or what :P
It says htaccess on the title so must be apache. Nginx does not support htacess.
OMG true xD
stupid answer : no you can't. try to use / instead \ :P
mmm.. i'll try this first for making sure all is right (i didn't use apache for a long time except in my ISPConfig server).
I forgive you ........ this time :P
Don't hurt me please u_u
Something like this ...
You could use rewrite rules instead, but redirects are faster & more efficient.