Visualizzazione Stampabile
-
Non legge l'Index!
Ragazzi è una cosa strana che succede al mio sito, in pratica se scrivo www.blablabla.it/forum/forum.php mi porta al forum ma se scrivo www.blablabla.it/forum non mi reindirizza, eppure è tutto corretto, come mai? eppure c'è un file index e forum nella root del forum! questo è avvenuto dopo l'upgrade da 3.8 a 4.1.3
-
Assieme alla Suite versione 4.x sono arrivati anche i file forum.php e contents.php. Nel file index.php (modificabile) si può scegliere quali file mostrare. Inoltre ci sono configurazioni nuovi che permettono di impostare sottodomini per forum, blog e cms. Bisogna giocare un po' su queste impostazioni per trovare la giusta combinazione.
-
Ciao, ti copio l'index:
Codice:
<?php
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 4.1.3 - Licence Number **********
|| # ---------------------------------------------------------------- # ||
|| # Copyright ©2000-2011 vBulletin Solutions Inc. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/
/**
* If you want to move this file to the root of your website, change this
* line to your vBulletin directory and uncomment it (delete the //).
*
* For example, if vBulletin is installed in '/forum' the line should
* state:
*
* define('VB_RELATIVE_PATH', 'forum');
*
* Note: You may need to change the cookie path of your vBulletin
* installation to enable your users to log in at the root of your website.
* If you move this file to the root of your website then you should ensure
* the cookie path is set to '/'.
*
* See 'Admin Control Panel
* ->Cookies and HTTP Header Options
* ->Path to Save Cookies
*/
//define('VB_RELATIVE_PATH', 'forums');
// Do not edit.
if (defined('VB_RELATIVE_PATH'))
{
chdir('./' . VB_RELATIVE_PATH);
}
/**
* You can choose the default script here. Uncomment the appropriate line
* to set the default script. Note: Only uncomment one of these, you must
* add // to comment out the script(s) that you DO NOT want to use as your
* default script.
*
* You can choose the default script even if you do not plan to move this
* file to the root of your website.
*/
/**
* Use the CMS as the default script:
*/
require('');
/**
* Use the forum as the default script:
*/
// require('forum.php');
/*======================================================================*\
|| ####################################################################
|| # Downloaded: 10:41, Thu May 12th 2011
|| # CVS: $RCSfile$ - $Revision: 31201 $
|| ####################################################################
\*======================================================================*/
cosa devo modificare?
-
Codice:
<?php
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 4.1.3 - Licence Number **********
|| # ---------------------------------------------------------------- # ||
|| # Copyright ©2000-2011 vBulletin Solutions Inc. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/
/**
* If you want to move this file to the root of your website, change this
* line to your vBulletin directory and uncomment it (delete the //).
*
* For example, if vBulletin is installed in '/forum' the line should
* state:
*
* define('VB_RELATIVE_PATH', 'forum');
*
* Note: You may need to change the cookie path of your vBulletin
* installation to enable your users to log in at the root of your website.
* If you move this file to the root of your website then you should ensure
* the cookie path is set to '/'.
*
* See 'Admin Control Panel
* ->Cookies and HTTP Header Options
* ->Path to Save Cookies
*/
define('VB_RELATIVE_PATH', 'forum');
// Do not edit.
if (defined('VB_RELATIVE_PATH'))
{
chdir('./' . VB_RELATIVE_PATH);
}
/**
* You can choose the default script here. Uncomment the appropriate line
* to set the default script. Note: Only uncomment one of these, you must
* add // to comment out the script(s) that you DO NOT want to use as your
* default script.
*
* You can choose the default script even if you do not plan to move this
* file to the root of your website.
*/
/**
* Use the CMS as the default script:
*/
//require('');
/**
* Use the forum as the default script:
*/
require('forum.php');
/*======================================================================*\
|| ####################################################################
|| # Downloaded: 10:41, Thu May 12th 2011
|| # CVS: $RCSfile$ - $Revision: 31201 $
|| ####################################################################
\*======================================================================*/
-
Niente :( nemmeno se incollo il tuo index.... ovviamente ho cambiato gli * con il licence number
-
hmhmhm
Se guardi come si comporta questo forum, il comportamento del tuo è simile?
-
risolto, sapere cos'era? oltre al file Index.php c'è ne era uno index.html del vecchio vbulletin... avevo fatto qualcosa con il seo e quindi mi apriva quello! :D
-
Giusto, me ne ero dimenticato e mi faceva però impazzire la primissima volta :)
-
grazie comunque, gentilissimo!