The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to set 301 redirect?
Hello, I want to set 301 redirect.
I opened .htacces, that I've renamed after install process from htaccess.txt I add the following condition to the end of file: <IfModule mod_rewrite.c> RewriteEngine On RedirectMatch 301 /forum/forum6/thread94188.html#post575816 /forum/subforlder-1/subfolder-2/96098-yoni-the-bassist-the-flow-of-emotions-2018-video </IfModule> |
#2
|
||||
|
||||
As I remember you have to put it into the beginning of the file... I could not look into that right now, but I think there are other redirects in the middle of the file and your will not work at the end.
|
#3
|
|||
|
|||
I add to the begin of the file. But it doesn't work. The url doesn't change. No redirect and I see typical page for post not found.
|
#4
|
||||
|
||||
Should look like this:
Code:
<IfModule mod_rewrite.c> RewriteEngine On #Start Redirects RewriteRule ^(.+)/forum(.*)$ https://forum.test.de/forum/$2 [R=301,L] ...... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|