9
Quote:
elsanto wrote:
At the end of the module will post with all the improvements as we have done with the module news seo EN ES FR 1.63
Nice job ! Tnx !
BTW, thanks to google again, I translate your file
seo.rtf to english. If somebody interesting in that, here you go:
===========================================
Quote:
What is SEO for News?
=============================
See the following URL
http://www.esxoops.com/modules/news/article.php?storyid=803
And below after activating SEO friendly URLs
http://www.esxoops.com/noticias.item.803/entrevista-a-julionc.html
It is found that the latter is more desired by the search engines.
Can significantly increase the search engine traffic to your site.
How do I enable SEO for News?
======================================
Should be defined in <xoops_root>/mainfile.php : define('news_seo_enable', 'rewrite');
as the following example shows
--------------------------------------------------------------------
Define ( "XOOPS_GROUP_ADMIN", '1');
Define ( "XOOPS_GROUP_USERS", '2');
Define ( "XOOPS_GROUP_ANONYMOUS", '3');
// ----------------------------------
// Allow SEO NEWS
// Next string should be added only
//
define('news_seo_enable', 'rewrite');
// ----------------------------------
if (! isset ($ xoopsOption [ 'nocommon']) & & XOOPS_ROOT_PATH! ='') (
Requieren XOOPS_ROOT_PATH ". / Include / common.php";
)
--------------------------------------------------------------------
To activate the url rewrites you should add to
<xoops_root>/.htaccess
the following two lines (uncomment(remove sign “#”) string beginning
with “RewriteRule….” that is appropriete for your default language)
RewriteEngine On
#
# Spanish
#
# RewriteRule ^noticias.([a-z]+).([0-9.]+)/ modules/news/seo.php?seoOp=$1&seoArg=$2
#
# English
#
RewriteRule ^news.([a-z]+).([0-9.]+)/ modules/news/seo.php?seoOp=$1&seoArg=$2
==========================================