PDA

View Full Version : Redirect VB 4 urls to VB 5 in different directory


alexnc
09-05-2017, 06:04 PM
Hi.

I had:
Wordpress installed in the folder www/wp
vb4 is installed in the root, www/
The index.php of the root folder links to Wordpress
and forum.php to vb4

I am trying to upgrade to vb5 with the same settings. I have been testing for several days without success.

Please, does anyone know if you can redirect the old urls to the new ones, if I have vb5 installed in a folder other than the one I had in vb4, for example root / forum?

By default, if it is installed in the same folder they are redirected very well.
But I have not been able to do this for the type of config, since in vb5 you can not change the index.php file, I think

Sorry for my english and thank you very much for your time.

alexnc
09-06-2017, 06:29 PM
solved
I have redirected the urls that interest me to the folder where I have vb5 installed and now they are redirected.


RewriteEngine On
RewriteRule ^showthread\.php$ /foro/$0 [R=301,L]