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,826

Results 2,061 to 2,080 of 5,058
1 Feb 2009, 4:56 PM
#2061
swamyg1 avatar

swamyg1

Zen Follower

Join Date:
Dec 2008
Location:
San Fran
Posts:
382
Plugin Contributions:
0

Simple SEO URL (OLD version) [support thread]

yellow1912:

You are welcome. The reason is that this WP module install wordpress as a subfolder of zencart.

Another thing you can do, which you may like better, is to use link alias to get around it
For example if you are having wp in folder 'wordpress", then you can consider creating a link-alias pair like this:
link_url: /wordpress/
link_alias: /blog/

I can't seem to get the alias to work for "blog". I have everything set up in your mod, then reset the alias cache but still no luck.

All of my wordpress urls continue to have "wordpress" in it.

1 Feb 2009, 4:57 PM
#2062
yellow1912 avatar

yellow1912

Totally Zenned

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

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

swamyg1:

I can't seem to get the alias to work for "blog". I have everything set up in your mod, then reset the alias cache but still no luck.

All of my wordpress urls continue to have "wordpress" in it.
You need to reset all cache not just alias cache. Try it and see if it changes, if it does not then please post a screenshot of your link alias manager where you edit the wp alias

1 Feb 2009, 5:11 PM
#2063
swamyg1 avatar

swamyg1

Zen Follower

Join Date:
Dec 2008
Location:
San Fran
Posts:
382
Plugin Contributions:
0

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

yellow1912:

You need to reset all cache not just alias cache. Try it and see if it changes, if it does not then please post a screenshot of your link alias manager where you edit the wp alias
Still no worky, it's the second link down.

1 Feb 2009, 5:13 PM
#2064
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Can you pm me your site url?

1 Feb 2009, 5:34 PM
#2065
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

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

First, thanks again a million times for ALL of your hard work and fantastic additions to ZC!!

I have installed the latest SSU release 3.6.0 on my live test site, a clone of the live site on a different domain, 1.3.7.1 with a zillion mods. Everything so far looks great and there have been no issues at all.

I have a question about how to change the string when there are " and & in the product name. I have had to have it like that instead of just " and & because ZC strips them from the header title so the browser title won't show them, plus the Google Base XML file will throw errors when trying to upload to Google since " and & aren't valid XML. What happens with SSU is this:

10-quot-amp-11-quot

I have changed the product titles so that it is just with " and & and now SSU displays like this:

10-11

but then the title bar in the browser just displays 10 & 11 instead of 10" & 11".

Is there a way to make it include the " and &? A very small point, I know, but I thought I'd ask to see if it's a small adjustment somewhere. We have well over 1000 products with " and & in the title and it reads better with them in.

1 Feb 2009, 5:43 PM
#2066
yellow1912 avatar

yellow1912

Totally Zenned

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

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

lankeeyankee:

First, thanks again a million times for ALL of your hard work and fantastic additions to ZC!!

I have installed the latest SSU release 3.6.0 on my live test site, a clone of the live site on a different domain, 1.3.7.1 with a zillion mods. Everything so far looks great and there have been no issues at all.

I have a question about how to change the string when there are " and & in the product name. I have had to have it like that instead of just " and & because ZC strips them from the header title so the browser title won't show them, plus the Google Base XML file will throw errors when trying to upload to Google since " and & aren't valid XML. What happens with SSU is this:

10-quot-amp-11-quot

I have changed the product titles so that it is just with " and & and now SSU displays like this:

10-11

but then the title bar in the browser just displays 10 & 11 instead of 10" & 11".

Is there a way to make it include the " and &? A very small point, I know, but I thought I'd ask to see if it's a small adjustment somewhere. We have well over 1000 products with " and & in the title and it reads better with them in.
You can do it, and SSU is very flexible in that. I will assume that you are using english for now, so first you want to go to
includes/classes/ssu/plugins/languages/
clone the file default.php and give it a name en.php (doesnt really matter which name you want). We do this to make sure the change is not overwritten in future update.

Then you will have to go en.php, find this
// we replace any non alpha numeric characters by the name delimiter

$name = self::removeNonAlphaNumeric($name, SSUConfig::registry('delimiters', 'name'));
```So instead of using the stock function, you will have to put in your own code here to remove only the characters you have to remove while leaving the ones you want in the link

this function removeNonAlphaNumeric is located in includes/classes/ssu/cores/language.php for your reference.

Then in your includes/ssu/classes/local.config.php you have to set language like this:(you tell ssu to use this new parser for english name instead)
```php
//.....
'languages'        =>    array(    'en'    =>    'en',
//......

If you want the change to apply to all languages, then it can be done as well, you can do something like this

//.....
'languages'        =>    array(    'default'    =>    'en',
//......
1 Feb 2009, 6:17 PM
#2067
dimmyr avatar

dimmyr

New Zenner

Join Date:
Jun 2008
Posts:
54
Plugin Contributions:
0

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

Hello, I hope you can help me. I have a default install of SSU. It works great for everything bu adding products to the shopping cart. When I do, it creates a loop. My HTTPWatch shows a loop like this:

http://www.torahwear.com/index.php?main_page=product_info&cPath=2&products_id=1&number_of_uploads=0&action=add_product

redirects to

http://www.torahwear.com/kippahs-c-2/testproduct1-p-1/action/add_product?number_of_uploads=0

redirects to

http://www.torahwear.com/kippahs-c-2/testproduct1-p-1/number_of_uploads/0?action=add_product

redirects to

http://www.torahwear.com/kippahs-c-2/testproduct1-p-1/action/add_product?number_of_uploads=0

etc......

Here are my settings.

**Query Key's Exclude List: **number_of_uploads,zenid,gclid,number_of_downloads,action

And here's my .htaccess:

#### BOF SSU
Options +FollowSymLinks -MultiViews
RewriteEngine On
# Make sure to change "test_site" to the subfolder you install ZC. If you use root folder, change to: RewriteBase / 
RewriteBase /

# Deny access from .htaccess
RewriteRule ^\.htaccess$ - [F]

RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L]
#### EOF SSU
1 Feb 2009, 6:22 PM
#2068
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Your SSU version? Please update to 3.5.8 at least
Also check the configuration recommendation
http://wiki.rubikintegration.com/zencart/modules/ssu/config

And dont forget to clear all ssu cache after that.

1 Feb 2009, 6:40 PM
#2069
dimmyr avatar

dimmyr

New Zenner

Join Date:
Jun 2008
Posts:
54
Plugin Contributions:
0

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

I downloaded it just last week from the zen-cart.com site and followed all the instructions for installation and configuration.

1 Feb 2009, 6:43 PM
#2070
yellow1912 avatar

yellow1912

Totally Zenned

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

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

dimmyr:

I downloaded it just last week from the zen-cart.com site and followed all the instructions for installation and configuration.
You still have to check the version, because for later version "action" is not converted like that.
The loop you describe is a bug happens back in version 3.5.1 when the products have attributes.

1 Feb 2009, 6:47 PM
#2071
dimmyr avatar

dimmyr

New Zenner

Join Date:
Jun 2008
Posts:
54
Plugin Contributions:
0

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

Ok, how do I check the version? I do indeed have attributes.

1 Feb 2009, 6:49 PM
#2072
yellow1912 avatar

yellow1912

Totally Zenned

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

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

dimmyr:

Ok, how do I check the version? I do indeed have attributes.
The sure way to check it is to go to admin/includes/module_installation/ssu/current_version.txt

Anyhow, just looking at that url im pretty sure you have to update. Consider 3.5.8 or 3.6.0 :)
http://public.rubikintegration.com/

Unless you update and still have the problem, I can not give any further help.

1 Feb 2009, 7:02 PM
#2073
dimmyr avatar

dimmyr

New Zenner

Join Date:
Jun 2008
Posts:
54
Plugin Contributions:
0

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

Ok, mine was 3.5.1 for some reason. Got the 3.5.8 from your site and that fixed the problem. Thank you!

2 Feb 2009, 7:52 AM
#2074
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

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

Thanks Yellow, I will make the changes that you recommended.

I have another potential problem with the 3.6.0 version. When I open it in a browser that doesn't already have a cookie to the site or that hasn't been to the site yet it hangs up. I tried opening it in Safari and here's the message I get:

Too many redirects occurred trying to open “http://www.xxxxx.com/?zenid=f755143d9f6e3a267a31172d1eb497eb”. This might occur if you open a page that is redirected to open another page which then is redirected to open the original page.

I have link aliases set to auto and true, I reset Cache All after making my changes in the configuration menu.
Go to c u s t o m d r u m s h o p d o t c o m and see if it loads for you.

It also has some weirdness going on. I was going around making changes to config settings and resetting the cache a number of times after trying to get the " and & thing sorted, and all of a sudden the categories ID was showing even though the auto link alias is on and aliases are set to true. I tried it on another system to make sure it wasn't some weird browser cache thing and it was the same. It seems as if SSU went a bit haywire when too many config changes/cache clearing happened. I had to completely uninstall SSU and then the module manager and then reinstall to get it to work correctly again, for some reason module manager wouldn't recognize that SSU had been removed as per the uninstall directions on the SSU web page and I had to scrub both mods from the database before I could get everything working right.

Anyway, I don't know if the above problem is a glitch in the code or just isolated weirdness on my highly modified ZC, but I thought I'd pass it along.

2 Feb 2009, 7:58 AM
#2075
yellow1912 avatar

yellow1912

Totally Zenned

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

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

lankeeyankee:

Thanks Yellow, I will make the changes that you recommended.

I have another potential problem with the 3.6.0 version. When I open it in a browser that doesn't already have a cookie to the site or that hasn't been to the site yet it hangs up. I tried opening it in Safari and here's the message I get:

Too many redirects occurred trying to open “http://www.xxxxx.com/?zenid=f755143d9f6e3a267a31172d1eb497eb”. This might occur if you open a page that is redirected to open another page which then is redirected to open the original page.

I have link aliases set to auto and true, I reset Cache All after making my changes in the configuration menu.
Go to c u s t o m d r u m s h o p d o t c o m and see if it loads for you.

It also has some weirdness going on. I was going around making changes to config settings and resetting the cache a number of times after trying to get the " and & thing sorted, and all of a sudden the categories ID was showing even though the auto link alias is on and aliases are set to true. I tried it on another system to make sure it wasn't some weird browser cache thing and it was the same. It seems as if SSU went a bit haywire when too many config changes/cache clearing happened. I had to completely uninstall SSU and then the module manager and then reinstall to get it to work correctly again, for some reason module manager wouldn't recognize that SSU had been removed as per the uninstall directions on the SSU web page and I had to scrub both mods from the database before I could get everything working right.

Anyway, I don't know if the above problem is a glitch in the code or just isolated weirdness on my highly modified ZC, but I thought I'd pass it along.
I will look into the zenid problem you mention, seem like a serious problem if it does actually happens

Edit: Tried on Safari and Opera, couldnt recreate it.
I will try again once we move the site to a domain without any sub folder and see if it affects anything at all.
**Can anyone using 3.6.0 try to test this on your own site?
**
For the second problem, you may want to look into the alias manager and see if those aliases are not disabled.

2 Feb 2009, 8:26 AM
#2076
yellow1912 avatar

yellow1912

Totally Zenned

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

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

3.6.0 RC5 is now available

  • Minor bug fix
  • Added Permanent Link, this will prevent SSU to automatically change your current link-alias when you have auto-alias on.

This new feature was added out of necessity. I have an ezpage with the title "frequently asked questions" but I want the link to simply be faq. SSU doesnt like that, it automatically changes the alias for me (so smart :p), so I add this new option.

2 Feb 2009, 2:10 PM
#2077
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

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

Would this permanent link feature also prevent the auto alias function to create a new url when I edit the products title?

2 Feb 2009, 4:04 PM
#2078
visexp avatar

visexp

Zen Follower

Join Date:
Jul 2008
Posts:
106
Plugin Contributions:
0

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

I downloaded and installed the files from the zip named ssu_beta_3.6.0(ReleaseCandidate5)(php5)

I went to admin>extras>simple seo url manager and clicked on "reset all cache"

I went to admin>config>simple seo url and set the ssu status to "true"

When I went to my website and clicked on a category link I get the following error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.syzygypens.com Port 80

I set the ssu status back to "false" and now my website is just stuck on the home page. Any link I click on just loops me back to the home page.

Any help as to what I have done wrong would be greatly appreciated. Thanks so much.

2 Feb 2009, 4:24 PM
#2079
yellow1912 avatar

yellow1912

Totally Zenned

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

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

mydanilo:

Would this permanent link feature also prevent the auto alias function to create a new url when I edit the products title?
Exactly what it is for. Remember permanent link has to be set manually per link right now.

2 Feb 2009, 4:25 PM
#2080
yellow1912 avatar

yellow1912

Totally Zenned

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

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

VisExp:

I downloaded and installed the files from the zip named ssu_beta_3.6.0(ReleaseCandidate5)(php5)

I went to admin>extras>simple seo url manager and clicked on "reset all cache"

I went to admin>config>simple seo url and set the ssu status to "true"

When I went to my website and clicked on a category link I get the following error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.syzygypens.com Port 80

I set the ssu status back to "false" and now my website is just stuck on the home page. Any link I click on just loops me back to the home page.

Any help as to what I have done wrong would be greatly appreciated. Thanks so much.
I would assume that you havent set your htaccess setting, or you set it wrong.