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

Results 1,321 to 1,340 of 5,058
14 Nov 2008, 3:33 PM
#1321
tacoma avatar

tacoma

Zen Follower

Join Date:
Dec 2007
Posts:
125
Plugin Contributions:
0

Simple SEO URL (OLD version) [support thread]

yellow1912:

@tacoma:

This file will fix your problem (please clear cache after uploading the file)
(upload t0 \includes\classes\ssu\plugins\parsers)
The next time, when you report a problem like this, please make sure you include a link for me to check, otherwise I wont know what went wrong.

SSU 3.3.8 uploaded to include this fix.

Thanks, and sorry for not giving a link.

I uploaded the pages.php file to the directory above.

When I turn on SSU, I lose the entire site, except for the header image and background.

https://www.lambcomponents.com

14 Nov 2008, 3:48 PM
#1322
yellow1912 avatar

yellow1912

Totally Zenned

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

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

tacoma:

Thanks, and sorry for not giving a link.

I uploaded the pages.php file to the directory above.

When I turn on SSU, I lose the entire site, except for the header image and background.

www.lambcomponents.com
Get the specific file from 3.3.8 package and you will be fine. Seem like the file I posted earlier has typo inside, and now I cant remove that file due to the 7mins limit on the forum.

14 Nov 2008, 3:54 PM
#1323
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Roope:

Basicly all thumbnail image pop-up links are dead, for exaple take a look at this page: http://www.automodels.fi/ford-c-3/ford-anglia-105e-sportsmen-1962%2C-valkoinen-p-324

image link is generated to: http://www.automodels.fi/popup_image_additional/pID/324/products_image_large_additional/images/FordAnglia105E_Ixo1a.jpg

when it shoud be: http://www.automodels.fi/images/FordAnglia105E_Ixo1a.jpg

And another thing I found was that when I generate sitemap for google, all links are duplicated with ?zenid=d835a6bc84bc1748e9d318a12c015709 tag adition. What's this?

The easiest fix for the pop-up image is to put this in your ssu admin config exclude pages setting:
popup_image_additional

This will be addressed in the next version, but basically zencart store the encoded image path in the database, and when it is printed out SSU doesnt understand it. A better fix for this will be applied in 3.3.9

The zenid error was mentioned before, I believe, let me see if I can find it.

14 Nov 2008, 4:02 PM
#1324
yellow1912 avatar

yellow1912

Totally Zenned

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

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

@Roope Which google sitemap module are you using, and which version?

14 Nov 2008, 4:10 PM
#1325
tacoma avatar

tacoma

Zen Follower

Join Date:
Dec 2007
Posts:
125
Plugin Contributions:
0

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

yellow1912:

Get the specific file from 3.3.8 package and you will be fine. Seem like the file I posted earlier has typo inside, and now I cant remove that file due to the 7mins limit on the forum.

Got the file from the 3.3.8 build and it works great.

Thanks!

14 Nov 2008, 10:17 PM
#1326
roope avatar

roope

New Zenner

Join Date:
Nov 2008
Posts:
6
Plugin Contributions:
0

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

Thanks alot for the popup_image_additional fix! Works like charm :yes:

yellow1912:

@Roope Which google sitemap module are you using, and which version?

None. I used this online generator: http://www.xml-sitemaps.com/
This same zenid crap also apperad one time on browser with clean cache from automodel page. I came from work and checked this page at home computer when I noticed that all hovered menu links contained this addition. I clicked some page open and it displayed correctly (with addition). After first page load links came back to normal and stayed that way even if I cleared all browser cache. Really weird.

14 Nov 2008, 10:21 PM
#1327
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Roope:

Thanks alot for the popup_image_additional fix! Works like charm :yes:

None. I used this online generator: http://www.xml-sitemaps.com/
This same zenid crap also apperad one time on browser with clean thumbs from automodel page. I came from work and checked this page at home computer when I noticed that all hovered menu linkd contained this addition. I clicked some page open and it displayed correctly (with addition). After first page load links came back to normal and stayed that way even if I cleared all browser cache. Really weird.
You should use one of those modules in the add-on (http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=544)

But get back to the topic, there are some ZC settings you should check as well:

ADMIN>>>CONFIGURATION>>>SESSIONS...Prevent Spider Sessions (set to TRUE).
Also, Recreate Session should always be set to true.

14 Nov 2008, 11:58 PM
#1328
roope avatar

roope

New Zenner

Join Date:
Nov 2008
Posts:
6
Plugin Contributions:
0

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

yellow1912:

You should use one of those modules in the add-on (http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=544)

But get back to the topic, there are some ZC settings you should check as well:

ADMIN>>>CONFIGURATION>>>SESSIONS...Prevent Spider Sessions (set to TRUE).
Also, Recreate Session should always be set to true.

Both checked and set to true already before.

I know I need sitemap plugin but I just tested url structure with online tool (it was actually the one from auditmypc.com, not the one I linked before)

15 Nov 2008, 12:02 AM
#1329
yellow1912 avatar

yellow1912

Totally Zenned

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

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

The thing is: if you use an external sitemap, when it reads the links it may get the zenid in there. This is normal, expected to happen.

But you dont want to have zenid in your sitemap, zenid should only appear when "real" visitor visits your site, and that should appear like this:
If they have not visited your site for a while (in the last 24 mins), on the first page load all links displayed will have zenid attached
When they click on any of those links, on the second page load none of the links should have zenid attached.

15 Nov 2008, 1:43 AM
#1330
yellow1912 avatar

yellow1912

Totally Zenned

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

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

I found out that I have some extra characters in the .htaccess file in some 3+version, this will cause the "internal server error" some of you might have experienced (if you have not, then you are safe)

Open the .htaccess and you will see at the very beginning of the file 2 extra characters "hu", delete those, ver 3.3.9 is uploaded to address this problem.

15 Nov 2008, 10:11 AM
#1331
starruby avatar

starruby

Zen Follower

Join Date:
Nov 2007
Posts:
96
Plugin Contributions:
0

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

I installed SSU as per instructions shown here:

http://wiki.rubikintegration.com/zencart/modules/ssu/installation

I have also turned "On" SSU in admin > config > SSU

However, the urls remain unchanged.

I ran the ssu_check.php file and it shows the following:

Warning Checking includes/configure.php
Warning Suggested .htaccess content
Success #### BOF SSU
Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteBase /

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

Warning Checking cache write permission

My .htaccess file shows the following:

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 /zencart/

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

Store url: https://www.gemsoul.com

What am I missing?

15 Nov 2008, 10:20 AM
#1332
starruby avatar

starruby

Zen Follower

Join Date:
Nov 2007
Posts:
96
Plugin Contributions:
0

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

Well whichever link I click on my site, it shows up 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.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.5 Server at https://www.gemsoul.com Port 80

I installed v3.3.9

Pls help!!

15 Nov 2008, 10:33 AM
#1333
starruby avatar

starruby

Zen Follower

Join Date:
Nov 2007
Posts:
96
Plugin Contributions:
0

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

Well, in the .htaccess file I changed:

Make sure to change "test_site" to the subfolder you install ZC. If you use root folder, change to: RewriteBase /

RewriteBase /zencart/

to

Make sure to change "test_site" to the subfolder you install ZC. If you use root folder, change to: RewriteBase /

It solved the Server Error but still the links show the old urls and not the new seo urls.

15 Nov 2008, 2:47 PM
#1334
yellow1912 avatar

yellow1912

Totally Zenned

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

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

SSU has a switch needed to be turned on in admin, which is off by default (for a good reason)
Go to configuration->ssu settings to turn it on

For more info, here is the installation note:
http://wiki.rubikintegration.com/zencart/modules/ssu/installation

Here is the tutorial to use link-alias
http://public.rubikintegration.com/tutorials/ssu_alias.htm

starruby:

Well, in the .htaccess file I changed:

to

It solved the Server Error but still the links show the old urls and not the new seo urls.

15 Nov 2008, 3:43 PM
#1335
starruby avatar

starruby

Zen Follower

Join Date:
Nov 2007
Posts:
96
Plugin Contributions:
0

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

yellow1912:

SSU has a switch needed to be turned on in admin, which is off by default (for a good reason)
Go to configuration->ssu settings to turn it on

For more info, here is the installation note:
http://wiki.rubikintegration.com/zencart/modules/ssu/installation

Here is the tutorial to use link-alias
http://public.rubikintegration.com/tutorials/ssu_alias.htm

I installed ssu after reading the installation note... I have already turned it on. The problem is that when you click on the links of categories / products, they redirect to the renamed urls but the links on all pages still show the old urls.

15 Nov 2008, 3:45 PM
#1336
yellow1912 avatar

yellow1912

Totally Zenned

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

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

starruby:

I installed ssu after reading the installation note... I have already turned it on. The problem is that when you click on the links of categories / products, they redirect to the renamed urls but the links on all pages still show the old urls.
This happens when you hardcode your urls. You have to use the function zen_href_link to build the links.

A link to the sample page will also help me to understand what you mean.

15 Nov 2008, 3:50 PM
#1337
starruby avatar

starruby

Zen Follower

Join Date:
Nov 2007
Posts:
96
Plugin Contributions:
0

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

yellow1912:

This happens when you hardcode your urls. You have to use the function zen_href_link to build the links.

A link to the sample page will also help me to understand what you mean.

http://www.gemsoul.com

For example, when you hover over any link (say "Ruby" under the Categories sidebox), the link is http://www.gemsoul.com/index.php?main_page=index&cPath=37

but when you click on that link, it redirects to http://www.gemsoul.com/ruby-c-37

I am unable to understand how to change the link to http://www.gemsoul.com/ruby-c-37

I hope I am not confusing you !!

15 Nov 2008, 3:51 PM
#1338
yellow1912 avatar

yellow1912

Totally Zenned

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

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

I suspect you have not edited/overwrriten the html_output.php as instructed.

15 Nov 2008, 4:16 PM
#1339
starruby avatar

starruby

Zen Follower

Join Date:
Nov 2007
Posts:
96
Plugin Contributions:
0

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

yellow1912:

I suspect you have not edited/overwrriten the html_output.php as instructed.

Oops.. my bad! that solved the problem. Sorry for the trouble. This url alias thing is absolutely fantastic! :smile:

15 Nov 2008, 6:27 PM
#1340
countrycharm avatar

countrycharm

Totally Zenned

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

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

Hi Yellow I have a question for you. I'm trying to redirect my site to a non-www site like http://thegoodshepherdstore.com
I'm still using simple seo 2.8
mprough has been trying to help me out but when I did what she said now I have messed up the URLS. Would you be so kind to look at my site to see whats going on. This is what my htaccess looks like after she had me add some code. First she had me add this code to the admin htaccess

RewriteEngine off
This is what my root htaccess Looks like

BOF SSU

Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.thegoodshepherdstore.com$ [NC]
RewriteRule ^(.*)$ http://thegoodshepherdstore.com/$1 [R=301,L]

RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.index.php?\ HTTP/
RewriteRule ^(.
)index.php?$ http://thegoodshepherdstore.com/$1 [R=301,L]

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

Now when you go to a product you see this for example
http://thegoodshepherdstore.com/sports-fans-college-items-c-31_56/university-of-michigan-pennant-p-571?zenid=re2n21c0m86kbd725m7urb3r63 Thank you for your help in advance.