+33 3 83 56 65 26 +33 6 87 42 95 30 Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. Lun-Ven : 9.00 à 17.00

Transfert de site : Probleme d'installation

More
16 years 2 months ago #20171 by Lameche
Bonjour,

J'ai un problème au sujet de l'installation de mon site.

Je m'explique : j'ai un site "A" existant sur un hébergement avec un nom de domaine, je souhaitais transférer ce site "A" sur un autre hébergement ayant un autre nom de domaine "B". Donc j'ai fait la sauvegarde (fichiers et Base de donnée) du site "A" avec le composant "Akeeba" sans problème. Une fois cela fait, j'ai télécharger par FTP vers l'hébergement du site "B" l'ensemble de la sauvegarde (fichiers et Base de donnée)en ayant pris soin de supprimer auparavant le fichier "configuration.php".
Le problème c'est qu'une fois le transfert terminé, lorsque je tape le nom de domaine du site "B" tout de suite après le nom du site "B" disparait pour afficher le nom de domaine du site"A".

Quel est le problème d'après vous ?

Merci de votre aide.

Please Connectez-vous or Create an account to join the conversation.

More
16 years 2 months ago #20175 by tramber91
Bonjour

tu n'as pas de redirection dans ton .htaccess ?
type
Code:
RewriteCond %{HTTP_HOST} !^www.xxxxx.fr RewriteRule (.*) http://www.xxxxx.fr/$1 [R=301,L]

@+

Pas de support en MP sans y être invité. Merci
Merci de vous conformer aux règles du forum. Un merci, Cela fait toujours plaisir ;)
www.en-toutes-lettres.fr - Digital

Please Connectez-vous or Create an account to join the conversation.

More
16 years 2 months ago #20195 by Lameche
Je pense en effet. Voici le .htaccess
Dois-je supprimer des lignes ?




SetEnv PHP_VER 5

#AddHandler application/x-httpd-php52 .php .php5 .php4 .php3

##
# @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##


#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

## Can be commented out if causes errors, see notes above.

Options +FollowSymLinks

#
# mod_rewrite in use

RewriteEngine On

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]

# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)

# RewriteBase /

########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section

DirectoryIndex index.html index.php
# localhost : Redirect 301 /index.html http://localhost:81/accueil
Redirect 301 /index.html www.planete-orientale.eu/accueil

Please Connectez-vous or Create an account to join the conversation.

More
16 years 2 months ago - 16 years 2 months ago #20203 by lavsteph
Bonsoir,

si tu n'utiliseras le nom de domaine A.

tu peux soit faire une redirection HTML vers le site B avec un fichier HTML de ce type que tu mettras à la racine de l'ancien site, donc le A
Code:
<html> <head> <title>Redirection en htm</title <meta http-equiv="refresh" content="3; URL=http://www.nouveau_domaine.com"> </head> <body> Redirection vers www.nouveau_domaine.com dans 3 seconde. </body> </html>

Soit une redirection par .htaccess toujours à la racine de l'ancien hébergement A
Code:
RedirectPermanent / http://www.nouveau_domaine.com/
Last edit: 16 years 2 months ago by lavsteph.

Please Connectez-vous or Create an account to join the conversation.

More
16 years 2 months ago #20235 by Lameche
Je ne souhaite pas faire une redirection car le site A va disparaitre une fois que le site B est opérationnel.

Please Connectez-vous or Create an account to join the conversation.

More
16 years 2 months ago #20237 by tramber91
Bonjour

et ton site A c'est www.planete-orientale.eu ?

@+

Pas de support en MP sans y être invité. Merci
Merci de vous conformer aux règles du forum. Un merci, Cela fait toujours plaisir ;)
www.en-toutes-lettres.fr - Digital

Please Connectez-vous or Create an account to join the conversation.

Moderators: lavsteph, tramber91, Scottux, serge
Time to create page: 0.166 seconds

News Communautés

News sécurité