Page 1 of 2 12 LastLast
Results 1 to 10 of 5054

Hybrid View

  1. #1
    Join Date
    Apr 2009
    Posts
    14
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    Quote Originally Posted by securit View Post
    I have a question with regards to Simple SEO and disk space.

    On a zencart 1.3.8a install with Simple SEO v3.8.3 I am seeing that the cache directory is huge. the ssu directory is 43.91 MB in size which is more than double the disk of the rest of the site including all images. This seems crazy to me.

    Is this really what I should be expecting or do I need to dig deeper.
    Did you get an answer to this? I have the same issue

  2. #2
    Join Date
    Apr 2009
    Posts
    14
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    Well here goes nothing. I tried reading thru previous posts and googling to find an answer to this but had no luck. Hopefully someone here knows the answer.

    I have version 3.83 of SSU installed and rev18 of module manager installed. I have these installed on both a dev and a prod site. The dev server is accessed by a direct IP, the prod site is a direct thru the www url for the site.

    So here's my issue, on the prod site the /cache/ssu folders is HUGE!! So large that deleting the data takes forever, I have taken to renaming the file to /cache_bak when issues arise and just creating a new /cache.

    Yesterday, I did this and all my links worked perfectly. Today I come in and 3 or 4 of my categories redirect me back to the home page. I renamed the cache folder again, created a blank new one and then the category links worked again. So confused. I don't want to delete these every night, and have set up the cron job to run nightly, but I'd really like to know what is causing this issue.

    SEO config settings:
    Hide default language identifier true
    Set Category Separator / Info
    Set Auto Alias Status true Info
    Set SSU Multi Language Status true Info
    Set Query Key's Exclude List zenid,gclid,number_of_uploads,number_of_downloads,action,sort,page,disp_order,fi lter_id,alpha_filter_id,currency Info
    Set SSU Status true Info
    Set maximum name length 0 Info
    Set minimum word length 0 Info
    Set Link Alias Status true Info
    Exclude list advanced_search_result,redirect,popup_image_additional,download,wordpress Info
    Set max category level 4 Info
    Name delimiter - Info
    ID delimiter - Info
    File extension Info
    Cache reset time 1271350090 Info

    .htaccess file -
    #### 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


    #redirec www to non www
    rewritecond %{HTTP_HOST} ^coinmerc\.com$
    RewriteRule (.*) http://www.coinmerc.com/$1 [R=301,L]


    Redirect /cart http://www.coinmerc.com

  3. #3
    Join Date
    Mar 2010
    Location
    UK
    Posts
    445
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    There are several serious errors in that .htaccess file.

    1. Don't mix Redirect and RewriteRule in the same file. Convert the Redirect rule to use RewriteRule syntax with the [R=301,L] flags.

    2. List the 'single' page external redirect as the very first item.

    3. List the non-www to www external redirect after the single page redirect.

    4. List the internal rewrites after the redirects.

    If the order is incorrect, as it is now, then you risk exposing rewritten internal filepaths back out on to the web as new URLs and/or introducing unwanted redirection chains for non-canonical URL requests.

    This is important stuff. Incorrect implementation can kill both your indexing and ranking in SERPs, and see your traffic dry up.

    See also: http://www.zen-cart.com/forum/showthread.php?t=151606
    Last edited by g1smd; 15 Apr 2010 at 09:58 PM.

  4. #4
    Join Date
    Apr 2009
    Posts
    14
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    Quote Originally Posted by g1smd View Post
    There are several serious errors in that .htaccess file.

    1. Don't mix Redirect and RewriteRule in the same file. Convert the Redirect rule to use RewriteRule syntax with the [R=301,L] flags.

    2. List the 'single' page external redirect as the very first item.

    3. List the non-www to www external redirect after the single page redirect.

    4. List the internal rewrites after the redirects.

    If the order is incorrect, as it is now, then you risk exposing rewritten internal filepaths back out on to the web as new URLs and/or introducing unwanted redirection chains for non-canonical URL requests.

    This is important stuff. Incorrect implementation can kill both your indexing and ranking in SERPs, and see your traffic dry up.

    See also: http://www.zen-cart.com/forum/showthread.php?t=151606


    Thank you so much for your reply. This is all completely foreign to me. I did read your link and am still a little confused.

    Is this correct:
    #### BOF SSU
    Options +FollowSymLinks -MultiViews

    RewriteEngine On

    RewriteRule ^/cart /

    rewritecond %{HTTP_HOST} ^coinmerc\.com$
    RewriteRule (.*) http://www.coinmerc.com/$1 [R=301,L]


    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

  5. #5
    Join Date
    Apr 2009
    Posts
    14
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    How about this:
    ErrorDocument 404 /index.php?main_page=page_not_found

    RewriteEngine On

    # Canonical Redirect non-blank, non-www and/or appended port number to www [EXCLUDE /admin requests]
    RewriteCond %{HTTP_HOST} !^(www\.coinmerc\.com)?$
    RewriteCond %{REQUEST_URI} !^/admin [NC]
    RewriteRule (.*) http://www.coinmerc.com/$1 [R=301,L]



    #### BOF SSU
    Options +FollowSymLinks -MultiViews

    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



    I believe it has everything except a redirect when they are following old links with the /cart after the domain name.

  6. #6
    Join Date
    Nov 2005
    Posts
    157
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    i have this weird problem

    in product listing page, the page navigation links, 2 3 4 5,
    the link are correct, like http://test.local/test-cate?sort=20a&page=2
    however, after click it become
    http://test.local/air-jordan-1-i?sort=20a&page=2-p-36
    and page 3 become
    http://test.local/air-jordan-1-i?sort=20a&page=2-p-37

    thus i can not view the other pages

    ssu 3.7.1
    zen cart 1.38a

  7. #7
    Join Date
    Mar 2010
    Location
    UK
    Posts
    445
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    @alicia130

    The logic order of the second attempt was correct (page redirect, general non-www redirect, rewrites) but the code could do with some improvements.

    The code in the third attempt was much more robust, however it was simply missing
    Code:
    RewriteRule ^cart  http://example.com/ [R=301,L]
    or similar, as the very first rule.

    Let's take a closer look at that single line of code. Is that very first rule supposed to be "moving" a store from the folder to root?

    That code as you have it now would redirect example.com/cart/index.php?parameter=value to example.com/?parameter=value which would cause problems - because the index.php part of the new URL would be missing.

    Does it need to preserve the path and/or parameter values in that redirect?

    If it does not need to preserve the path and parameters, then changing http://example.com to be http://example.com/? would simply clear the parameter values instead.

    If it does need to preserve the path and parameters, there's more detailed code for that in: http://www.zen-cart.com/forum/showth...=150620&page=2 here (which also fixes other issues at the same time too).


    Once the user is requesting the correct URL, only then do you attempt to serve the content.

    To be clear about the terminology:

    Redirects (code with domain name and [R=301,L] in) tell the browser to make a new request for a new URL. The user sees the URL in the URL bar of their browser change.

    Rewrites (code with just a server-internal filepath and [L] flag) connect a URL request with a non-default internal filepath to find and serve the page content at the currently requested URL.

  8. #8
    Join Date
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    Hi

    I've got a cart I'm trying to fix some errors on. Problems with simple seo manager is one issue. The cart version shows 1.3.8a with database patch level 1.3.9a (not sure why that is)

    I've been looking through files and found a current version file and it says version 8|Beta 3.4.5

    In admin extras > simple seo manager

    this error is showing

    1062 Duplicate entry 'SSU_EXCLUDE_LIST' for key 2
    in:
    [INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Exclude list', 'SSU_EXCLUDE_LIST', 'advanced_search_result,redirect,popup_image_additional,download,wordpress', 'Set the list of pages that should be excluded from using seo style links, separated by comma with no blank space. Do not change this if you are not sure what you are doing', @t4, 1, NOW(), NOW(), NULL, NULL);]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.


    also one debug log has this error

    [04-Mar-2011 17:27:51] PHP Warning: urlencode() expects parameter 1 to be string, array given in /home/username/public_html/includes/classes/ssu/cores/link.php on line 186

    I'm searching around looking for a starting point. Any suggestions appreciated.

  9. #9
    Join Date
    Oct 2009
    Location
    Nelson, NZ
    Posts
    26
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    <QUOTE>Re: Simple SEO URL [support thread]

    --------------------------------------------------------------------------------

    Quote:
    Originally Posted by securit
    I have a question with regards to Simple SEO and disk space.

    On a zencart 1.3.8a install with Simple SEO v3.8.3 I am seeing that the cache directory is huge. the ssu directory is 43.91 MB in size which is more than double the disk of the rest of the site including all images. This seems crazy to me.

    Is this really what I should be expecting or do I need to dig deeper.

    I am having this issue with a client now. her cache folder is 1.6GB! HELP!
    </QUOTE>
    Sorry, I've had absolutely 0 response to this issue.

    I'm about to redeploy on the 1.3.9a release of Zencart minus this contribution as I've had so many problems with it.
    Last edited by securit; 21 Apr 2010 at 02:34 AM. Reason: didnt really refer back to previous post.

  10. #10
    Join Date
    Apr 2008
    Location
    Covington, Washington, United States
    Posts
    205
    Plugin Contributions
    1

    Default Re: Simple SEO URL [support thread]

    OK, so i reset the cache and had to physically delete it from file manager as it is so large. 10,000+ products over 200+ cats. Now the product URLS work and are auto-aliased perfectly (we'll see if google agrees), BUT the categories are not getting aliased. SSU status is set to true, auto alias is on, and alias status is on.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Simple SEO URLs for ZC 1.5.x [Support Thread]
    By cvhainb in forum All Other Contributions/Addons
    Replies: 46
    Last Post: 8 Jun 2022, 09:42 AM
  2. Simple SEO URL, Ultimate SEO URLs, Ceon URI Mapping SEO
    By pizza392 in forum All Other Contributions/Addons
    Replies: 13
    Last Post: 21 Jan 2015, 10:49 AM
  3. How do I tell what version my Simple SEO URL addon mod, and others, are?
    By kevinmc3 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 6 May 2010, 01:32 AM
  4. Can't create new thread in Simple SEO URL forum
    By gseiber in forum General Questions
    Replies: 1
    Last Post: 3 Apr 2010, 01:56 PM
  5. Re: Simple SEO URL [support thread]
    By creamcrackers in forum General Questions
    Replies: 2
    Last Post: 16 Aug 2009, 03:02 PM

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