Zen Cart Logo
Forums / All Other Contributions/Addons / Simple SEO URL (OLD version) [support thread]

Simple SEO URL (OLD version) [support thread]

Views: 1,113,775

Results 3,901 to 3,920 of 5,058
29 Sep 2009, 5:09 PM
#3901
dontknowwhatimdoing avatar

dontknowwhatimdoing

Zen Follower

Join Date:
Aug 2008
Posts:
131
Plugin Contributions:
0

Simple SEO URL (OLD version) [support thread]

khopek:

Find includes/classes/ssu/cores/link.php and REPLACE the 2 instances of urlencode($value) by $value

I tried this, it didn't fix my particular problem though.

30 Sep 2009, 2:20 AM
#3902
franzmeyer avatar

franzmeyer

New Zenner

Join Date:
Dec 2006
Posts:
5
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [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

30 Sep 2009, 3:03 AM
#3903
franzmeyer avatar

franzmeyer

New Zenner

Join Date:
Dec 2006
Posts:
5
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [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:

30 Sep 2009, 6:09 AM
#3904
tilenk avatar

tilenk

New Zenner

Join Date:
Sep 2009
Posts:
37
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [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:

30 Sep 2009, 1:35 PM
#3905
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Simple SEO URL (OLD version) [support thread]

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.

1 Oct 2009, 5:38 AM
#3906
tilenk avatar

tilenk

New Zenner

Join Date:
Sep 2009
Posts:
37
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Thank you very much, Sir :)

1 Oct 2009, 7:16 AM
#3907
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

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/

1 Oct 2009, 7:16 AM
#3908
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

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

2 Oct 2009, 11:07 AM
#3909
tilenk avatar

tilenk

New Zenner

Join Date:
Sep 2009
Posts:
37
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

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 /** * @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 <?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/zencart/modules/ssu/for_developers/parsers/language_parser#how_to_create_your_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 <?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 <?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](http://www.pocenigume.net) where I'm trying to fix it... click on the "Platišča" for instance, and you'll see.. :(
3 Oct 2009, 2:25 AM
#3910
dontknowwhatimdoing avatar

dontknowwhatimdoing

Zen Follower

Join Date:
Aug 2008
Posts:
131
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

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

6 Oct 2009, 12:40 AM
#3911
sfischer avatar

sfischer

New Zenner

Join Date:
May 2008
Location:
Louisiana
Posts:
18
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Hi, great mod thanks.

I have a quirky issue. When I try to go to my home page, https://www.clearlyoptics.com I get redirected to https://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

7 Oct 2009, 8:37 AM
#3912
giuly avatar

giuly

Zen Follower

Join Date:
May 2007
Location:
Italy
Posts:
438
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Hi
I have a problem, I have about 1300 products, and yesterday I upload 4 products, but when I go on
Extra>ssu manager
and reset all or only products I see a white page, so the product name remains
https://www.mysite.com/categories/product-name-1357.html and so not the exact name of product, but the generic name product name, how can I do?

7 Oct 2009, 9:28 AM
#3913
giuly avatar

giuly

Zen Follower

Join Date:
May 2007
Location:
Italy
Posts:
438
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

if I delete the content of the folder of cache/ssu/products is the same?

8 Oct 2009, 4:42 PM
#3914
llynix avatar

llynix

Zen Follower

Join Date:
Jul 2009
Location:
Texas
Posts:
210
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Noticed this the other day. On my manufacturers pages the links are getting mangled. Check out: http://buydentalequipment.com/cart/index/manufacturers_id/2

For each item there are three links to the product page the title, the more info and the details button. The title and details button get the wrong URL IE:
http://buydentalequipment.com/cart/air-abrasion-systems-air-abrasion-units-c-3_57_71_72/manufacturers_id/2/refurbished-at-kcp-1000-p-974

You can see the 'manufacturers_id/2/' in there which is messing it up. The correct link is:
http://buydentalequipment.com/cart/air-abrasion-systems-air-abrasion-units-c-3_57_71_72/refurbished-at-kcp-1000-p-974

I tried shutting off SSEO and it seemed to work fine. Any help would be appreciated.

Thank you,
Anthony Taylor
Webmaster http://buydentalequipment.com

8 Oct 2009, 6:59 PM
#3915
llynix avatar

llynix

Zen Follower

Join Date:
Jul 2009
Location:
Texas
Posts:
210
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

llynix:

Noticed this the other day. On my manufacturers pages the links are getting mangled. Check out: http://buydentalequipment.com/cart/index/manufacturers_id/2

For each item there are three links to the product page the title, the more info and the details button. The title and details button get the wrong URL IE:
http://buydentalequipment.com/cart/air-abrasion-systems-air-abrasion-units-c-3_57_71_72/manufacturers_id/2/refurbished-at-kcp-1000-p-974

You can see the 'manufacturers_id/2/' in there which is messing it up. The correct link is:
http://buydentalequipment.com/cart/air-abrasion-systems-air-abrasion-units-c-3_57_71_72/refurbished-at-kcp-1000-p-974

I tried shutting off SSEO and it seemed to work fine. Any help would be appreciated.

Alright I've made some progress on this and a possible fix. Unsure if this was a weird problem with SSU or my template. The culprit turned out to be in the file:

http://buydentalequipment.com/cart/includes/templates/theme056/common/tpl_tabular_display.txt

At around line 50 there exists the following code:

        case 'PRODUCT_LIST_NAME':
         if (isset($_GET['manufacturers_id'])) {
          $list_box_contents[$rows]['name'] = $listing->fields['products_name'];
		 //$list_box_contents[$rows]['but'] = zen_href_link(zen_get_info_page($listing->fields['products_id']), 'manufacturers_id=' . $_GET['manufacturers_id'] . '&products_id=' . $listing->fields['products_id']);
		 $list_box_contents[$rows]['but'] = zen_href_link(zen_get_info_page($listing->fields['products_id']), ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing->fields['products_id']);
         } else {
          $list_box_contents[$rows]['name'] = $listing->fields['products_name'];
		 $list_box_contents[$rows]['but'] = zen_href_link(zen_get_info_page($listing->fields['products_id']), ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing->fields['products_id']);		   
         }
         $list_box_contents[$rows]['description'] = zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION);
         break;

You can see the bad line which I commented out and replaced with the line below the else which seemed to fix the issue.

But I'm not totally happy with my fix, unsure what I'm messing with here and why it was messed up in the first place. Did I just lose some functionality?

Thank you for your time,
Anthony Taylor
Webmaster
http://buydentalequipment.com

9 Oct 2009, 6:17 AM
#3916
securit avatar

securit

New Zenner

Join Date:
Oct 2009
Location:
Nelson, NZ
Posts:
26
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Is this Simple SEO compatible with sitemapxml_formerly_google_sitemap_2-1-0?

I have noticed that the XML produced for the sitemap points to the Pre-Simple SEO URLs not the modified ones.

Thanks

9 Oct 2009, 11:44 PM
#3917
nycgamestore avatar

nycgamestore

New Zenner

Join Date:
Sep 2009
Posts:
6
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Originally Posted by nycgamestore
Hi yellow, I really need your help!! i installed ssu 3.6.7. when ssu is turned on and someone purchases a product they get a error saying "There has been an error processing your credit card. Please try again." and the order does not show up in zen cart admin but their credit card is charged. i use quantum gateway as a payment gateway. when ssu is turned off everything works fine.
this is my hta.access file

-FrontPage-

<Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthUserFile /home6/yourgam2/public_html/_vti_pvt/service.pwd AuthGroupFile /home6/yourgam2/public_html/_vti_pvt/service.grp AuthName yourgameworldo.com IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

BOF SSU

Options +FollowSymLinks
RewriteEngine On

Change "/zencart/ to the correct setting

if your site is located at root folder, then you should have RewriteBase /

Go to your include/configure.php, this value should be the same with the value of DIR_WS_CATALOG

RewriteBase /

Deny access from .htaccess

RewriteRule ^.htaccess$ - [F]

RewriteCond %{SCRIPT_FILENAME} -f [OR]
RewriteCond %{SCRIPT_FILENAME} -d
RewriteRule .* - [L]

RewriteRule ^(.+) index.php/$1 [E=VAR1:$1,QSA,L]

EOF SSU

yellow1912:

Which CC module you are using? You can check which "pages" this module is using and EXCLUDE it in the conversion list. Perhaps in the future I will revert SSU behavior so that the store owners will have to specify the "pages" they want to convert to seo links instead. It will be safer that way.

I am using QuantumGateway SIM module. Where is the conversion list to exclude it and how do I find which pages the module is using to exclude it?

10 Oct 2009, 9:52 AM
#3918
accurax avatar

accurax

New Zenner

Join Date:
Mar 2008
Posts:
67
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

yellow1912:

IIS server may not support htaccess

IIS DOES NOT support Htaccess... you will need to modify the add-on to work with ISAPI rewrite.... google for Helicon ISAPI rewrite... but first you need to install and configure the ISAPI add-on... and unless u know what your doing this can be a pain in the bum !

11 Oct 2009, 5:01 AM
#3919
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

nycgamestore:

Originally Posted by nycgamestore
Hi yellow, I really need your help!! i installed ssu 3.6.7. when ssu is turned on and someone purchases a product they get a error saying "There has been an error processing your credit card. Please try again." and the order does not show up in zen cart admin but their credit card is charged. i use quantum gateway as a payment gateway. when ssu is turned off everything works fine.
this is my hta.access file

-FrontPage-

<Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthUserFile /home6/yourgam2/public_html/_vti_pvt/service.pwd AuthGroupFile /home6/yourgam2/public_html/_vti_pvt/service.grp AuthName yourgameworldo.com IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

BOF SSU

Options +FollowSymLinks
RewriteEngine On

Change "/zencart/ to the correct setting

if your site is located at root folder, then you should have RewriteBase /

Go to your include/configure.php, this value should be the same with the value of DIR_WS_CATALOG

RewriteBase /

Deny access from .htaccess

RewriteRule ^.htaccess$ - [F]

RewriteCond %{SCRIPT_FILENAME} -f [OR]
RewriteCond %{SCRIPT_FILENAME} -d
RewriteRule .* - [L]

RewriteRule ^(.+) index.php/$1 [E=VAR1:$1,QSA,L]

EOF SSU

I am using QuantumGateway SIM module. Where is the conversion list to exclude it and how do I find which pages the module is using to exclude it?
The safest way is to exclude all pages related to payment process, that includes but not limited to: checkout_shipping, checkout_process, checkout_payment, checkout_success. The use if exclude list can be found on the wiki.

Also, I will repeat it 1 more time: SSU does NOT generate links that look like this:
www.mysite.com/categories/product-name-1357.html
It never generate a product link with html extension, not now and probably not in the future.

@llynix: honestly I think it is a good fix unless you need to use the manufacturer id on the link somewhere in your product info code.

11 Oct 2009, 6:03 PM
#3920
johnnylazerball avatar

johnnylazerball

New Zenner

Join Date:
Aug 2008
Posts:
29
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

I am using multisite and simple SEO all works great except I get this every once in awhile

/categories_name-c-0/products-name-p-18

and of course the page says "Sorry, the product was not found."

How do I fix it?