Page 52 of 168 FirstFirst ... 242505152535462102152 ... LastLast
Results 511 to 520 of 1674
  1. #511
    Join Date
    Aug 2007
    Posts
    277
    Plugin Contributions
    0

    Default Re: Ultimate SEO 2.200+ (new features)

    Quote Originally Posted by lhungil View Post
    Yes. A couple of different ways actually.
    1. Rename your category to include what you want shown in the URL. This is the simplest solution to change the text displayed in the URL.
    2. Use the PCRE filter to replace "girls toy" with "girls toy party supplies". The PCRE filter essentially uses PHP preg_replace to change the "name" returned. While this does allow lots of flexibility if you have a large number of rules it can slow down your website (I generally use no more than five or six).
    3. Add a "defined URLs" file. This is not documented anywhere (on purpose) and requires the "global" cache to be enabled. Using this option essentially tells the module "Do not determine the text to be added to the URL, here is what you should use". Be careful when using this method to ensure your URLs are valid (no spaces, no extended character sets etc) or if you absolutely must use non conforming characters run rawurlencode over the URL first.


    More Details
    1. Simply open up the Zen Cart administrative interface and navigate to the category you wish to change. Edit the category title. This module will automatically know you made the change and handle altering the generated URLs, canonical URLs, and redirects if you have them enabled.
    2. Change the configuration setting for the PCRE filter... Adding something like "^girls toy$=>girls toy party supplies". May need to alter this a little depending upon your server. Again, the module will handle generating the new URLs, canonical URLs, and redirects if you have them enabled.
    3. Create the file "/includes/languages/english/extra_definitions/url_overrides.php". For categories add "define('CATEGORY_NAME_3_15','girls-toy-party-supplies');" where "3_15" is the full cPath for the category. For products add "define('PRODUCT_NAME_20','party-favors');" where "20" is the product ID. Make sure the "global" cache is enabled. In this mode you will need to manually update the file in the future if you wish to change the URL for a category or product defined in this file (ones not defined here are still automatically generated).


    Another Consideration
    Keep in mind depending upon your category structure, you may want to have two categories... One "girls toy" category and a sub-directory "party supplies"... If you enabled "url format: parent" and "categories as directories: short" your category URL would become "/girls-toy-party-supplies-c-3_15/party-favors-p-20". Keep in mind these settings will affect all generated URLs.
    where do I enable "global" cache?

  2. #512
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Ultimate SEO 2.200+ (new features)

    Quote Originally Posted by twi View Post
    where do I enable "global" cache?
    1. Log into your Zen Cart administrative interface.
    2. Select "Configuration" -> "Ultimate (SEO) URLs" from the administrative menu.
    3. Make sure "Enable SEO cache to save queries?" is set to "true".


    By default the "global" cache is enabled.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  3. #513
    Join Date
    Aug 2007
    Posts
    277
    Plugin Contributions
    0

    Default Re: Ultimate SEO 2.200+ (new features)

    Quote Originally Posted by lhungil View Post
    1. Log into your Zen Cart administrative interface.
    2. Select "Configuration" -> "Ultimate (SEO) URLs" from the administrative menu.
    3. Make sure "Enable SEO cache to save queries?" is set to "true".


    By default the "global" cache is enabled.
    Global cache as describe is set to : "true"

    the file i created is below (file created is named "url_overrides.php"):

    <?php
    /**
    * NOTE: "global" cache NEED TO BE "TURNED ON".
    * LINE USED FOR CATEGORIES: define('CATEGORY_NAME_avenger-c-1_281','avenger-party-supplies')
    * LINE USED FOR PRODUCTS: define('PRODUCT_NAME_20','party-favors')
    * @
    * @
    */

    //Title of URL Rewrite
    define('CATEGORY_NAME_avenger-c-1_281','avenger-party-supplies')

    ------------------------
    It still doesn't overwrite the url. Can you take a look at what I did wrong?
    My category structure is: "Party Supplies Print>Avenger"
    "Party Supplies Print>etc......"

    The original SEO overwritten URL is: http://www.mysite.com/avenger-c-1_281/
    URL wanted: http:/www.mysite.com/avenger-party-supplies-c-1_281/
    (the above is a subcategory under Party Supplies Print)
    Last edited by twi; 12 Oct 2013 at 07:44 PM.

  4. #514
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Ultimate SEO 2.200+ (new features)

    define ('CATEGORY_NAME_1_281','avenger-party-supplies');

  5. #515
    Join Date
    Aug 2007
    Posts
    277
    Plugin Contributions
    0

    Default Re: Ultimate SEO 2.200+ (new features)

    Quote Originally Posted by lhungil View Post
    define ('CATEGORY_NAME_1_281','avenger-party-supplies');
    It works this time! Thank you again and again. You come through to help as always.

  6. #516
    Join Date
    Jul 2004
    Location
    The Netherlands, Wierden
    Posts
    430
    Plugin Contributions
    0

    Default Re: Ultimate SEO 2.200+ (new features)

    Quote Originally Posted by lhungil View Post
    Double check your installation. Something must be different between your upgraded installation and a clean install of Zen Cart 1.5 (lots of possibilities - from a broken template, a bad merge, leftover files from 1.3.8, renaming files to "back them up", another add-on causing the issue, etc).

    When testing (Zen Cart 1.5.x):
    • Passing the products_id to the category page in a URL (without POST data) did not add a product to the shopping cart.
    • In the default template products_id is only added to the form (action URL) when "Display Product Add to Cart Button = 2" and "Display Multiple Products Qty Box Status = 0".
    • Using the form to add products to the shopping cart still worked after removing products_id from the generated form (action URL) in the default template.

    (tested with the following: clean ZC 1.5.0, clean ZC 1.5.1, ZC 1.5.0 w/ USU, ZC 1.5.1 w/ USU).

    To narrow things down, see if everything works with the stock Zen Cart template and go through the steps for Diagnosing Obscure Issues.


    The only major issue I know of in Zen Cart 1.5.x with the "back" function is caused when a 404 occurs (template issues or broken link) and when all URLs (for files not existing) are set to go to Zen Cart. This was actually caused by Zen Cart adding the "404 Page Not Found" to the page history. The fix is posted here.
    It is a clean install of 1.5.1 with data migration....later installed the addons like Ultimate SEO.
    When I use the Classic template, I got the same issue. Also purged cache....always get the product_id in the url of the previous product in cart

  7. #517
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Ultimate SEO 2.200+ (new features)

    Just to make this absolutely clear: "Ultimate URLs is not causing your product to be added to the shopping cart. It does not include any code related to the shopping cart or adding products to the shopping cart. The problem you have reported does not exist on a clean Zen Cart 1.5.x installation with Ultimate URLs installed."

    Zen Cart's core code adds the product_id to the URL when "Display Product Add to Cart Button = 2" and "Display Multiple Products Qty Box Status = 0". This is normal and does not indicate an issue or error. This is not what is causing products to be added a second time.

    Ultimate URLs is acting exactly how it should act when Zen Cart requests the products_id be included in the URL (it does what it is told and adds the products_id).

    Quote Originally Posted by raimond View Post
    It is a clean install of 1.5.1 with data migration....later installed the addons like Ultimate SEO.
    When I use the Classic template, I got the same issue. Also purged cache....always get the product_id in the url of the previous product in cart
    I am unable to duplicate your reported issue "When products_id is in the URL to a category page the product is added to the shopping cart". This is NOT an issue with this module, but most likely caused by some other modification made to your Zen Cart installation.

    Somewhere in your installation something has been changed to add the product when the products_id is in $_GET. This is NOT normal Zen Cart operation (1.5.x uses $_POST data not $_GET data).

    Please do not post further in this thread as your issue is NOT caused by "Ultimate URLs".

    I would suggest you hire an experienced Zen Cart developer to find and fix the issue you are encountering (with your specific Zen Cart installation). You may also want to start a new thread with a clear and concise description of the issue you are encountering: "When products_id is in the URL to a category page the product is added to the shopping cart".
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  8. #518
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Ultimate SEO 2.200+ (new features)

    Quote Originally Posted by raimond View Post
    It is a clean install of 1.5.1 with data migration....later installed the addons like Ultimate SEO.
    When I use the Classic template, I got the same issue. Also purged cache....always get the product_id in the url of the previous product in cart
    Just for anyone else reading this thread who may run into the same problem... The issue has been tracked down to some core Zen Cart code which does not scrub the old "products_id" from the URL. This code is used to create the "buy now" form action (not the "add to cart" action - which I thought the case where the issue occurred).

    So if you have:
    Display Product Add to Cart Button: 1
    Display Multiple Products Qty Box: 0

    You will want to apply the code changes posted here.
    Last edited by lhungil; 17 Oct 2013 at 06:56 PM.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  9. #519
    Join Date
    May 2011
    Location
    Tennessee
    Posts
    496
    Plugin Contributions
    0

    Default Re: Ultimate SEO 2.200+ (new features)

    I have tried this plugin installation three times now. All with the same results. I am running on a GoDaddy Linix hosting. I have modified the RewriteBase to the appropriate url folder.

    When I execute the site home page every bit of text, links, sidebars, etc are missing. I have attached images of before and after home page execution.

    Does anyone have any idea what is causing Ultimate SEO 2.2 from working correctly?
    Click image for larger version. 

Name:	AfterUltimateSEO.jpg 
Views:	85 
Size:	30.3 KB 
ID:	13222Click image for larger version. 

Name:	BeforeUltimateSEO.jpg 
Views:	102 
Size:	61.6 KB 
ID:	13223

  10. #520
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Ultimate SEO 2.200+ (new features)

    Quote Originally Posted by jodean View Post
    I have tried this plugin installation three times now. ... When I execute the site home page every bit of text, links, sidebars, etc are missing. ...
    Start by clicking "reply". Now scroll up and read the "Posting Tips" (found right above where you are typing to make a post). Next respond to all of the relevant questions in the "Posting Tips". Without the answers to those questions (including full version numbers of the relevant modules) and a link to your site so we can "see" what is not working we will not be able to help you. Feel free to "obscure" the link to your website adding spaces or [.] in place of dots.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

 

 

Similar Threads

  1. Ultimate Fade-In Slidehow Support thread
    By outeredge2 in forum All Other Contributions/Addons
    Replies: 158
    Last Post: 4 Feb 2017, 03:10 AM
  2. Ultimate Cross Sell [Support Thread]
    By ultimate_zc in forum All Other Contributions/Addons
    Replies: 239
    Last Post: 17 May 2015, 03:25 AM
  3. Ultimate Content Glider [Support Thread]
    By ultimate_zc in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 4 Sep 2012, 05:16 AM
  4. Re: Simple SEO URL [support thread]
    By creamcrackers in forum General Questions
    Replies: 2
    Last Post: 16 Aug 2009, 03:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR