If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / Ultimate SEO v3 (and v2.200) [Support Thread]

Ultimate SEO v3 (and v2.200) [Support Thread]

Started by lhungil on 14 Aug 2012, 2:26 PM · Views: 430,652

Results 1,061 to 1,080 of 1,706
8 Sep 2016, 12:52 PM
#1061
su35 avatar

su35

Zen Follower

Join Date:
Oct 2011
Posts:
168
Plugin Contributions:
0

Post #1061 by su35

Thanks, everybody. Now, I enable the SSL by configure files defined

27 Sep 2016, 3:08 PM
#1062
su35 avatar

su35

Zen Follower

Join Date:
Oct 2011
Posts:
168
Plugin Contributions:
0

Post #1062 by su35

Is anybody has used this plugin with jquery moblie? I got 404 error with jquery mobile. But I don't know whether this plugin conflicts with jquery mobile, or there are codeing error when I modified? On address bar, if I input "index.php?main_page=index&cPath=4", page load as nomal. If I input as "name-c-4.html" fomat, 404 was returned.

27 Sep 2016, 4:44 PM
#1063
su35 avatar

su35

Zen Follower

Join Date:
Oct 2011
Posts:
168
Plugin Contributions:
0

Post #1063 by su35

su35:

Is anybody has used this plugin with jquery moblie? I got 404 error with jquery mobile. But I don't know whether this plugin conflicts with jquery mobile, or there are codeing error when I modified? On address bar, if I input "index.php?main_page=index&cPath=4", page load as nomal. If I input as "name-c-4.html" fomat, 404 was returned.

My codeing error.:D:D

17 Oct 2016, 2:41 PM
#1064
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Post #1064 by sports_guy

I have Ultimate URL's installed on zen cart v1.5.5a. But my category and subcategory page URLs could be a little cleaner. The product and EZ pages show just perfect. I suspect it has to do with my .htaccess code but I don't know how to clean them up. For example here is one of my sloppy links: www.myURL.com/stock-wings-c-14_2/?page=StockWings I would like to remove the ?page=StockWings at the end of each of my category URL's to make it look clean like this: ```
[URL]http://www.myURL.com/stock-wings-c-14_2/[/URL]


I tested this URL: <http://www.myURL.com/stock-wings-c-14_2/> and the category page shows just fine so I don't get why the additional information bloat is added. This is my .htaccess code:

Common directives

###############################################################################

NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite

Base" line below:

Options +FollowSymLinks
RewriteEngine on
RewriteBase /

###############################################################################

Start Ultimate SEO URLs

###############################################################################

Handles the new URL formats

RewriteRule ^(.)-c-([0-9_]+)/(.)-p-([0-9]+)(.*)$ index.php?

main_page=product_info&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-c-([0-9_]+)/(.)-pi-([0-9]+)(.*)$ index.php?

main_page=popup_image&pID=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-c-([0-9_]+)/(.)-pr-([0-9]+)(.*)$ index.php?

main_page=product_reviews&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-c-([0-9_]+)/(.)-pri-([0-9]+)(.*)$ index.php?

main_page=product_reviews_info&products_id=$4&cPath=$2&%{QUERY_STRING} [L]

Original (unchanged) URL formats

RewriteRule ^(.)-p-([0-9]+)(.)$ index.php?main_page=product_info&products_id=$2&

%{QUERY_STRING} [L]
RewriteRule ^(.)-m-([0-9]+)(.)$ index.php?main_page=index&manufacturers_id=$2&

%{QUERY_STRING} [L]
RewriteRule ^(.)-pi-([0-9]+)(.)$ index.php?main_page=popup_image&pID=$2&

%{QUERY_STRING} [L]
RewriteRule ^(.)-pr-([0-9]+)(.)$ index.php?

main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pri-([0-9]+)(.)$ index.php?

main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-ezp-([0-9]+)(.)$ index.php?main_page=page&id=$2&%{QUERY_STRING}

[L]
RewriteRule ^(.)-c-([0-9_]+)(.)$ index.php?main_page=index&cPath=$2&

%{QUERY_STRING} [L]

All other pages

Don't rewrite real files or directories

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?main_page=$1&%{QUERY_STRING} [L]


Again all other pages have clean URL's its just the category and subcategory pages that look sloppy. Any ideas please?

Building a better web, one site at a time: Dayton Web Design

17 Oct 2016, 4:59 PM
#1065
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Post #1065 by carlwhat

i do not believe your problem is with your .htaccess file. the problem is with the creation of the category links.

i would look over includes/classes/usu.php. my guess is that is where the problem resides, not in the htaccess file.

if the site is live, a link to it would be more helpful.

good luck.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

17 Oct 2016, 9:19 PM
#1066
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Post #1066 by sports_guy

carlwhat:

i do not believe your problem is with your .htaccess file. the problem is with the creation of the category links.

i would look over includes/classes/usu.php. my guess is that is where the problem resides, not in the htaccess file.

if the site is live, a link to it would be more helpful.

good luck.

OK here is a link to my website http://www.aviationinsignia.com/insignia-c-14/?page=Insignia. It seems as if only the top menu is making the links this way. Template issue? The lower menu (on this same page) does not seem to add these additional characters. I looked at my template common folder> tpl_drop_menu.php file and did not see where this was adding these characters.

Building a better web, one site at a time: Dayton Web Design

17 Oct 2016, 10:10 PM
#1067
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Post #1067 by carlwhat

if you are convinced that is the script that is generating those links, i'm "thinking" that you have a couple of files called:

includes/classes/categories_ul_generator.php
includes/classes/categories_ul_generator_menu_style_2.php

in my setup, the culprit seems to be in the second script:

<a href="' . zen_href_link(FILENAME_DEFAULT, 'cPath=' . $category_link . '&page='. $category['name'])

i would change it to:

<a href="' . zen_href_link(FILENAME_DEFAULT, 'cPath=' . $category_link)

please note, that i did not post the WHOLE line of code, just the problem part...

i "think" that may be your problem.... but it's a wild (educated) guess...

no warranties, guarantees, etc...

best.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

17 Oct 2016, 11:38 PM
#1068
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Post #1068 by sports_guy

carlwhat, I can see the work and effort you put into helping me and thank you for your time, its much appreciated! Your solution worked. In this file: includes>classes> categories_ul_generator_menu_style_2.php around line #83 and 84 I found this code:

'<a href="' . zen_href_link(FILENAME_DEFAULT, 'cPath=' . $category_link .  '&page='. $category['name']) . '">';

Per you great instructions I changed to this:

'<a href="' . zen_href_link(FILENAME_DEFAULT, 'cPath=' . $category_link) . '">';

Problem solved. It didn't seem like the template override was working for this file but maybe it was cache. So I had to change this code in both the over-ride folder and core folder and make a note in case of future updates. Anyway, works perfectly. Again, thank you very much!

Building a better web, one site at a time: Dayton Web Design

18 Oct 2016, 2:03 AM
#1069
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #1069 by drbyte

There is no "override" for the /includes/classes folder. Alterations to files in that folder must be made directly.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

18 Oct 2016, 3:42 AM
#1070
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Post #1070 by sports_guy

Thank you, that's good to know.

Building a better web, one site at a time: Dayton Web Design

24 Oct 2016, 4:10 PM
#1071
icecold avatar

icecold

Zen Follower

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

Post #1071 by icecold

Where the urls are stored? I mean I need to know where in the database or how can I pull the list of rewritten URLs either from the database or somewhere else talking about product 'landing' pages. THe table usu doesn't have the url ... I just need the url and product id or whatever index is used to reference it, so I can I add each url to a csv matching the corresponding product's id.

24 Oct 2016, 5:22 PM
#1072
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #1072 by mc12345678

icecold:

Where the urls are stored? I mean I need to know where in the database or how can I pull the list of rewritten URLs either from the database or somewhere else talking about product 'landing' pages. THe table usu doesn't have the url ... I just need the url and product id or whatever index is used to reference it, so I can I add each url to a csv matching the corresponding product's id.
They are not stored, they are generated.

One way to obtain the product's url is to use EasyPopulate v4 and export with the product's URL option turned on from the configuration menu. A column will exist with the product's url/uri as generated by your uri rewriter. The other information you are wanting included can be added as a user identified field if it exists in the products table and is already not included in the export or it can be pieced together as necessary.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

24 Oct 2016, 9:41 PM
#1074
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #1074 by drbyte

Here's a really simple way:

a) visit a product in your store
b) note the URL
c) see the pattern: the segments with slashes etc, and where the product-id number appears

Now you can replicate the same in your spreadsheet.

Also: USU honors default Zen Cart URLs and tells search engines the correct rewritten ("canonical") URL to index, so there's no harm in giving out the non-rewritten URL too

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

24 Oct 2016, 10:38 PM
#1075
icecold avatar

icecold

Zen Follower

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

Post #1075 by icecold

I have thousands of products ... to do this manually is crazy, I tried doing a VLOOKUP, to match exactly what was active, didn't work ... Anyway thanks for the tips I'll try something else ...

25 Oct 2016, 1:21 AM
#1076
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #1076 by mc12345678

icecold:

I have thousands of products ... to do this manually is crazy, I tried doing a VLOOKUP, to match exactly what was active, didn't work ... Anyway thanks for the tips I'll try something else ...

Also any process that will access zen_href_link and is provided the correct ZC information can generate or be used to generate your desired information in the CSV.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

25 Oct 2016, 1:28 AM
#1077
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #1077 by mc12345678

DrByte:

Here's a really simple way:

a) visit a product in your store
b) note the URL
c) see the pattern: the segments with slashes etc, and where the product-id number appears

Now you can replicate the same in your spreadsheet.

Also: USU honors default Zen Cart URLs and tells search engines the correct rewritten ("canonical") URL to index, so there's no harm in giving out the non-rewritten URL too
icecold:

I have thousands of products ... to do this manually is crazy, I tried doing a VLOOKUP, to match exactly what was active, didn't work ... Anyway thanks for the tips I'll try something else ...

I think you missed DrByte's point. If you look at the example of a single uri, And you look at the data you have available in your csv, the thought is that you can "reverse engineer" what it takes to get the same type of uri for all products. Then apply that "rule" and tada. Sure, in answering the question of is there another way to get all the URIS, manually one by one is a way, but because this plugin doesn't store/offer manual manipulation of the uri, it is going to be "rule" based and methodical.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

9 Nov 2016, 12:54 PM
#1078
holawill avatar

holawill

New Zenner

Join Date:
Jul 2016
Posts:
35
Plugin Contributions:
0

Post #1078 by holawill

i tested to install ultimate_urls-215 for localhost zencart1.5.5b, just follow the steps one by one, finally when i click any link in admin page, it shows error: WARNING: An Error occurred, please refresh the page and try again.

so i checked logs as following:

[09-Nov-2016 12:42:59 UTC] Request URI: /new/admin/index.php, IP address: ::1
#1 trigger_error() called at [D:\wamp\www\new\includes\classes\db\mysql\query_factory.php:167]
#2 queryFactory->show_error() called at [D:\wamp\www\new\includes\classes\db\mysql\query_factory.php:139]
#3 queryFactory->set_error() called at [D:\wamp\www\new\includes\classes\db\mysql\query_factory.php:266]
#4 queryFactory->Execute() called at [D:\wamp\www\new\admin\includes\classes\usu_plugin.php:145]
#5 usu_plugin->handleDatabaseChanges() called at [D:\wamp\www\new\admin\includes\classes\plugin.php:336]
#6 plugin->install() called at [D:\wamp\www\new\admin\includes\classes\usu_plugin.php:474]
#7 usu_plugin->install() called at [D:\wamp\www\new\admin\includes\init_includes\init_usu_install.php:7]
#8 require(D:\wamp\www\new\admin\includes\init_includes\init_usu_install.php) called at [D:\wamp\www\new\includes\autoload_func.php:48]
#9 require(D:\wamp\www\new\includes\autoload_func.php) called at [D:\wamp\www\new\admin\includes\application_top.php:171]
#10 require(D:\wamp\www\new\admin\includes\application_top.php) called at [D:\wamp\www\new\admin\index.php:10]

WAMP I used: wampserver3.0.6_x86_apache2.4.23_mysql5.7.14_php5.6.25-7.0.10

Could anyone help me? I have spent several hours and test many times, but still failed to install it. or ultimate_urls-215 does not work for the latest zencart version 1.5.5b???

Any help would be highly appreciated!
Thanks in advance.
Will

9 Nov 2016, 2:37 PM
#1079
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #1079 by mc12345678

holawill:

i tested to install ultimate_urls-215 for localhost zencart1.5.5b, just follow the steps one by one, finally when i click any link in admin page, it shows error: WARNING: An Error occurred, please refresh the page and try again.

so i checked logs as following:

[09-Nov-2016 12:42:59 UTC] Request URI: /new/admin/index.php, IP address: ::1
#1 trigger_error() called at [D:\wamp\www\new\includes\classes\db\mysql\query_factory.php:167]
#2 queryFactory->show_error() called at [D:\wamp\www\new\includes\classes\db\mysql\query_factory.php:139]
#3 queryFactory->set_error() called at [D:\wamp\www\new\includes\classes\db\mysql\query_factory.php:266]
#4 queryFactory->Execute() called at [D:\wamp\www\new\admin\includes\classes\usu_plugin.php:145]
#5 usu_plugin->handleDatabaseChanges() called at [D:\wamp\www\new\admin\includes\classes\plugin.php:336]
#6 plugin->install() called at [D:\wamp\www\new\admin\includes\classes\usu_plugin.php:474]
#7 usu_plugin->install() called at [D:\wamp\www\new\admin\includes\init_includes\init_usu_install.php:7]
#8 require(D:\wamp\www\new\admin\includes\init_includes\init_usu_install.php) called at [D:\wamp\www\new\includes\autoload_func.php:48]
#9 require(D:\wamp\www\new\includes\autoload_func.php) called at [D:\wamp\www\new\admin\includes\application_top.php:171]
#10 require(D:\wamp\www\new\admin\includes\application_top.php) called at [D:\wamp\www\new\admin\index.php:10]

WAMP I used: wampserver3.0.6_x86_apache2.4.23_mysql5.7.14_php5.6.25-7.0.10

Could anyone help me? I have spent several hours and test many times, but still failed to install it. or ultimate_urls-215 does not work for the latest zencart version 1.5.5b???

Any help would be highly appreciated!
Thanks in advance.
Will
Please provide the remainder of the error message. Ie. The error itself... The above information is simply the path of files involved at the time of the error.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

9 Nov 2016, 3:37 PM
#1080
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #1080 by lat9

@holawill, do you also have the Edit Orders plugin installed?