Zen Cart Logo
Forums / All Other Contributions/Addons / Ultimate SEO v3 (and v2.200) [Support Thread]

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

Views: 427,457

Results 641 to 660 of 1,706
5 Apr 2014, 5:17 PM
#641
mani avatar

mani

New Zenner

Join Date:
Aug 2008
Location:
Abbottabad, Pakistan
Posts:
62
Plugin Contributions:
0

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

hello everyone,

I have installed Ultimate SEO for a client, it works fine when I select the English language
http://www.gems4u.se/store/silver-jewelry-set-with-gemstones-c-25/

But when I choose Swedish language pack it shows
http://www.gems4u.se/store/-c-25/

Any idea how do I fix URLS for Swedish language?

5 Apr 2014, 7:03 PM
#642
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

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

What version of Zen Cart do you have installed?

What version of Ultimate URLs do you have installed?

What is in the Zen Cart debug logs?

What is in any configured PHP error logs (or server error logs)?

If using Zen Cart 1.5+, can you verified the "Swedish" language pack you installed uses "UTF-8" as the character encoding and character set (language files, database, and Zen Cart configuration)? If any of these do not match, they could be the source of your issues...

6 Apr 2014, 7:36 PM
#643
mani avatar

mani

New Zenner

Join Date:
Aug 2008
Location:
Abbottabad, Pakistan
Posts:
62
Plugin Contributions:
0

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

Thanks for the reply. I have version 1.5.1 installed. I actually upgraded zen cart from version 1.3.8. So what do you suggest I should change the charset as well?

7 Apr 2014, 2:32 PM
#644
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

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

mani:

Thanks for the reply. I have version 1.5.1 installed. I actually upgraded zen cart from version 1.3.8. So what do you suggest I should change the charset as well?
What version of Ultimate URLs do you have installed?
What is in the Zen Cart debug logs?
What is in any configured PHP error logs (or server error logs)?

9 Apr 2014, 1:59 AM
#645
liyucmh avatar

liyucmh

New Zenner

Join Date:
Apr 2012
Posts:
14
Plugin Contributions:
0

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

my zencart version 1.5.1 japanese
web server: nginx
I have zencart 1.39h and zencart 1.5.1 both on my web server, 1.39h used the old version of Ultimate SEO, 1.5.1 used the Ultimate SEO final version. so how to write the rewrite rule in nginx, it can make them both work, thanks very much

9 Apr 2014, 3:18 PM
#646
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

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

liyucmh:

... how to write the rewrite rule in nginx ...
A quick search of this thread (click on search thread) reveals: this post.

17 Apr 2014, 11:04 PM
#647
boydbreen avatar

boydbreen

New Zenner

Join Date:
Oct 2012
Posts:
48
Plugin Contributions:
0

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

Hi Everyone

I have ultimate seo urls installed and working for the most part just fine.

I have one small issue

In my featured sideboxes and special sideboxes the add to cart button is producing the following URL structrure

http://www.avinstalls.co.uk/future-automation-ceiling-tv-lift-mechanism-ch6-p-76.html?action=buy_now&alpha_filter_id=84&filter_id=39&language=en&manufacturers_id=7&sort=2a

This url works however the question mark at the end of the product URL should be a & mark not a ? I believe that this is causing soft 404

Can anyone point me in the right direction I have de installed this mod and indeed zencart reverts to using the & instead of a ? so by the process of elimination it is definitely something to do with this mod.

Any help would be greatly appreciated perhaps there is something in the HTML output file that needs tweaking.

Many Thanks

18 Apr 2014, 4:32 PM
#648
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

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

BoydBreen:

... "http://www.avinstalls.co.uk/future-automation-ceiling-tv-lift-mechanism-ch6-p-76.html?action=buy_now&alpha_filter_id=84&filter_id=39&language=en&manufacturers_id=7&sort=2a"

This url works however the question mark at the end of the product URL should be a & mark not a ? ...
Please explain why you think the question mark should be an ampersand. See RFC 3986 for details on how URLs are constructed.

BoydBreen:

... I have de installed this mod and indeed zencart reverts to using the & instead of a ? ...
Zen Cart uses something similar to "http://www.avinstalls.co.uk/index.php?main_page=product_info&products_id=26&action=buy_now&alpha_filter_id=84&filter_id=39&language=en&manufacturers_id=7&sort=2a".

Ultimate URLs uses something similar to "http://www.avinstalls.co.uk/future-automation-ceiling-tv-lift-mechanism-ch6-p-76.html?action=buy_now&alpha_filter_id=84&filter_id=39&language=en&manufacturers_id=7&sort=2a"

Note the presence of a question mark is used to indicate the start of the "query" by both. This follows RFC 3986: ```
URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]


> **BoydBreen:**
>
> ... I believe that this is causing soft 404 ... Any help would be greatly appreciated perhaps there is something in the HTML output file that needs tweaking. ...
Most likely the actual cause your site is configured to issue a 302 redirect to another page (shopping cart) when a visitor "follows" that link. When multiple DIFFERENT links all redirect to the same page (and the page specifies the meta tag for "noindex"), some Search Engines ***may*** assume the links are for pages which do not exist and treat them as a 404 (and label them as soft 404s).

Have you tried adjusted your settings in webmaster tools (or robots.txt) to indicate URLs containing the query parameter "action=buy_now" should be excluded from being followed? Or adding a "nofollow" to the link? Or changing the "link" to a website form (such as the product pages use)?
21 Apr 2014, 10:48 PM
#649
bvgolf avatar

bvgolf

New Zenner

Join Date:
Oct 2013
Location:
Orlando, FL
Posts:
8
Plugin Contributions:
0

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

Hello,

I recently upgraded to the version 2.121. Is there any way to show the url only in the default language (English) even for the other language pages?

I run Zen Cart 1.3.9h in both English & Japanese with PHP 5.2.17 & MySQL 5.0.95. Any feedback would be appreciated.

Thank you,

23 Apr 2014, 10:27 AM
#650
boydbreen avatar

boydbreen

New Zenner

Join Date:
Oct 2012
Posts:
48
Plugin Contributions:
0

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

Hi Ihungil

Many thanks for your response makes allot of sense thanks for shedding some more light on this problem.

I would like to try excluding them using robots text but I cant seem to find any resources to help me write something to exclude the query parameter "action=buy_now"
sorry to be a pain but could you assists or point me in the right direction.

Regards

Boyd

23 Apr 2014, 11:15 AM
#651
boydbreen avatar

boydbreen

New Zenner

Join Date:
Oct 2012
Posts:
48
Plugin Contributions:
0

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

Hi Ihungil

Many thanks for your response it makes sense.

Have you tried adjusted your settings in webmaster tools (or robots.txt) to indicate URLs containing the query parameter "action=buy_now" should be excluded from being followed? Or adding a "nofollow" to the link? Or changing the "link" to a website form (such as the product pages use)?

I have had a look online to see how to exclude the the query parameter "action=buy_now" in the robots txt file but cant seem to find any help there I would also like to try adding a nofollow to the link but again sorry to say not sure where to start, any help or a point in the right direction would be greatly appreciated.

regards

Boyd

23 Apr 2014, 2:55 PM
#652
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

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

Adjust to fit your needs:

User-agent: *
Crawl-delay: 30
Disallow: /cgi-bin/
Disallow: /*action=buy_now
Disallow: /editors/
24 Apr 2014, 7:25 PM
#653
su35 avatar

su35

Zen Follower

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

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

Hi Ihungil

I got a bit problem on the Add to Cart button on All Products, New Products and Featured Products pages.

The original link is domain/index.php?main_page=products_all&disp_order=x&action=buy_now&products_id=xxxx.
It suppose to be rewrited as: domain/products_all.html?action=buy_now&products_id=xxxx&disp_order=6.
However, it was rewrited as: domain/(product name)-p-(products_id).html?action=buy_now&disp_order=6.

I thank it come from the function href_link(), but I don't know how to modify. Please help.

Thanks

24 Apr 2014, 8:18 PM
#654
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

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

su35:

Hi Ihungil

I got a bit problem on the Add to Cart button on All Products, New Products and Featured Products pages.

The original link is domain/index.php?main_page=products_all&disp_order=x&action=buy_now&products_id=xxxx.
It suppose to be rewrited as: domain/products_all.html?action=buy_now&products_id=xxxx&disp_order=6.
However, it was rewrited as: domain/(product name)-p-(products_id).html?action=buy_now&disp_order=6.

I thank it come from the function href_link(), but I don't know how to modify. Please help.

Thanks

Is the issue that the button DOESN'T work as it should?? If it DOES work as it should, what EXACTLY is the issue as you see it??

25 Apr 2014, 3:07 AM
#655
su35 avatar

su35

Zen Follower

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

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

DivaVocals:

Is the issue that the button DOESN'T work as it should?? If it DOES work as it should, what EXACTLY is the issue as you see it??

When click it, the product was added to shopping cart and the current page was redirected to 404 page.
If the Ultimate SEO was turn off, the button works fine.

The code locate on \templates\tpl_modules_products_all_listing.php (about line 90)

          if (PRODUCT_ALL_LISTING_MULTIPLE_ADD_TO_CART > 0 && $products_all->fields['products_qty_box_status'] != 0) {
//            $how_many++;
            $link = TEXT_PRODUCT_ALL_LISTING_MULTIPLE_ADD_TO_CART . "<input type=\"text\" name=\"products_id[" . $products_all->fields['products_id'] . "]\" value=\"0\" size=\"4\" />";
          } else {
            $link = '<a href="' . zen_href_link(FILENAME_PRODUCTS_ALL, zen_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products_all->fields['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_BUY_NOW, BUTTON_BUY_NOW_ALT) . '</a> ';
          }
        }

I made a bit modification like below

          if (PRODUCT_ALL_LISTING_MULTIPLE_ADD_TO_CART > 0 && $products_all->fields['products_qty_box_status'] != 0) {
//            $how_many++;
            $link = TEXT_PRODUCT_ALL_LISTING_MULTIPLE_ADD_TO_CART . "<input type=\"text\" name=\"products_id[" . $products_all->fields['products_id'] . "]\" value=\"0\" size=\"4\" />";
          } else {
$a = zen_href_link(FILENAME_PRODUCTS_ALL, zen_get_all_get_params(array('action')));    
$b = zen_href_link(FILENAME_PRODUCTS_ALL, zen_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products_all->fields['products_id']);
echo "$a <br />$b<br />";      
            $link = '<a href="' . zen_href_link(FILENAME_PRODUCTS_ALL, zen_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products_all->fields['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_BUY_NOW, BUTTON_BUY_NOW_ALT) . '</a> ';
          }
        }

The $a issued **domain/products_all.html?disp_order=6. **
The $b issued ** domain/(product name)-p-(products_id).html?action=buy_now&disp_order=6.
**I think that the products_id trigger the Ultimate SEO.

25 Apr 2014, 3:22 AM
#656
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

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

su35:

When click it, the product was added to shopping cart and the current page was redirected to 404 page. ...
What URL (or chain of URLs) was the site redirected to after the product was added to the cart? What are your settings in Zen Cart for "Display after add to cart"? What was the 404 page URL?

What version of Ultimate URLs? What version of Zen Cart?

29 Apr 2014, 10:20 PM
#657
weber avatar

weber

Zen Follower

Join Date:
Nov 2005
Posts:
157
Plugin Contributions:
0

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

I try to add a currency update form in product_info display page, but after redirect, the URL back to dynamic, why?
the url for product page on my server is correct, even the form action url has not prblem.

which is :
before form submit:
http://temp.local/test-examples-c-23/test-120-p-84.html
form action url in view html mode:
http://temp.local/test-examples-c-23/test-120-p-84.html
after form submit
http://temp.local/index.php?main_page=product_info&products_id=84&cPath=23

form code:

<?php echo zen_draw_form('currencies_form_header', zen_href_link(zen_get_info_page($products_id), 'cPath=' . $cPath . '&products_id=' . $products_id, $request_type), 'get'); echo zen_draw_hidden_field('main_page','product_info'); echo zen_draw_hidden_field('cPath',$cPath); echo zen_draw_hidden_field('products_id',$'products_id); echo zen_draw_pull_down_menu('currency', $currencies_array, $_SESSION['currency'], 'onchange="this.form.submit();"') . zen_hide_session_id().'</form>'; ?>

after submited and the page reload as:

http://test.local/index.php?main_page=product_info&products_id=18&cPath=1_2

where is the problem? i test ultimate seo 2.101 on another test site, that version is good.
which is :
before form submit:
http://temp.local/test-examples-c-23/test-120-p-84.html
after form submited
http://temp.local/test-examples-c-23/test-120-p-84.html

2 May 2014, 2:17 AM
#658
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

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

weber:

I try to add a currency update form in product_info display page, but after redirect, the URL back to dynamic, why? ...
Background (why):
Because the Zen Cart code for currencies issues the redirect (instead of silently handling the request and continuing to display the requested page). The redirect you are seeing is NOT part of Ultimate URLs.

The Zen Cart currencies code is loaded at breakpoint 90.
The Zen Cart language code is loaded at breakpoint 110.
The Ultimate URLs code is loaded at breakpoint 120.

So basically the code handling the "currency change" occurs before Zen Cart has loaded any language information (needed to read the product name, category name, manufacturer name, etc)... So when it constructs the URL, "stock" Zen Cart URLs are used because the language information is not available.

Thoughts:
Can I ask what problem you believe is caused by the stock Zen Cart URL being shown in the address bar only after selecting a dropdown from a form?

If it REALLY bothers you to see the Zen Cart "default" URLs in the address bar... You can simply turn on "automatic redirects" in the Ultimate URLs settings (automatic redirects are not enabled by default). When enabled, requests for a different URL from the canonical URL will trigger a 301 redirect to the canonical URL.

NOTE: When a browser (or search engine) visit the page using a "stock" Zen Cart URL, the canonical link will contain the URL as generated by Ultimate URLs. This holds true no matter what is shown in the web browser's address bar.

3 May 2014, 4:01 PM
#659
weber avatar

weber

Zen Follower

Join Date:
Nov 2005
Posts:
157
Plugin Contributions:
0

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

thanks for your answer. Now i know there is no way for seo to fix the problem as languages/currency handle the redirect before seo url.

as your mentioned, "automatic redirects" does FIX the url! however, some new problems come....

I used "Multilanguage Ultimate SEO" in plugin area, which is based on your mod plus some fixes for language prefix, for eample, http://test.local/en/.... for english, http://test.local/fr/.... for french, etc.

It was working except the currency code i mention above. however, after i enable the "auto redirect", all url change from http://test.local/en/xxxxx-p-id.html to http://test.local/xxxxx-p-id.html?languages_id=1, even the http://test.local/shopping_cart.html becomes http://test.local/shopping_cart.html?languages_id=1

can you tell me what is problem and which code handle this, i am trying to figure out how to fix it....

3 May 2014, 5:20 PM
#660
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

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

Please ask in the "multilanguage" mod... I do not support the changes made by that module...

If I was forced to guess, I'd venture the other module (or your merge) does not correctly alter the URL generation as per your desired URL. The "auto redirect" in this version of Ultimate URLs simply calls href_link to determine the final URL.

May also be worth reading the past comments in this thread in regards to the 3rd party module you mention.