[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4363: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4367: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
Problèmes redirections 301 par htaccess

Problèmes redirections 301 par htaccess

Quel hébergement choisir, serveur dédié ou mutualisé, configuration d'un serveur, mod_rewrite, .htaccess, robots.txt

Problèmes redirections 301 par htaccess

Messagede lechtimi » Ven 9 Jan 2009 10:59

Bonjour
Y a-t-il un maximum de redirection que l’on peut mettre dans un htaccess (redirection de pages d’un site vers un autre site) et pourrait il y avoir des incidences sur le serveurs si il y a beaucoup de redirections
Car je rencontre des problèmes avec un htaccess :
Il fait 13 023 octets et comporte 89 redirection 301 mais quand j’en rajoute une les redirections et les pages du sites « partent en vrilles ».
Merci de vos avis pour m’éclairer un peu.
[url=https://www.annonces-de-france.net/]Publier un article[/url]
[url=https://www.hellarides.com/]Contenu marketing[/url]
lechtimi
 
Messages: 110
Inscription: Lun 3 Mar 2008 06:08


Re: Problèmes redirections 301 par htaccess

Messagede Arf » Ven 9 Jan 2009 12:14

Le fichier .htaccess est lu et interprété avant d'exécuter tes scripts.
Plus il y a de ligne dans ce fichier, plus le serveur mettra de temps à afficher une page donnée.

Et là 13 023 octets, c'est tout de même du gros .htaccess
C'est pas forcement l'ajout d'une ligne qui cause le problème, c'est où tu ajoutes cette ligne.

Il y a un ordre précis pour ne pas créer de conflit entre les rewriterules.
Arf
Administrateur du site
 
Messages: 3100
Inscription: Lun 21 Jan 2008 14:53

Re: Problèmes redirections 301 par htaccess

Messagede lechtimi » Ven 9 Jan 2009 12:32

Bonjour
je met mes redirections par rapport aux pages qui me raménent le plus de visiteurs.
Quel ordre faut il utiliser
merci
[url=https://www.annonces-de-france.net/]Publier un article[/url]
[url=https://www.hellarides.com/]Contenu marketing[/url]
lechtimi
 
Messages: 110
Inscription: Lun 3 Mar 2008 06:08

Re: Problèmes redirections 301 par htaccess

Messagede Arf » Ven 9 Jan 2009 12:36

Quels sont les redirections mise en place précisément ?
C'est pour faire quoi ?
Redirection d'un domaine vers un autre ?
Arf
Administrateur du site
 
Messages: 3100
Inscription: Lun 21 Jan 2008 14:53

Re: Problèmes redirections 301 par htaccess

Messagede lechtimi » Ven 9 Jan 2009 12:41

ces des redirections de pages entre 2 sites du style ma-page.htm d'un site vers un autre site www.autre-site.com/ma-page.php
[url=https://www.annonces-de-france.net/]Publier un article[/url]
[url=https://www.hellarides.com/]Contenu marketing[/url]
lechtimi
 
Messages: 110
Inscription: Lun 3 Mar 2008 06:08

Re: Problèmes redirections 301 par htaccess

Messagede lechtimi » Lun 12 Jan 2009 13:39

J’ai résolu le problème autrement
Dans mon htaccess j’ai mis ceci :
RewriteRule ^(.*)\.htm$ /$1.php [L,R=301]
Puis dans les pages htm ceci :
<?php
header('HTTP/1.1 301 Moved Permanently', false, 301);
header("Location: http://www.mon-site/ma-page.php");
exit();
?>
Cela fonctionne
[url=https://www.annonces-de-france.net/]Publier un article[/url]
[url=https://www.hellarides.com/]Contenu marketing[/url]
lechtimi
 
Messages: 110
Inscription: Lun 3 Mar 2008 06:08

Re: Problèmes redirections 301 par htaccess

Messagede moostyk » Jeu 22 Jan 2009 00:30

Bonne journée à tous.
moostyk
 
Messages: 111
Inscription: Ven 5 Déc 2008 16:33
Localisation: auxerre


Retourner vers Administration d'un site

 


  • Articles en relation
    Réponses
    Vus
    Dernier message

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités

 
Copyright © arfooo.com  2007 - 2011  -  Tous droits réservés  -  Partenaires de confiance
Sites du groupe: petites annonces gratuites   voyance en direct - tirage tarot   Consultant en référencement
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | phpBB SEO Traduction par: phpBB-fr.com
cron