i've maked a list of some SEO mods
i want discuss about advantage and desadvantage of these mods
i want to know your opinion about these mods
number 1
able2know mod
i think this mod is one one the best mod that you can find for phpbb
this mod will remove all unnecessary link for guest. but this mod have two part
the second part of this mod is a rewrite mod. this rewrite mod will change the
prefix of URLs form .php to .html but i think using this rewrite mod is a risk
because users like to use some internal link in their posts and as you know they
must log in first (prefix will back to normal .php format) and after that they add some
internal link to their posts. at this time you will have 2 different URL for one post
one of them is in HTML formal and another is in .php format
i think it a risk and your site can be penalized by bots. am i right ?
number 2
remove session IDs is another method for make phpbb more search engine friendly
ther are two method for removing session IDs
one of this mod is a part of able2know mod. see this:
- Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
includes/sessions.php
#
#-----[ FIND ]------------------------------------------
#
$SID = 'sid=' . $session_id;
#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( $userdata['session_user_id'] != ANONYMOUS ){
$SID = 'sid=' . $session_id;
} else {
$SID = '';
}
and another is a mod form syberalien
see this part of code:
- Code: Select all
#############################################################
####
## MOD Title: Guest Sessions MOD
## MOD Version: 0.04
## MOD Author: CyberAlien <no@public_email> (Vjacheslav Trushkin) http://www.phpbbstyles.com
## MOD Description:
## This mod removes session id for guests from url and this way
## guests who don't have cookies like different robots will use
## correct urls. It can be used to allow googlebot and other
## search engines to spider your forum correctly.
##
## Installation Level: Easy
## Installation Time: 1-2 Minutes
## Files To Edit (1): includes/sessions.php
#############################################################
#
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
#############################################################
#
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
#############################################################
#
#
#-----[ OPEN ]---------------------------------------------
#
includes/sessions.php
#
#-----[ FIND ]---------------------------------------------
# around line 157
$sql = "UPDATE " . SESSIONS_TABLE . "
SET session_user_id = $user_id, session_start = $current_time, session_time = $current_time,
session_page = $page_id, session_logged_in = $login, session_admin = $admin
WHERE session_id = '" . $session_id . "'
AND session_ip = '$user_ip'";
#
#-----[ REPLACE WITH ]---------------------------------------
#
$sql_ip = $user_id == ANONYMOUS ? " AND session_ip = '$user_ip'" : '';
$sql = "UPDATE " . SESSIONS_TABLE . "
SET session_ip = '$user_ip', session_start = $current_time, session_time = $current_time,
session_page = $page_id, session_logged_in = $login, session_admin = $admin
WHERE session_id = '" . $session_id . "' $sql_ip
AND session_user_id = '$user_id'";
#
#-----[ FIND ]---------------------------------------------
# around line 210
$SID = 'sid=' . $session_id;
#
#-----[ REPLACE WITH ]---------------------------------------
#
$SID = $user_id > 0 ? 'sid=' . $session_id : '';
#
#-----[ FIND ]---------------------------------------------
# around line 288
$SID = ($sessionmethod == SESSION_METHOD_GET || defined('IN_ADMIN')) ? 'sid=' .
$session_id : '';
#
#-----[ REPLACE WITH ]---------------------------------------
#
$SID = $userdata['user_id'] > 0 ? (($sessionmethod == SESSION_METHOD_GET || defined(
'IN_ADMIN')) ? 'sid=' . $session_id : '') : '';
#
#-----[ FIND ]---------------------------------------------
# around line 340
//
// If we reach here then no (valid) session exists. So we'll create a new one,
#
#-----[ BEFORE, ADD ]---------------------------------------
#
elseif(empty($sessiondata))
{
// try to login guest
$sql = "SELECT u.*, s.*
FROM " . SESSIONS_TABLE . " s, " . USERS_TABLE . " u
WHERE s.session_ip = '$user_ip'
AND s.session_user_id = " . ANONYMOUS . "
AND u.user_id = s.session_user_id
LIMIT 0, 1";
if ( !($result = $db->sql_query($sql)) )
{
message_die(CRITICAL_ERROR, 'Error doing DB query userdata row fetch', '', __LINE__,
__FILE__, $sql);
}
$userdata = $db->sql_fetchrow($result);
if ( isset($userdata['user_id']) )
{
if ( $current_time - $userdata['session_time'] > 60 )
{
$sql = "UPDATE " . SESSIONS_TABLE . "
SET session_time = $current_time, session_start = $current_time, session_page = 0
WHERE session_id = '" . $userdata['session_id'] . "'";
if ( !$db->sql_query($sql) )
{
message_die(CRITICAL_ERROR, 'Error updating sessions table', '', __LINE__, __FILE__,
$sql);
}
}
return $userdata;
}
}
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
but i don't know which one is better
both of them work and i think there is no diferrences in this two mod
i want to know your opinion about this two mod. which one is better ?
number 3
mx google site map
this mod can make a XML output for google and other bots
it sounds good . i think this mod can help you a lot
i don't have anything to say about this mod. this mod is one of
the best mod that i ever found
i was in doubt to use phpbb or SMF but after i found this mod, i preffered to
use phpbb
number 4
mx SiteMaps Module V 0.0.1
i think this mod is similar to previous mod
this mod is useful too
number 5
PHP BOTS MOD (for phpBB 2.0.X)
i don't know anything about this mod
is it a good mod
who this mod can help you ?
number 6
phpbb serach engine indexer
Download Link : www.phprebel.org/releases/phpbb/phpBB.S ... ndexer.zip
this mod can make a HTML archive for your forum
this sort of mod are a little confusing
some people say that this mod is a good mod and this mod can make a HTML archive
for your forum. this archive is very simple and without any graphical improvement in
tables. some text in a simple table with standard white background with a link to
normal topic
some people say that this mos is harmful and your site can be penalized because you
try to make a 2 different age for one post. but your know that the most powerful forum
software, vbulletin has this feature and vbulletin users have not anyproblems
is it good to use this mod or not ?
number 7
<h1>....<h6> tags
you know that the text between <h1> to <h6> tag is more important for bots
specially google, if you search in phpbb template, you can't find any <h1>...<h6> tags
is it good to open viewforum.tpl and change it in this way:
- Code: Select all
<td class="row1" width="100%">{topicrow.NEWEST_POST_IMG}<span class="topictitle">{topicrow
.TOPIC_TYPE}</span><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.
TOPIC_TITLE}</a><span class="gensmall"><br />
{topicrow.GOTO_PAGE}</span></td>
change to this
- Code: Select all
<td class="row1" width="100%">{topicrow.NEWEST_POST_IMG}<span class="topictitle">{topicrow
.TOPIC_TYPE}</span><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle"><h1>{topicrow.
TOPIC_TITLE}</h1></a><span class="gensmall"><br />
just put the {topicrow.TOPIC_TITLE} betwwen <h1></h1> tags
is it a good change or not ?
you can do this job for index.tpl and viewtopic.tpl files
just it
if you know another useful mod for better indexing please tell me
about that mods.
thank you for help

English |
French



