1
voltan
SEO options
  • 2011/2/25 19:34

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


I think XOOPS core must be better in SEO . we have some problems at this moment and some important options missing in xoops ( I think all of them solved in XE but we need some of the options in X2 )

I think's this options are to importants

1- sitemap.xml . it's very very very very very very important for SEO . it must update automatically after add news item ( news photo and ... ) in web site .

2- general share options for all items in website . we need bookmark and share options ( for example facebook like and Twitt ) in each item in website .

if you search xoops in google you see :

Quote:
Powered by You! :: XOOPS CMS (Content Management System)
XOOPS CMS is an extensible, OO (Object Oriented), easy to use dynamic web content management system (CMS) written in PHP. XOOPS is the ideal tool for ...
www.xoops.org/ - Cached - Similar
Taiwen Jiang (D.J. (Xoops Dev) on Twitter)
You are connected to Taiwen Jiang on Gmail
Taiwen Jiang (D.J. (Xoops Dev) on Twitter) shared this

Module Repository
Download XOOPS
Theme Gallery
About XOOPS

XOOPS 2.5.0 Final
XOOPS Features
Forums
Register


3- valid themes and templates . it's very important . all of xoops modules use old method for themplates .

and more ...

2
voltan
Re: SEO options
  • 2011/2/25 19:37

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


at this momet just seo option in XOOPS is tag module and google want ignoring the Title Tag

http://www.seo.com/blog/google-ignoring-title-tag/

3
voltan
Re: SEO options
  • 2011/2/25 19:39

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


you can check seo rank att here :

http://websitegrader.com

http://websitegrader.com/site/www.xoops.org

xoops.org rank is good but other XOOPS sites not good !!!!

4
OzgurOz
Re: SEO options
  • 2011/6/22 8:06

  • OzgurOz

  • Just popping in

  • Posts: 70

  • Since: 2010/6/20


my site's score is 89... But different SEO analyser not agree with this score.For example wooranks said 56. I dont know why the scores are different.


I love xoops.But I think we must have SEO knowladge...

xoops.org can lead us about SEO especially for the beginner user.


5
wishcraft
Re: SEO options

Well some of the SEO Technics at XOOPS.ORG is theme hacks like Anti keyword Stuffing, this is what turned xoops.org from page rank 9 to 10 where it always fluxates between 10 and 9 so it doesn't report.

Adapt this in your theme to remove keyword stuffing which is a big knock out.

This is the title tag in the metas of your theme
<title><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}> - <{/if}><{$xoops_sitename}></title>


This is the 'keywords' tag.

<meta name="keywords" content="<{php}>$pg_title = $this->_tpl_vars['xoops_pagetitle'].','.$this->_tpl_vars['xoops_sitename'];
    
$pg_title = str_replace(' ',',',$pg_title);
    
$pg_title = str_replace('-',',',$pg_title);
    
$pg_title = str_replace('|',',',$pg_title);
    
$pg_title = str_replace(':',',',$pg_title);
    
$pg_title = str_replace('=',',',$pg_title);
    
$pg_title = str_replace('&',',',$pg_title);
    
$pg_title = str_replace(')','',$pg_title);
    
$pg_title = str_replace('(','',$pg_title);
    
$pg_title = str_replace('[','',$pg_title);
    
$pg_title = str_replace(']','',$pg_title);
    
$pg_title = str_replace('{','',$pg_title);
    
$pg_title = str_replace('}','',$pg_title);
    
$pg_title = str_replace(' and ',',',$pg_title);
    
$pg_title = str_replace(' the ',',',$pg_title);
    
$pg_title = str_replace(',,',',',$pg_title);
    
$pg_title = str_replace(',,',',',$pg_title);
    
$pg_title = str_replace(',,',',',$pg_title);
    
$pg_title .= ",".$this->_tpl_vars['xoops_meta_keywords'];
    
$pg_array = explode(",",$pg_title);
    
$pg_array = array_unique($pg_array);
    echo implode("
,",$pg_array);<{/php}>" />


The description tag is not really used these days, if you remove it in the search engines the whole page become searchable for information so you can not normally search for if the tag exists so render it out sometimes it is better to provide better organic and more keywords and data to search.

<!--<meta name="description" content="<{$xoops_meta_description}>" />-->


Otherwise the alternative in anti keyword stuffing, you can make description in the meta tags appear when $xoops_dirname == 'system' which will display it on the home page and any other system pages. the following code will do that.

<{if $xoops_dirname eq 'system'}>
    <
meta name="description" content="<{$xoops_meta_description}>" />
    <{/if}>


The other thing is we went through the modules and made sure the page title was descriptive of the page contain categories and item names for example with other data as well.

XOOPS.ORG for example hashttps://xoops.org/sitemap.php which indexes and lists us in minutes on the forum and other parts of the website, yeah adding a sitemap is important.

Well actually had one, here is another onehttp://www.chronolabs.coop/sitemap.php here is the code for this example seeming it is OS, this file normally has to be written for individual websites with XOOPS 2 Series.

<?php
// $Id: backend.php 2672 2009-01-11 07:49:15Z phppp $
//  ------------------------------------------------------------------------ //
//                XOOPS - PHP Content Management System                      //
//                    Copyright (c) 2000 XOOPS.org                           //
//                       <https://xoops.org/>                             //
//  ------------------------------------------------------------------------ //
//  This program is free software; you can redistribute it and/or modify     //
//  it under the terms of the GNU General Public License as published by     //
//  the Free Software Foundation; either version 2 of the License, or        //
//  (at your option) any later version.                                      //
//                                                                           //
//  You may not change or alter any portion of this comment or credits       //
//  of supporting developers from this source code or any supporting         //
//  source code which is considered copyrighted (c) material of the          //
//  original comment or credit authors.                                      //
//                                                                           //
//  This program is distributed in the hope that it will be useful,          //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
//  GNU General Public License for more details.                             //
//                                                                           //
//  You should have received a copy of the GNU General Public License        //
//  along with this program; if not, write to the Free Software              //
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
//  ------------------------------------------------------------------------ //

include 'mainfile.php';


global 
$xoopsDB;

$priority[0]['max'] = 9;
$priority[0]['min'] = 7;
$priority[1]['max'] = 9;
$priority[1]['min'] = 6;    
$priority[2]['max'] = 9;
$priority[2]['min'] = 4;
$priority[3]['max'] = 9;
$priority[3]['min'] = 1;    
$priority[4]['max'] = 9;
$priority[4]['min'] = 4;
$priority[5]['max'] = 9;
$priority[5]['min'] = 3;    
$priority[6]['max'] = 8;
$priority[6]['min'] = 4;
$priority[7]['max'] = 9;
$priority[7]['min'] = 9;    

function 
priority($priority$num$of)
{
    
$range $priority['max'] - $priority['min'];
    return 
'0.'.($priority['max']-floor($range * ($num/$of)));
}

$query[0] = "SELECT a.id,a.filename from ".$xoopsDB->prefix('bin')." a WHERE `resource` = 'download'  ORDER BY a.hits DESC";
$query[1] = "SELECT a.categoryid,a.itemid,a.title,a.datesub,b.name from ".$xoopsDB->prefix('smartsection_items')." a inner join  ".$xoopsDB->prefix('smartsection_categories')." b on a.categoryid = b.categoryid ORDER BY a.`weight`, a.`datesub` DESC";
$query[2] = "SELECT a.lid,a.cid,a.title,a.date,b.title from ".$xoopsDB->prefix('wflinks_links')." a inner join  ".$xoopsDB->prefix('wflinks_cat')." b on a.cid = b.cid";
$query[3] = "SELECT a.storyid,a.topicid,a.title,a.published,b.topic_title from ".$xoopsDB->prefix('nw_stories')." a inner join  ".$xoopsDB->prefix('nw_topics')." b on a.topicid = b.topic_id ORDER BY a.created DESC";

$baseurl[0] = 'binaries';
$baseurl[1] = 'articles';
$baseurl[2] = 'weblinks';
$baseurl[3] = 'news';

$endurl[0] = '.html';
$endurl[1] = ',-1.html';
$endurl[2] = '';
$endurl[3] = '.html';

error_reporting(E_ALL);
header('Content-type: text/xml');
?>
<?php 
echo "<?xml version="1.0" encoding="UTF-8"?>n"?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
   <url>
    <loc><?php echo XOOPS_URL?>/</loc>
    <lastmod><?php echo date('Y-m-d',time()); ?></lastmod>
    <changefreq>daily</changefreq>
    <priority>1</priority>
   </url>
<?php
foreach($query as $id => $sql)
if (!empty(
$sql)) {
    switch(
$id) {

    case 
"0":
        
$rsCover $xoopsDB->query($sql);
        
$totalRows[$id] = mysql_num_rows($rsCover);    
        while (list(
$lid$filename) = mysql_fetch_row($rsCover)){    

        
?>
   <url>
    <loc><?php echo XOOPS_URL?>/<?php echo $baseurl[$id]; ?>/<?php echo urlencode(str_replace(' ''-',$filename)); ?>,<?php echo $lid.$endurl[$id]; ?></loc>
    <lastmod><?php echo date('Y-m-d',time());?></lastmod>
    <changefreq>monthly</changefreq>
    <priority><?php $num[$id]++; echo priority($priority[$id], $num[$id], $totalRows[$id]); ?></priority>
   </url>

        <?php
        
}
        break;
    default:
        
$rsCover $xoopsDB->query($sql);
        
$totalRows[$id] = mysql_num_rows($rsCover);    
        while (list(
$lid$cid$ititle$idate$ctitle) = mysql_fetch_row($rsCover)){    

        
?>
   <url>
    <loc><?php echo XOOPS_URL?>/<?php echo $baseurl[$id]; ?>/<?php echo urlencode(str_replace(' ''-',$ctitle)); ?>/<?php echo urlencode(str_replace(' ''-',$ititle)); ?>/<?php echo $lid.','.$cid $endurl[$id]; ?></loc>
    <lastmod><?php echo date('Y-m-d',$idate);?></lastmod>
    <changefreq>monthly</changefreq>
    <priority><?php $num[$id]++; echo priority($priority[$id], $num[$id], $totalRows[$id]); ?></priority>
   </url>

        <?php
        
}
        break;
    }
}
?>
</urlset>


Also having a session and username as provided with spiders, allows for better SEO Scores so the Googlebot or Yahoo Slurp! is an identity in the website, this reoccures the session variable for next time it comes back and improves SEO Score.
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

6
OzgurOz
Re: SEO options
  • 2011/6/22 11:30

  • OzgurOz

  • Just popping in

  • Posts: 70

  • Since: 2010/6/20


thanks Wishcraft
We need this tips actually

Login

Who's Online

181 user(s) are online (127 user(s) are browsing Support Forums)


Members: 0


Guests: 181


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits