Modérateur: Modérateurs

dcz a écrit:Tu as essayé de mettre $images_url = ton url ?

#########################################################
# BEGIN SITEMAPS REWRITE RULES #
########################################################
RewriteRule ^sitemaps([0-9]+)\.html$ /sitemaps.php?c=$1 [QSA,L]
RewriteRule ^sitemaps\.html$ /sitemaps.php [QSA,L]
RewriteRule ^forum-m\ap\.html$ /sitemaps.php?fim [QSA,L]
RewriteRule ^forum-m\ap([0-9]+)-([0-9]+)\.html$ /sitemaps.php?fmp=$1&start=$2 [QSA,L]
RewriteRule ^forum-m\ap([0-9]+)\.html$ /sitemaps.php?fmp=$1 [QSA,L]
#########################################################
# END SITEMAPS REWRITE RULES #
#########################################################
RewriteRule ^forums.* index.php
RewriteRule ^mforum([0-9]*).* viewforum.php?f=$1&mark=topics
RewriteRule ^viewforum([0-9]*)-([0-9]*)-([0-9]*).* viewforum.php?f=$1&topicdays=$2&start=$3
RewriteRule ^forum([0-9]*).* viewforum.php?f=$1
RewriteRule ^ptopic([0-9]*).* viewtopic.php?t=$1&view=previous
RewriteRule ^ntopic([0-9]*).* viewtopic.php?t=$1&view=next
RewriteRule ^stopic([0-9]*)-([0-9]*).* viewtopic.php?t=$1&watch=topic&start=$2
RewriteRule ^utopic([0-9]*)-([0-9]*).* viewtopic.php?t=$1&unwatch=topic&start=$2
RewriteRule ^ftopic([0-9]*)-([0-9]*)-([a-zA-Z]*)-([0-9]*).* viewtopic.php?t=$1&postdays=$2&postorder=$3&start=$4
RewriteRule ^ftopic([0-9]*)-([0-9]*).* viewtopic.php?t=$1&start=$2
RewriteRule ^ftopic([0-9]*).* viewtopic.php?t=$1
RewriteRule ^ftopic([0-9]*).html viewtopic.php?t=$1&start=$2&postdays=$3&postorder=$4&highlight=$5
RewriteRule ^setopic_([0-9]*)-([a-zA-Z0-9]*).* viewtopic.php?t=$1&highlight=$2
RewriteRule ^sutra([0-9]*).* viewtopic.php?p=$1
RewriteRule ^newtopic([0-9]*).* viewtopic.php?t=$1&view=newest






$view_topic_url = append_sid($phpbb_url . $topic_url_tmp_ok .'-vt'.$topic_id.'html');

includes/ForumIndex.php $display_categories = array(); $sql_auth = ''; $display_categories[$forum_data[$i]['cat_id']] = true; $sql_auth .= ($sql_auth == '' ? '' : ', ' ) . $forum_data[$i]['forum_id']; $Sitemaps->last_topics($Sitemaps->sitemaps_TopForum, $Indexopt, $auth_view_forum_sql); $Sitemaps->last_topics($Sitemaps->sitemaps_TopForum, $Indexopt, $sql_auth);
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/.../includes/ForumsSitemaps.php on line 154
#
#-----[ OPEN ]------------------------------------------
#
includes/ForumsSitemaps.php
#
#-----[ FIND ]------------------------------------------
#
while( $row = $db->sql_fetchrow($result) )
{
$topic_rowset2[] = $row;
$total_topics++;
}
#
#-----[ REPLACE WITH]------------------------------------------
#
while( $row = $db->sql_fetchrow($result) )
{
$topic_rowset[] = $row;
$total_topics++;
}
#
#-----[ FIND ]------------------------------------------
#
$topic_rowset = array_merge($topic_rowset, $topic_rowset2);
#
#-----[ REPLACE WITH]------------------------------------------
# CE QUI VEUT DIRE EFFACEZ LA LIGNE
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Éventuellement, essai de changer cette ligne :
Code:
$module_root_path = $phpbb_root_path = $mx_root_path = './';
à :
Code:
$module_root_path = $phpbb_root_path = $mx_root_path = '';

RewriteEngine On
#this may cause isues with subdirs and so I have not enabled it.
RewriteBase /forum
RewriteRule [.]*-vf([0-9]*) /forum/viewforum.php?%{QUERY_STRING}&f=$1
RewriteRule [.]*-vp([0-9]*) /forum/viewtopic.php?%{QUERY_STRING}&p=$1
RewriteRule [.]*-vt([0-9]*) /forum/viewtopic.php?%{QUERY_STRING}&t=$1
RewriteRule [.]*-vc([0-9]*) /forum/index.php?%{QUERY_STRING}&c=$1
RewriteRule [.]*-dc([0-9]*) /forum/dload.php?%{QUERY_STRING}action=category&cat_id=$1
RewriteRule [.]*-df([0-9]*) /forum/dload.php?%{QUERY_STRING}action=file&file_id=$1
RewriteRule [.]*-kbc([0-9]*) /forum/kb.php?%{QUERY_STRING}mode=cat&cat=$1
RewriteRule [.]*-kba([0-9]*) /forum/kb.php?%{QUERY_STRING}mode=article&k=$1
RewriteRule [.]*-pbc([0-9]*) /forum/kb.php?%{QUERY_STRING}mode=cat&cat=$1
RewriteRule [.]*-pa([0-9]*) /forum/kb.php?%{QUERY_STRING}mode=article&k=$1
RewriteRule ^/forum/sitemap.xml$ /sitemap.php?terme [L]Retourner vers MODS phpBB2 SEO
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 4 invités