Zen Follower
- Join Date:
- Oct 2011
- Posts:
- 168
- Plugin Contributions:
- 0
Ultimate SEO v3 (and v2.200) [Support Thread]
Thanks, everybody. Now, I enable the SSL by configure files defined
Views: 427,467
Zen Follower
Thanks, everybody. Now, I enable the SSL by configure files defined
Zen Follower
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.
Zen Follower
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
Totally Zenned
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:
###############################################################################
Base" line below:
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
###############################################################################
###############################################################################
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]
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]
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?
zennedOut
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.
Totally Zenned
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.
zennedOut
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.
Totally Zenned
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!
Sensei
There is no "override" for the /includes/classes folder. Alterations to files in that folder must be made directly.
Totally Zenned
Thank you, that's good to know.
Zen Follower
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.
Totally Zenned
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.
Zen Follower
I don't use EasyPopulate, if they are generated I thought once created there were stored somewhere, any way to avoid installing EasyPopulate4?
Sensei
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 Follower
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 ...
Totally Zenned
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.
Totally Zenned
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 appearsNow 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.
New Zenner
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
Totally Zenned
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.
Administrator
@holawill, do you also have the Edit Orders plugin installed?
Fields marked required must be completed.
Tell staff why this post should be reviewed.