Zen Cart Logo
Forums / All Other Contributions/Addons / Simple SEO URL (OLD version) [support thread]

Simple SEO URL (OLD version) [support thread]

Views: 1,113,821

Results 1,901 to 1,920 of 5,058
20 Jan 2009, 2:02 PM
#1901
pglock avatar

pglock

New Zenner

Join Date:
Jun 2006
Location:
UK
Posts:
65
Plugin Contributions:
0

Simple SEO URL (OLD version) [support thread]

I've done a little more playing (but this is a production site so I can't play too much). When I use the .htaccess suggested by ssu_check.php shown in this post, replacing the '/store/' with '/' I get a 500 error:

[Tue Jan 20 13:49:17 2009] [error] [client 57.66.65.3] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://store.splatcooking.net/cooking-parties-c-84
[Tue Jan 20 13:49:17 2009] [error] [client 57.66.65.3] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://store.splatcooking.net/cooking-parties-c-84

My guess is that this is because the domain is already being redirected. Any advice?

20 Jan 2009, 3:33 PM
#1903
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Maybe, just maybe, your configure.php needs some changes. Post it here without passwords etc

If you plan to use the subdomain, then stick with subdomain.

20 Jan 2009, 7:20 PM
#1904
pglock avatar

pglock

New Zenner

Join Date:
Jun 2006
Location:
UK
Posts:
65
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

here it is:

<?php
/**
 * @package Configuration Settings circa 1.3.8
 * @copyright Copyright 2003-2007 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 */


/*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
/***************       The 2 files should be kept separate and not used to overwrite each other.      ***********/

// Define the webserver and path parameters
  // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
  // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
  define('HTTP_SERVER', 'http://store.splatcooking.net');
  define('HTTPS_SERVER', 'https://www.splatcooking.net');

  // Use secure webserver for checkout procedure?
  define('ENABLE_SSL', 'true');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
  // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
  define('DIR_WS_CATALOG', '/');
  define('DIR_WS_HTTPS_CATALOG', '/store/');

  define('DIR_WS_IMAGES', 'images/');
  define('DIR_WS_INCLUDES', 'includes/');
  define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
  define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
  define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
  define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
  define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
  define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

  define('DIR_WS_PHPBB', '/forum/');

// * DIR_FS_* = Filesystem directories (local/physical)
  //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
  define('DIR_FS_CATALOG', '/home/splatcoo/public_html/store/');

  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
  define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
  define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
  define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
  define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

// define our database connection
  define('DB_TYPE', 'mysql');
  define('DB_PREFIX', 'zen_');
  define('DB_SERVER', 'localhost');
  define('DB_SERVER_USERNAME', 'xxxx');
  define('DB_SERVER_PASSWORD', 'xxxx');
  define('DB_DATABASE', 'xxxx');
  define('USE_PCONNECT', 'false');
  define('STORE_SESSIONS', 'db');
  // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

  // The next 2 "defines" are for SQL cache support.
  // For SQL_CACHE_METHOD, you can select from:  none, database, or file
  // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache 
  // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
  // ie: /path/to/your/webspace/public_html/zen/cache   -- leave no trailing slash  
  define('SQL_CACHE_METHOD', 'file'); 
  define('DIR_FS_SQL_CACHE', '/home/splatcoo/public_html/store/cache');
20 Jan 2009, 7:32 PM
#1905
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Okie, gotcha,

You have different url for ssl and non-ssl, which is why ssu_checks suggest a different type htaccess.

When you first tried it, what happens? (if you copy the exact content of htaccess), do you get 500 error or?

20 Jan 2009, 9:25 PM
#1906
pglock avatar

pglock

New Zenner

Join Date:
Jun 2006
Location:
UK
Posts:
65
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

If I use the .htaccess as suggested (i.e. with a baseurl of /store/ ) it adds an extra '/store/' to http urls (i.e. store.splatcooking.net/store/ ) giving a 404 error but strips them from the https links (https://www.splatcooking.net/store becomes just https://www.splatcooking.net) so you end up at the parent page of the store entry.

20 Jan 2009, 9:29 PM
#1907
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Weird, since it should work the other way around:

add store to https and strip it from normal links.

If it is okie, and only if it is okie, set up a temporary ftp account for me so I can look into it.

20 Jan 2009, 9:39 PM
#1908
pglock avatar

pglock

New Zenner

Join Date:
Jun 2006
Location:
UK
Posts:
65
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

I've pm'd you a temp account.

21 Jan 2009, 5:29 AM
#1909
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

SSU 3.6.0 RC1 is now available, this release is still under testing, please do NOT use on live site yet.

New feature:
SSU now automatically builds link aliases and remove ALL identifiers from your links whenever possible.

For live sites, please wait until I rewrite the admin part, as of now the admin link alias manager does not have pagination, hence for store with thousands of products and categories you may not be able to manage the aliases at all.

As usual, I welcome anyone who is willing to test this out on their test site.

PS: I wanted to allow users to set the alias when they edit categories, products, etc as well, but that mean i will have to hack into zen core code, and I'm a bit reluctant to do that.

21 Jan 2009, 9:15 AM
#1911
pglock avatar

pglock

New Zenner

Join Date:
Jun 2006
Location:
UK
Posts:
65
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Brilliant. Thank you.

21 Jan 2009, 1:14 PM
#1912
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

SSL not working with SSEO enabled. Not sure if this is new or I just did not notice it before. If I hover over the login link in the header it indicates https but if I click it it loads just http.

Once I disable SSEO in Admin, everything works.

First store in my signature link below is affected.

21 Jan 2009, 1:28 PM
#1913
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Ok, initial shock has past. I installed the ssu_beta_3.5.8 and now everything works. Don't know if I had ftp issues last update but now that I uploaded the new version it works. Phew...

How about 3.6.0 RC1? Should we already give it a go?

21 Jan 2009, 2:33 PM
#1914
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

mydanilo:

Ok, initial shock has past. I installed the ssu_beta_3.5.8 and now everything works. Don't know if I had ftp issues last update but now that I uploaded the new version it works. Phew...

How about 3.6.0 RC1? Should we already give it a go?
3.6.0 RC 1 is meant to be tested, you can play with it but not on live site yet.

21 Jan 2009, 7:33 PM
#1915
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Simple Seo Url 3.6.0 Release Candidate 2 Demo version:

http://demo.rubikintegration.com/ssu

See how this version gives a fake category structure:

http://demo.rubikintegration.com/ssu/dvd-movies/action/die-hard-with-a-vengeance-linked
21 Jan 2009, 10:18 PM
#1916
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

yellow1912:

Simple Seo Url 3.6.0 Release Candidate 2 Demo version:

http://demo.rubikintegration.com/ssu

See how this version gives a fake category structure:

http://demo.rubikintegration.com/ssu/dvd-movies/action/die-hard-with-a-vengeance-linked

A warning about using auto alias:

<http://wiki.rubikintegration.com/zencart/modules/ssu/for_users/link_alias>
22 Jan 2009, 4:21 AM
#1917
motodelta avatar

motodelta

Zen Follower

Join Date:
Jan 2006
Posts:
119
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Nevermind. Got it.

22 Jan 2009, 4:23 AM
#1918
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

MotoDelta:

Well I only got to step 2, lol. When I go to the SSU manager I get a 500 error. My site still works but wondering why this is.

Can anyone help?
Version? You also need to go to your cpanel or whatever panel you are using and check the error log to let us know the error in details
You can also apply this:

Go to admin/.htaccess
Add:

RewriteEngine Off

Which may help

22 Jan 2009, 4:54 AM
#1919
motodelta avatar

motodelta

Zen Follower

Join Date:
Jan 2006
Posts:
119
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Actually I screwed up the install and didn't install module manager. It's installed now and the SSU URL's are coming up... However now when I click a link I get a 404 error. whenever I try and visit a page.

Ideas?

22 Jan 2009, 4:56 AM
#1920
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

MotoDelta:

Actually I screwed up the install and didn't install module manager. It's installed now and the SSU URL's are coming up... However now when I click a link I get a 404 error. whenever I try and visit a page.

Ideas?
Did you read the readme file carefully? I suspect you did not set the htaccess file correctly, or you dont have mod_rewrite enabled.