Redirect a un altro sito

Supporto MODs generale.
FantasticDL
Utente
Utente
Messaggi: 105
Iscritto il: 17/04/2011, 18:48
Sesso: Maschio
Versione: 3.0.8
Server: UNIX/Linux
PHP: PHP 5.2.13
Database: MySQL 5.1.49-community-log
Contatta:

Redirect a un altro sito

Messaggio da FantasticDL » 04/05/2011, 20:39

Salve a tutti.
VI spiego cosa mi servirebbe, ho due forum, http://fantasticdl.org/ e http://fantasticdl.altervista.org
Io Vorrei che quando un user visita http://fantasticdl.altervista.org viene automaticamente reindirizzato a http://fantasticdl.org/, é Possibile??

Grazie

Avatar utente
Carlo
Amministratore
Amministratore
Messaggi: 9953
Iscritto il: 19/04/2009, 10:24
Sesso: Maschio
Versione: 3.2.0
Server: UNIX/Linux
PHP: 7.1.0
Database: MySQL(i) 10.0.27-MariaDB-cll-lve
Località: Puglia
Contatta:

Re: Redirect a un altro sito

Messaggio da Carlo » 05/05/2011, 16:07

Cerca nel forum utilizzando le seguenti keywords: http 301 o redirect permanente
MODs | Stili | Traduzioni MOD
Ogni MP contenente una richiesta di supporto verrà ignorato.

FantasticDL
Utente
Utente
Messaggi: 105
Iscritto il: 17/04/2011, 18:48
Sesso: Maschio
Versione: 3.0.8
Server: UNIX/Linux
PHP: PHP 5.2.13
Database: MySQL 5.1.49-community-log
Contatta:

Re: Redirect a un altro sito

Messaggio da FantasticDL » 05/05/2011, 17:10

Scsua ma come installo PhPseo?

Edit: Risolto Googlando :)

FantasticDL
Utente
Utente
Messaggi: 105
Iscritto il: 17/04/2011, 18:48
Sesso: Maschio
Versione: 3.0.8
Server: UNIX/Linux
PHP: PHP 5.2.13
Database: MySQL 5.1.49-community-log
Contatta:

Re: Redirect a un altro sito

Messaggio da FantasticDL » 05/05/2011, 19:38

ho seguito tutto la mod seo URL. Ma ora il sito non è piu' raggiungibile, come posso risolvere?
http://fantasticdl.org/

FantasticDL
Utente
Utente
Messaggi: 105
Iscritto il: 17/04/2011, 18:48
Sesso: Maschio
Versione: 3.0.8
Server: UNIX/Linux
PHP: PHP 5.2.13
Database: MySQL 5.1.49-community-log
Contatta:

Re: Redirect a un altro sito

Messaggio da FantasticDL » 05/05/2011, 19:46

Ecco qui l'error log Del forum:

Codice: Seleziona tutto

[05-May-2011 19:01:15] PHP Parse error:  syntax error, unexpected $end, expecting T_VARIABLE or '$' in /home/fantast7/public_html/viewtopic.php on line 1210
[05-May-2011 19:05:44] PHP Warning:  Unexpected character in input:  ''' (ASCII=39) state=1 in /home/fantast7/public_html/includes/functions.php on line 1391
[05-May-2011 19:05:44] PHP Parse error:  syntax error, unexpected $end, expecting ']' in /home/fantast7/public_html/includes/functions.php on line 1391
[05-May-2011 19:05:45] PHP Parse error:  syntax error, unexpected $end in /home/fantast7/public_html/includes/functions.php on line 1796
[05-May-2011 19:05:45] PHP Parse error:  syntax error, unexpected $end, expecting ')' in /home/fantast7/public_html/includes/functions.php on line 2608
[05-May-2011 19:05:46] PHP Parse error:  syntax error, unexpected $end, expecting '{' in /home/fantast7/public_html/includes/functions.php on line 4178
[05-May-2011 19:05:47] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:05:49] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:05:50] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:05:50] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:10:22] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:10:26] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:10:27] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:10:32] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:10:33] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:10:37] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:10:38] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:10:40] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:10:42] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:10:43] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:10:45] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:10:47] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:10:48] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:10:53] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:10:54] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:10:58] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:10:59] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:03] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:04] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:08] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:09] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:14] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:15] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:19] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:20] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:21] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:24] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:25] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:29] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:30] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:35] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:36] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:40] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:41] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:45] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:46] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:51] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:51] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:56] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:11:56] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:12:01] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:12:02] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:12:06] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:12:07] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:12:12] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:23:58] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:24:02] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:24:03] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:24:08] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:24:08] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:24:13] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:24:13] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:24:18] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:24:19] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:24:24] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:24:24] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:24:29] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:24:29] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:24:34] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:24:34] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:24:39] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:24:40] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:24:45] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:24:45] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:24:50] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:24:50] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:24:55] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:24:55] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:25:00] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:25:00] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:25:01] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:25:06] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:25:06] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:25:11] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:25:11] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:25:16] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:25:16] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:25:21] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:25:22] PHP Parse error:  syntax error, unexpected '}' in /home/fantast7/public_html/includes/functions.php on line 4598
[05-May-2011 19:25:27] PHP Parse error:  syntax error, unexpected $end in /home/fantast7/public_html/includes/session.php on line 326
[05-May-2011 19:25:27] PHP Parse error:  syntax error, unexpected $end in /home/fantast7/public_html/includes/session.php on line 507
[05-May-2011 19:25:32] PHP Parse error:  syntax error, unexpected T_CLASS, expecting T_FUNCTION in /home/fantast7/public_html/includes/session.php on line 1480
[05-May-2011 19:25:32] PHP Parse error:  syntax error, unexpected T_CLASS, expecting T_FUNCTION in /home/fantast7/public_html/includes/session.php on line 1480
[05-May-2011 19:25:37] PHP Parse error:  syntax error, unexpected T_CLASS, expecting T_FUNCTION in /home/fantast7/public_html/includes/session.php on line 1480
[05-May-2011 19:25:37] PHP Parse error:  syntax error, unexpected T_CLASS, expecting T_FUNCTION in /home/fantast7/public_html/includes/session.php on line 1480
[05-May-2011 19:25:42] PHP Parse error:  syntax error, unexpected T_CLASS, expecting T_FUNCTION in /home/fantast7/public_html/includes/session.php on line 1480
[05-May-2011 19:25:43] PHP Parse error:  syntax error, unexpected T_CLASS, expecting T_FUNCTION in /home/fantast7/public_html/includes/session.php on line 1480
[05-May-2011 19:25:47] PHP Parse error:  syntax error, unexpected T_CLASS, expecting T_FUNCTION in /home/fantast7/public_html/includes/session.php on line 1480
[05-May-2011 19:25:48] PHP Parse error:  syntax error, unexpected T_CLASS, expecting T_FUNCTION in /home/fantast7/public_html/includes/session.php on line 1480



Avatar utente
Carlo
Amministratore
Amministratore
Messaggi: 9953
Iscritto il: 19/04/2009, 10:24
Sesso: Maschio
Versione: 3.2.0
Server: UNIX/Linux
PHP: 7.1.0
Database: MySQL(i) 10.0.27-MariaDB-cll-lve
Località: Puglia
Contatta:

Re: Redirect a un altro sito

Messaggio da Carlo » 05/05/2011, 20:03

Hai fatto casini durante la modifica di quasi tutti i files. asd

Ma neanche un copia/incolla riesci a fare? rotfl
MODs | Stili | Traduzioni MOD
Ogni MP contenente una richiesta di supporto verrà ignorato.

FantasticDL
Utente
Utente
Messaggi: 105
Iscritto il: 17/04/2011, 18:48
Sesso: Maschio
Versione: 3.0.8
Server: UNIX/Linux
PHP: PHP 5.2.13
Database: MySQL 5.1.49-community-log
Contatta:

Re: Redirect a un altro sito

Messaggio da FantasticDL » 05/05/2011, 20:04

ma no, è impossibile ho controllato piu' volte!

Avatar utente
T@by
Utente
Utente
Messaggi: 43
Iscritto il: 08/03/2011, 9:42
Sesso: Femmina
Versione: 3.0.8
Server: UNIX/Linux
PHP: 5.3.4
Database: MySQL 5.0.41

Re: Redirect a un altro sito

Messaggio da T@by » 05/05/2011, 22:10

con Altervista te la cavi in modo semplicissimissimo

rinomini index.php in (esempio) _index.php
crei un file di nome not_found.html con questo contenuto:

Codice: Seleziona tutto

<HTML>
<HEAD>
<TITLE>Redirect...</TITLE>
<META HTTP-EQUIV="REFRESH" CONTENT="0; URL=http://fantasticdl.org/">
</HEAD>
<BODY>
Il sito &egrave; stato spostato all'indirizzo <b>http://fantasticdl.org/</b>

Redirect in corso...
</BODY>
</HTML>
e lo uppi su altervista.

finito :)

in sintesi non essendoci piu' index.php viene letto not_found.html che redirige sul nuovo dominio

FantasticDL
Utente
Utente
Messaggi: 105
Iscritto il: 17/04/2011, 18:48
Sesso: Maschio
Versione: 3.0.8
Server: UNIX/Linux
PHP: PHP 5.2.13
Database: MySQL 5.1.49-community-log
Contatta:

Re: Redirect a un altro sito

Messaggio da FantasticDL » 05/05/2011, 22:47

Grazie mille T@by :D

Carlo Hai per caso idea di quale sia il file che non fa funzionare il Forum?

Edit: Risolto :lol:

Avatar utente
T@by
Utente
Utente
Messaggi: 43
Iscritto il: 08/03/2011, 9:42
Sesso: Femmina
Versione: 3.0.8
Server: UNIX/Linux
PHP: 5.3.4
Database: MySQL 5.0.41

Re: Redirect a un altro sito

Messaggio da T@by » 05/05/2011, 23:02

quello non altervista lo vedo raggiungibile... hai di sicuro un problema con lo stile.
di piu' non so dirti dato che nn sono registrata. un solo piccolo suggerimento.. nascondi i forum 'particolari' ai non iscritti

Rispondi

Torna a “Supporto MODs”

Chi c’è in linea

Visitano il forum: Nessuno e 4 ospiti