1
I'm hoping someone will help me understand the URL_REWRITING feature of the SmartSection 2.1 RC 1 module. I've downloaded the extras zip file, added the two lines to mainfile.php (for rewrite), adjusted the .htaccess in my XOOPS folder to include this line:
RewriteRule ^ss\.([a-z]+)\.([0-9.]+)/ modules/smartsection/seo.php?seoOp=$1&seoArg=$2
and adjusted the line in the smartsection/include/seo_functions.php file to reflect ss for the directory.
The page /ss.item.1/
does indeed display the article (assigned to itemid=1) with the SE friendly URL but the original page still exists: modules/smartsection/item.php?itemid=1
Same for /ss.category.2/ as the original page: modules/smartsection/category.php?categoryid=2 still exists. Will that not create
duplicate content in search engines?
Also, the links in the breadcrumb menu (SmartSection > CategoryName) and the categories menu block are not rewritten, and instead show the original URLs. I must be missing something. Is there another component in addition to the above I should be using? Does this require someone else's hack (i.e., SHORT_URLS) to work completely? Or should I remove the category menu block and breadcrumb feature?
This site uses XOOPS 2.2.4, PHP v 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)
[size=x-small]Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)[/size]