Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-12-2012, 12:04 PM
SWSUSA's Avatar
SWSUSA SWSUSA is offline
 
Join Date: Nov 2012
Location: Moscow
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How do I remove the redirect forum.php at the forum vBulletin 4.2.0?

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!
Reply With Quote
  #2  
Old 02-16-2013, 01:03 AM
SWSUSA's Avatar
SWSUSA SWSUSA is offline
 
Join Date: Nov 2012
Location: Moscow
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Help please!
Reply With Quote
  #3  
Old 02-16-2013, 06:09 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 11-03-2013, 02:36 AM
SWSUSA's Avatar
SWSUSA SWSUSA is offline
 
Join Date: Nov 2012
Location: Moscow
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Help please!
Reply With Quote
  #5  
Old 11-03-2013, 02:59 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you first posted this back in 12 Nov 2012, 12:04 dont be silly
Reply With Quote
  #6  
Old 11-03-2013, 01:39 PM
mokujin's Avatar
mokujin mokujin is offline
 
Join Date: Oct 2005
Location: Czech
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In vBulletin Options -> Forums Home Page Options -> Script Name for Forum Home Page change to index and file forum.php change to index.php
Reply With Quote
  #7  
Old 08-08-2015, 12:28 AM
SWSUSA's Avatar
SWSUSA SWSUSA is offline
 
Join Date: Nov 2012
Location: Moscow
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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. Вставил следующие коды в конфигурационный файл:

Code:
    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
Reply With Quote
Благодарность от:
ikopylov
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:00 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10361 seconds
  • Memory Usage 2,228KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (1)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete