View Full Version : How do I remove the redirect forum.php at the forum vBulletin 4.2.0?
SWSUSA
11-12-2012, 12:04 PM
Hi! Now the address of my forum looks so http://glbyh.ru/forum.php, it is necessary that was http://glbyh.ru.
How to clean forum.php redirect at a forum? Similar subjects read several times, looked on the Internet, all somehow scraps and isn't up to the end clear, there is no clearness, the answer wasn't found. I need to be sure for 100 %.
Thanks! :)
SWSUSA
02-16-2013, 01:03 AM
Help please!
Digital Jedi
02-16-2013, 06:09 AM
Sometimes, this is provided by your host. If they provide cPanel, there should be an option for a redirect. If not, they should be able to set this up for you.
SWSUSA
11-03-2013, 02:36 AM
Help please!
ForceHSS
11-03-2013, 02:59 AM
you first posted this back in 12 Nov 2012, 12:04 dont be silly
mokujin
11-03-2013, 01:39 PM
In vBulletin Options -> Forums Home Page Options -> Script Name for Forum Home Page change to index and file forum.php change to index.php
SWSUSA
08-08-2015, 12:28 AM
Hello everyone! I told him how I solved the problem. Long suffered. Inserts all sorts of different codes .htaccess but nothing helped. Make changes to the admin panel, did not help.
And all because the web server Nginx, 301 redirect is configured in the configuration file nginx.conf.
Harvesting /index.php and /forum.php in Nginx. Insert the following code to the configuration file:
Всем привет! Рассказываю как я решил проблему. Долго мучался. Вставлял всякие разные коды в .htaccess но ничего не помогало. Делал изменения в панели администратора, не помогало.
А всё потому, что в веб сервере Nginx, 301 редирект настраивается в конфигурационном файле nginx.conf.
Убираем /index.php и /forum.php в Nginx. Вставил следующие коды в конфигурационный файл:
location ~ ^/index.(html|php)$ {
if ($request_uri ~ ^/index.(html|php)) {
rewrite ^.*$ / permanent;
}
}
location ~ ^/forum.(html|php)$ {
if ($request_uri ~ ^/forum.(html|php)) {
rewrite ^.*$ / permanent;
}
}
Now requests /index.php /forum.php and will give 301 redirect to http://glbyh.ru, and the site will be entirely work as before.
Теперь запросы на /index.php и /forum.php будут давать 301 редирект на http://glbyh.ru, а сам сайт целиком будет работать как и прежде.
Check redirect here http://www.prcy-info.ru/index.php/redirect-checker
Проверить наличие редиректа можно здесь http://www.prcy-info.ru/index.php/redirect-checker
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.