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,816

Results 3,681 to 3,700 of 5,058
27 Aug 2009, 10:28 PM
#3681
edwardtilbury avatar

edwardtilbury

Zen Follower

Join Date:
Sep 2007
Posts:
169
Plugin Contributions:
0

Simple SEO URL (OLD version) [support thread]

if your cart is in your root, make sure your .htaccess

rewritebase is like this..

BOF SSU

Options +FollowSymLinks -MultiViews
RewriteEngine On

Make sure to change "zencart" to the subfolder you install ZC. # If you use root folder, change to: RewriteBase /

RewriteBase /

Deny access from .htaccess

RewriteRule ^.htaccess$ - [F]

RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L]

EOF SSU

27 Aug 2009, 11:57 PM
#3682
yellow1912 avatar

yellow1912

Totally Zenned

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

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

mcshane78:

Hi Yellow..

Yes i have mod-rewrite, i can get MODx SEO to work but thats all built in (for idiots like me)

I'll have another bash... my htaccess is identical to the one in the docs.
maybe a beer will focus my mind!

I'll give it a few more days then i think will have to pay you as I'm clearly crap:)

(you have to admit tho.. i bet im the first to not have it turned on and ask why its not working,, hahaha)
Make sure you change RewriteBase, the default is /zencart/ which is not correct for most stores.

28 Aug 2009, 12:53 AM
#3683
edwardtilbury avatar

edwardtilbury

Zen Follower

Join Date:
Sep 2007
Posts:
169
Plugin Contributions:
0

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

yellow1912:

Uhm, are you referring to the previous post? Why not just create a new define page where you can list all your categories?

For example, you can create a new define page called "products" if you like, in this page you list all your categories

I made a new page, but I'm having trouble adding the categories to a define page... Do you know what templates and variables / function are involved? I will post my answer here for others with the Simple SEO / cPath=0 issue.

28 Aug 2009, 4:36 AM
#3684
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Sure,

Do you want to display all categories or just the top level categories?

28 Aug 2009, 5:14 AM
#3685
edwardtilbury avatar

edwardtilbury

Zen Follower

Join Date:
Sep 2007
Posts:
169
Plugin Contributions:
0

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

just the top level ones, basically what I would get it if I was going to the url of:

index.php?main_page=index&cPath=0

I tried to figure it out on my own, but these categories , functions and classes are above my basic php knowledge.

I have the new page added, all I need is the php to insert. :)

THANKS

28 Aug 2009, 6:54 AM
#3686
edwardtilbury avatar

edwardtilbury

Zen Follower

Join Date:
Sep 2007
Posts:
169
Plugin Contributions:
0

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

yellow1912:

Sure,

Do you want to display all categories or just the top level categories?

actually, you know what might be easier, if you comment or add code to skip the forwarding of index.php?main_page=index&cPath=0 to the index page.

I don't really understand it the code that causes this, but for you it might be very easy since you put it all together, thanks for the help

28 Aug 2009, 1:10 PM
#3687
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

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

Hi Yellow...

you'll be please to know that i have got your mod working, i had to add a bit more to the htaccess file in accordance with my hosts rules...

but i am at the same stage that tone2 had...

urls read like mysite/hardware-c-1

I will follow the instructions you gave tone2 and let you know how i get on.. and pester you for more help when i get stuck :-D

28 Aug 2009, 2:12 PM
#3688
alan145 avatar

alan145

New Zenner

Join Date:
Aug 2009
Posts:
63
Plugin Contributions:
0

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

I just installed Simple SEO URL, when i open the web site, i can only open main page, but when i click other page, it can't open,
the page display as following:

Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster.

Error 404
127.0.0.1
08/28/09 22:07:07
Apache/2.2.9 (APMServ) mod_ssl/2.2.9 OpenSSL/0.9.8h PHP/5.2.6

Could you tell me how to do that

28 Aug 2009, 2:26 PM
#3689
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

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

alan145:

I just installed Simple SEO URL, when i open the web site, i can only open main page, but when i click other page, it can't open,
the page display as following:

Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster.

Error 404
127.0.0.1
08/28/09 22:07:07
Apache/2.2.9 (APMServ) mod_ssl/2.2.9 OpenSSL/0.9.8h PHP/5.2.6

Could you tell me how to do that

sounds like a htaccess problem... i had that type of error too

copy and paste this below

BOF SSU

Options +FollowSymLinks -MultiViews
RewriteEngine On

Make sure to change "zencart" to the subfolder you install ZC. # If you use root folder, change to: RewriteBase /

RewriteBase /

Deny access from .htaccess

RewriteRule ^.htaccess$ - [F]

RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L]

EOF SSU

found at http://wiki.rubikintegration.com/zencart/modules/ssu/installation

Check with your host if this doesnt work, i required an additional line to suit their systems

28 Aug 2009, 4:25 PM
#3690
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

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

Hi Yellow...

I have followed the instructions... but i dont know if i have followed them right.

I changed my config files for both to read
define('DIR_FS_SQL_CACHE', '/var/www/html/cache/ssu');

I this right or WORNG and BAD and EVIL? eitherway it caused alias to work.. but only for pages i set before an alias too before changing the config files. Aliases i created after this change did not take effect. Also any new catagories and products i created didnt appear in Admin>Extras> SSU mrg for me to assign aliases too.

so i set both config back to
define('DIR_FS_SQL_CACHE', '/var/www/html/cache/');

and ALL aliases that did work vanished.

so i then went to Admin>Configuration>SSU
Set Auto Alias Status = Ture

then the aliases i created earlier started to work! woohoo i thought

so i created a few more new products... went to Admin>Extra>SSU Mrg.. set the alias etc..

and now i get this on all new aliases set

Redirect Loop

Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked.

The browser has stopped trying to retrieve the requested item. The site is

redirecting the request in a way that will never complete.

*  Have you disabled or blocked cookies required by this site?


*  NOTE: If accepting the site's cookies does not resolve the problem, it is probably a server configuration

    issue and not your computer.

i am using 1.3.8a with latest patch

im really stuck now...

28 Aug 2009, 5:30 PM
#3691
zoom1 avatar

zoom1

New Zenner

Join Date:
Aug 2009
Posts:
6
Plugin Contributions:
0

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

Hi
I have installed SSU and have noticed a significant drop in conversions.

I am using PayPal

I am using the latest version of SSU and have PHP5.

Are there any issues with PayPal IPN module - the one that comes bundled with ZC.

If so can you advise how to fix this.

I cant find any problems myself, ive gone through checkout and it seems to be working but when i turn OFF SSU i get more conversions (as a percentage of visitors who come to my site)

Thanks

28 Aug 2009, 8:03 PM
#3692
zoom1 avatar

zoom1

New Zenner

Join Date:
Aug 2009
Posts:
6
Plugin Contributions:
0

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

Sorry and another question..

How can i uninstall SSU and the Module manager.

There are no uninstall sql files for either!

Thanks

28 Aug 2009, 8:51 PM
#3693
edwardtilbury avatar

edwardtilbury

Zen Follower

Join Date:
Sep 2007
Posts:
169
Plugin Contributions:
0

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

There's an uninstall on the rubik(sp)? integration website wiki for Simple SEO urls..

But for Module Manager, I'm not sure..
MM makes a new table I think it's module_versions or something like that...

Simple SEO makes on too, but I think the name is in the wiki..

Also dont forget about your output_html.php , to overwrite it with the correct one from the recent ZC update.

29 Aug 2009, 1:47 AM
#3694
yellow1912 avatar

yellow1912

Totally Zenned

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

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

zoom1:

Hi
I have installed SSU and have noticed a significant drop in conversions.

I am using PayPal

I am using the latest version of SSU and have PHP5.

Are there any issues with PayPal IPN module - the one that comes bundled with ZC.

If so can you advise how to fix this.

I cant find any problems myself, ive gone through checkout and it seems to be working but when i turn OFF SSU i get more conversions (as a percentage of visitors who come to my site)

Thanks
Perhaps you are using an older version? :) Note that the version you get on zen download page is not current. Older version may or may not have problem with Paypal IPN, Im not sure since it's too far away in the past already. Current version is 3.7.1

We have been using current SSU version on our own site and notice increase over time on search engine visit. We notice no change regarding the conversion rate during the checkout process, however (no up or down). This is pretty logical because unless the checkout process is broken, the difference of the checkout links should not affect the conversion rate much.

29 Aug 2009, 2:11 AM
#3695
yellow1912 avatar

yellow1912

Totally Zenned

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

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

I changed my config files for both to read
define('DIR_FS_SQL_CACHE', '/var/www/html/cache/ssu');
-> no this is wrong

If you see redirection loop, perhaps you created multiple aliases that conflicting each other. The best way to resolve is to go to the alias manager and delete all the aliases. The clear all cache and let SSU re-create the aliases automatically for you.

mcshane78:

Hi Yellow...

I have followed the instructions... but i dont know if i have followed them right.

I changed my config files for both to read
define('DIR_FS_SQL_CACHE', '/var/www/html/cache/ssu');

I this right or WORNG and BAD and EVIL? eitherway it caused alias to work.. but only for pages i set before an alias too before changing the config files. Aliases i created after this change did not take effect. Also any new catagories and products i created didnt appear in Admin>Extras> SSU mrg for me to assign aliases too.

so i set both config back to
define('DIR_FS_SQL_CACHE', '/var/www/html/cache/');

and ALL aliases that did work vanished.

so i then went to Admin>Configuration>SSU
Set Auto Alias Status = Ture

then the aliases i created earlier started to work! woohoo i thought

so i created a few more new products... went to Admin>Extra>SSU Mrg.. set the alias etc..

and now i get this on all new aliases set

Redirect Loop

Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked.

The browser has stopped trying to retrieve the requested item. The site is

redirecting the request in a way that will never complete.

*  Have you disabled or blocked cookies required by this site?


*  NOTE: If accepting the site's cookies does not resolve the problem, it is probably a server configuration

    issue and not your computer.

i am using 1.3.8a with latest patch

im really stuck now...

31 Aug 2009, 4:56 AM
#3696
luxurywatches avatar

luxurywatches

New Zenner

Join Date:
Jul 2009
Posts:
20
Plugin Contributions:
0

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

I have 2 questions

Now the generated URL:
a-lange-sohne-watches-c-3

1、I want -c change to -list

2、Remove -3

pls help me!

1 Sep 2009, 8:12 AM
#3697
yellow1912 avatar

yellow1912

Totally Zenned

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

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

luxurywatches:

I have 2 questions

Now the generated URL:
a-lange-sohne-watches-c-3

1、I want -c change to -list

2、Remove -3

pls help me!
You can only have either 1 or 2. If you decide to remove -3, it will also remove -c-, you just have to turn on auto alias as advised by another member of the forum.
Note that you will have to clear SSU cache after making that change in the configuration.

1 Sep 2009, 8:32 AM
#3698
edwardtilbury avatar

edwardtilbury

Zen Follower

Join Date:
Sep 2007
Posts:
169
Plugin Contributions:
0

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

Ok, here's how to get around the cPath=0 problem.. View all the top level category on a define_page_2

When this doesn't work in SSU
http://www.website.com/index.php?main_page=index&cPath=0

You can use this instead..

It won't look super pretty, but maybe it's easy to change..
http://www.website.com/page_2

Basically all we're doing is displaying the top level categories on another page.

Documentation:

1.) Below is the file(tpl_topcategories_default.php) that needs to be put in 'includes/templates/template_default(or your custom template directory)/templates/' folder

2.) A blank folder needs to be created & named: "topcategories" in "includes/modules/pages/"

  1. Make this file, code is below '/includes/templates/classic/templates/tpl_page_2_default.php'

create: tpl_topcategories_default.php

<?php

/**

 * Page Template

 *

 * Loaded by main_page=index<br />

 * Displays category/sub-category listing<br />

 * Uses tpl_index_category_row.php to render individual items

 *

 * @package templateSystem

 * @copyright Copyright 2003-2006 Zen Cart Development Team

 * @copyright Portions Copyright 2003 osCommerce

 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0

 * @version $Id: tpl_index_categories.php 4678 2006-10-05 21:02:50Z ajeh $

 */

?>

<div class="centerColumn" id="indexCategories">

<h1 id="indexCategoriesHeading">Top Categories</h1>



<?php

$cat_id=0;

  $categories_query = "SELECT c.categories_id, cd.categories_name, c.categories_image, c.parent_id

                         FROM   " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd

                         WHERE      c.parent_id = :parentID

                         AND        c.categories_id = cd.categories_id

                         AND        cd.language_id = :languagesID

                         AND        c.categories_status= '1'

                         ORDER BY   sort_order, cd.categories_name";



    $categories_query = $db->bindVars($categories_query, ':parentID', $cat_id, 'integer');

    $categories_query = $db->bindVars($categories_query, ':languagesID', $_SESSION['languages_id'], 'integer');

	

	 $categories = $db->Execute($categories_query);

  $number_of_categories = $categories->RecordCount();

  

  

 require($template->get_template_dir('tpl_modules_category_row.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_row.php');

?>

</div>

create: tpl_page_2_default.php

<?php
/**
 * tpl_page_2_default.php
 *
 * @package templateSystem
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_page_2_default.php 3464 2006-04-19 00:07:26Z ajeh $
 */
?>

<div class="centerColumn" id="indexCategories">
<h1 id="indexCategoriesHeading">Top Categories</h1>

<?php
$cat_id=0;
  $categories_query = "SELECT c.categories_id, cd.categories_name, c.categories_image, c.parent_id
                         FROM   " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd
                         WHERE      c.parent_id = :parentID
                         AND        c.categories_id = cd.categories_id
                         AND        cd.language_id = :languagesID
                         AND        c.categories_status= '1'
                         ORDER BY   sort_order, cd.categories_name";

    $categories_query = $db->bindVars($categories_query, ':parentID', $cat_id, 'integer');
    $categories_query = $db->bindVars($categories_query, ':languagesID', $_SESSION['languages_id'], 'integer');

         $categories = $db->Execute($categories_query);
  $number_of_categories = $categories->RecordCount();


 require($template->get_template_dir('tpl_modules_category_row.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_row.php');
?>
</div>


<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div>
</div>
1 Sep 2009, 9:01 AM
#3699
yellow1912 avatar

yellow1912

Totally Zenned

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

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

You can create an alias for page 2, name it anything you like using link alias manager.

1 Sep 2009, 6:26 PM
#3700
edwardtilbury avatar

edwardtilbury

Zen Follower

Join Date:
Sep 2007
Posts:
169
Plugin Contributions:
0

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

yellow1912:

You can create an alias for page 2, name it anything you like using link alias manager.

ok, perfect thanks

BTW feel free to cut and paste my previous post code... I have a feeling it will get buried on this forum, but it was on your site it might be easier for others to find.