Re: Simple SEO URL [support thread]
Hi Yellow
I have reviewed my .htaccess file that is in the directory /Store. The file is as follows:
#### BOF SSU
Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteBase /Store/
# Deny access from .htaccess
RewriteRule ^\.htaccess$ - [F]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA]
#### EOF SSU
I hope you could help me out with this problem. I still having the same problem.
Regards
Re: Simple SEO URL [support thread]
Hi, I have found a tread that talk about the same problem, I am having the problem with the homepage and I am using a Windows server, so I think the .htaccess doesnt work. I searched for a solution in the thread.
Any ideas?:mellow:
Re: Simple SEO URL [support thread]
OK, another question :P
Is it possible to somehow remove the "c-2" "p-527" after the friendly URL ends?
to have www . zen-cart-shop. com/laptops/toshiba-xyz
instead of now having www . zen-cart-shop. com/laptops-c-2/toshiba-xyz-p-124
thanks for the answers :smartalec:
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
tilenk
OK, another question :P
Is it possible to somehow remove the "c-2" "p-527" after the friendly URL ends?
to have www . zen-cart-shop. com/laptops/toshiba-xyz
instead of now having www . zen-cart-shop. com/laptops-c-2/toshiba-xyz-p-124
thanks for the answers :smartalec:
Set Link Alias Status to true
Set Auto Alias Status to true
in admin/configurations.
Re: Simple SEO URL [support thread]
Thank you very much, Sir :)
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
markrobinson
How does this simple seo url will beneficial to make up in the ranking?
It wont do much, perhaps you can read this for more info
http://simple-seo-url.com/
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
franzmeyer
Hi, I have found a tread that talk about the same problem, I am having the problem with the homepage and I am using a Windows server, so I think the .htaccess doesnt work. I searched for a solution in the thread.
Any ideas?:mellow:
IIS server may not support htaccess
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
yellow1912
Gomlers, yes you can.
First, assuming the language code for Norwegian is "no" (please check, Im not sure)
Create a file named no.php
Put it in includes/classes/ssu/plugins/languages/
Now, for the content of the file, put it:
(make sure this php file is utf8 encoded)
PHP Code:
<?php
/**
* @package Pages
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: ru.php 218 2009-07-20 02:38:17Z yellow1912 $
*/
// note: we can later move part of this function into sub-functions, which we can store in the base class.
class SSULanguageNo extends SSULanguage{
static function parseName($name){
$cyrillic = array("æ", "ø", "å");
$translit = array("ae", "o", "a");
$name = str_replace($cyrillic, $translit, $name);
$name = strtolower($name);
// we replace any non alpha numeric characters by the name delimiter
$name = self::removeNonAlphaNumeric($name, SSUConfig::registry('delimiters', 'name'));
// Remove short words first
$name = self::removeShortWords($name, SSUConfig::registry('configs', 'minimum_word_length'), SSUConfig::registry('delimiters', 'name'));
// trim the sentence
$name = self::trimLongName($name);
// remove excess SSUConfig::registry('delimiters', 'name')
$name = self::removeDelimiter($name);
// remove identifiers
$name = self::removeIdentifiers($name);
// remove trailing _
$name = trim($name, SSUConfig::registry('delimiters', 'name'));
return urlencode($name);
}
}
Then rename local.config.php.example in includes/classes/ssu/ to local.config.php and edit it:
PHP Code:
<?php
/**
* @package Pages
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: local.config.php.example 149 2009-03-04 05:23:35Z yellow1912 $
*/
$ssuLocalConfig = array(
'languages' => array( 'no' => 'no'
)
);
Then go to Admin->Extras->SSU Manager to clear out the cache then check your links again.
Troubleshooting:
1. Make sure the first file is uploaded with utf8 encode
2. Make sure the language code is correct (this is easy, in the normal form Zencart language links look like this: index.php?.......&language=language_code
More info:
http://wiki.rubikintegration.com/zen...our_own_parser
Note that I assume the language code is "no"
Hello. I have the same problem as mr. from Norway up there. I did everything as you mentioned above, but the SSU works, however Slovenian language does NOT. For all the special characters I get "-" instead of the letter.
Here's the UTF-8 encoded
/includes/classes/ssu/plugins/languages/si.php
PHP Code:
<?php
/**
* @package Pages
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: ru.php 218 2009-07-20 02:38:17Z yellow1912 $
*/
// note: we can later move part of this function into sub-functions, which we can store in the base class.
class SSULanguageSi extends SSULanguage{
static function parseName($name){
$cyrillic = array("č", "Č", "Š", "š", "Ž", "ž", "Ć", "ć");
$translit = array("c", "C", "S", "s", "Z", "z", "C", "c");
$name = str_replace($cyrillic, $translit, $name);
$name = strtolower($name);
// we replace any non alpha numeric characters by the name delimiter
$name = self::removeNonAlphaNumeric($name, SSUConfig::registry('delimiters', 'name'));
// Remove short words first
$name = self::removeShortWords($name, SSUConfig::registry('configs', 'minimum_word_length'), SSUConfig::registry('delimiters', 'name'));
// trim the sentence
$name = self::trimLongName($name);
// remove excess SSUConfig::registry('delimiters', 'name')
$name = self::removeDelimiter($name);
// remove identifiers
$name = self::removeIdentifiers($name);
// remove trailing _
$name = trim($name, SSUConfig::registry('delimiters', 'name'));
return urlencode($name);
}
}
and here's the includes/classes/ssu/local.config.php
PHP Code:
<?php
/**
* @package Pages
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: local.config.php.example 149 2009-03-04 05:23:35Z yellow1912 $
*/
$ssuLocalConfig = array(
'languages' => array( 'si' => 'si'
)
);
I cleared the cache also after the modification, but still doesn't work.
check my WEBSITE where I'm trying to fix it... click on the "Platišča" for instance, and you'll see.. :(
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
dontknowwhatimdoing
I'm having this problem myself--URLs are not getting re-written in the source & I can't figure out why. Its producing unmodified query strings in my source instead of the new alias URLs. The 301 redirects are working to the new URLs but that's it.
Installed Simple seo URL beta 3.7.1: Everything works perfectly (almost)
The Issue: URLS are not rewritten in my HTML output source code!
I have read all documentation many many times, looked over all instructions--
I have studied this thread as well, but I cannot find the answer.
Yellow: Can you help me? (Please :wink: )
here's my info:
Zen Cart Version
Zen Cart 1.3.8a
Database Patch Level: 1.3.8
v1.3.8 [2008-08-04 04:47:21] (Fresh Installation)
Zen Cart Mods in Use:
(most of these mods are completely unrelated to URL writing--
so I can't see how they would cause a problem)
Admin Profiles 1.07
Backup Mysql plugin
COWOA-No Login Checkout
Crafty Syntax Live Help Sidebox
Debug Error Logging Utility
Easy Populate (store pricing /w Excel)
Ez Pages Rel=nofollow Attribute
Google Checkout MOdule
Info At A Glance Admin 1.7
Module Manager Rev15
Monthly Sales & Tax Summary Report 1.2
Only Show New Orders 0.1
Overlib 417 for zen cart
search log 2.0
simple google analytics 1.3.8
Testimonial Manager 1.3.8
Fix Cache Key1
Moneybookers Payment Gateway
SERVER INFO
Database Host: localhost (127.0.0.1)
Server OS: Linux 2.6.23.1-10.fc7
HTTP Server: Apache/2.2.8 (Fedora)
PHP Version: 5.2.6 (Zend: 2.2.0)
PHP Memory Limit: 32M
PHP Safe Mode: Off
PHP File Uploads: On
Max Size: 100M
POST Max Size: 90M
Database Data Size: 447 kB
Database Index Size: 548 kB
Database: MySQL 5.0.45-log
Database Date: 10/02/2009 20:12:20
Server API Apache 2.0 Handler
Virtual Directory Support disabled
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Re: Simple SEO URL [support thread]
Hi, great mod thanks.
I have a quirky issue. When I try to go to my home page, www.clearlyoptics.com I get redirected to www.clearlyoptics.com/index/index_php.
Is there some way to fix this? does this sound like an .htaccess problem or an issue at my hosting level?
Thanks