Page 464 of 506 FirstFirst ... 364414454462463464465466474 ... LastLast
Results 4,631 to 4,640 of 5054
  1. #4631
    Join Date
    Mar 2010
    Posts
    32
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    Hi there

    I am trying to pimp my links manually which works pretty well for category and product links:

    E.g. I can hypotetically replace myshop.com/product_aaa by myshop.com/product_bbb by setting the config file as follows....

    /includes/classes/ssu/local.config.php

    Code:
    	$ssuLocalConfig = array(
    		'plugins'		=>	array(
    									'parsers'	=>	array('manufacturers', 'news_articles')
    								),
    		
    		'languages'		=>	array(	'fr'	=>	'default',
    									'ru'	=>	'ru',
    									)
    	);
    ... and finally defining the link name replacement as follows:

    /includes/classes/ssu/plugins/languages/default.php

    Code:
        class SSULanguageDefault extends SSULanguage{
            static function parseName($name){
    	        
    	        
            $name = str_replace("product_aaa", "product_bbb", $name));
            
            $name = strtolower($name);
    
    ... and so on....

    But what I am no able to do is to replace the links I have in my INFORMATION BOX: shippinginfo, specials, contact_us etc. links!!!!

    E.g. I want to replace myshop.com/index.php?main_page=specials by myshop.com/index.php?super_mega_specials

    How can I do that? I have no clue!

    I know that SSU automatically replaces myshop.com/index.php?main_page=specials by myshop.com/index.php?specials

    => But I want it to be 'super_mega_specials'

  2. #4632
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Simple SEO URL [support thread]

    Quote Originally Posted by jamie951 View Post
    How do you change these hta rules?
    Your .htaccess file is the file you create and need to go in the folder that it needs to control. You needs to make sure it is setup correctly. Some people don't or don't know how to set it up correctly and that's why they have so many problems with the links or 500 errors.

    keep in mind. Maybe to completely understand .htaccess stuff I want to clarify.

    .htaccess need to go in the folder that it needs to control.
    .htaccess RewriteBase or Base needs to be set relative to the folder structure of the domain. If installed in a sub directory of the domain, RewriteBase /subdir/

    This has nothing to do with the root /public_html/ in your hosting account just with the location relative to the domains root.

    Your domain root might be /public_html/mydomain but test zencart is installed /public_html/mydomain/testzen so .htaccess will be put in /public_html/mydomain/testzen but you have to set RewriteBase /testzen/
    If just /public_html/mydomain/
    it will be RewriteBase /
    Every simple seo file and .htaccess needs to be under /public_html/mydomain/ to work. Hope this makes sense to you.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  3. #4633
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Simple SEO URL [support thread]

    Quote Originally Posted by flix View Post
    Hi there

    I am trying to pimp my links manually which works pretty well for category and product links:

    E.g. I can hypotetically replace myshop.com/product_aaa by myshop.com/product_bbb by setting the config file as follows....

    /includes/classes/ssu/local.config.php

    Code:
        $ssuLocalConfig = array(
            'plugins'        =>    array(
                                        'parsers'    =>    array('manufacturers', 'news_articles')
                                    ),
            
            'languages'        =>    array(    'fr'    =>    'default',
                                        'ru'    =>    'ru',
                                        )
        );
    ... and finally defining the link name replacement as follows:

    /includes/classes/ssu/plugins/languages/default.php

    Code:
        class SSULanguageDefault extends SSULanguage{
            static function parseName($name){
                
                
            $name = str_replace("product_aaa", "product_bbb", $name));
            
            $name = strtolower($name);
    
    ... and so on....
    But what I am no able to do is to replace the links I have in my INFORMATION BOX: shippinginfo, specials, contact_us etc. links!!!!

    E.g. I want to replace myshop.com/index.php?main_page=specials by myshop.com/index.php?super_mega_specials

    How can I do that? I have no clue!

    I know that SSU automatically replaces myshop.com/index.php?main_page=specials by myshop.com/index.php?specials

    => But I want it to be 'super_mega_specials'
    I probably can point you in the right direction.
    includes/languages/Your_custom_folder/english.php
    Find and replace with the name of your that you want to use.
    PHP Code:
    // specials box text in sideboxes/specials.php
      
    define('BOX_HEADING_SPECIALS''Specials');
      
    define('CATEGORIES_BOX_HEADING_SPECIALS','Specials ...'); 
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  4. #4634
    Join Date
    Mar 2010
    Posts
    32
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    Hi Countrycharm

    Thanks for your guidance!

    Unfortunately, I did not find your mentioned file includes/languages/Your_custom_folder/english.php.

    Instead I found includes/languages/english.php which includes the code lines you have mentioned.

    In this file, I have changed the mentioned code lines to:

    Code:
      define('BOX_HEADING_SPECIALS', 'SpecialsXXX');
      define('CATEGORIES_BOX_HEADING_SPECIALS','SpecialsXXX ...');
    Unfortunately, this does not change the URL/link I see in the browser address but only the headings in my shop:




    Furthermore, I want to make the same kind of changes to the URLs that the user sees if he clicks on 'Shipping & Return', 'Conditions of use', etc.

    I would expect that I have to change that somewhere in the SSU classes... maybe in one of the parsers? Or didn't I understand your guidance correctly and I am completely on the wrong track here?

  5. #4635
    Join Date
    Nov 2010
    Posts
    11
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    Thanks for your reply countrycharm.

    I think I might go with one of these paid 'Zen cart help' SEO services that are available as this looks too complicated.

  6. #4636
    Join Date
    Mar 2010
    Posts
    32
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    I found the answer to my question:

    Got to ZC Admin -> Extras -> SSU -> Manage Aliases

    There, it is possible to change any static (i.e. non product/category name dependent) URLs by defining permanent aliases.

    Therefore, I came to the following conclusions:

    i) Changing individual (special) characters in dynamic (i.e. product/cat. name dependent) URLs: Use str_replace function in file /includes/classes/ssu/plugins/languages/default.php

    ii) Changing static URLs e.g. defined by the file name of the page being called (e.g. shippinginfo.php => URL will be your_store/shippinginfo/: Use aliases via the ZC Admin to change these kinds of URLs


    While i) is obviously perfectly multi-language compatible, I think that ii) does not work with multiple languages ;( Does anyone have a clue how I could success to have e.g. /shippinginfo for English users and /Versandinfo for German users etc.? I don't see any multi language support in the Alias part of SSU!?!?!?

  7. #4637
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Simple SEO URL [support thread]

    Quote Originally Posted by flix View Post
    I found the answer to my question:

    Got to ZC Admin -> Extras -> SSU -> Manage Aliases

    There, it is possible to change any static (i.e. non product/category name dependent) URLs by defining permanent aliases.

    Therefore, I came to the following conclusions:

    i) Changing individual (special) characters in dynamic (i.e. product/cat. name dependent) URLs: Use str_replace function in file /includes/classes/ssu/plugins/languages/default.php

    ii) Changing static URLs e.g. defined by the file name of the page being called (e.g. shippinginfo.php => URL will be your_store/shippinginfo/: Use aliases via the ZC Admin to change these kinds of URLs


    While i) is obviously perfectly multi-language compatible, I think that ii) does not work with multiple languages ;( Does anyone have a clue how I could success to have e.g. /shippinginfo for English users and /Versandinfo for German users etc.? I don't see any multi language support in the Alias part of SSU!?!?!?
    You may be able to get the author of the module to help you out. You can go here for more information.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  8. #4638
    Join Date
    Nov 2010
    Posts
    2
    Plugin Contributions
    0

    Default trouble redirecting non-www to www using simple seo url

    Hey guys,

    I have tried various combinations in the htaccess file. At best I am able to make everything display, but break my cart... the "add to cart" button brings up my cart, but no products are added. At worst, my Zencart folder is ignored and it tries to redirect me to example.com/my-product-category-c1

    Here are the contents of my htaccess file, without my attempts at non-www to www redirection. Would anyone be able to tell me how I can implement non-www to www redirection without breaking my shopping cart?

    #### BOF SSU
    Options +FollowSymLinks -MultiViews
    RewriteEngine On

    # Make sure to change "test_site" to the subfolder you install

    ZC. If you use root folder, change to: RewriteBase /
    RewriteBase /online_store/

    # 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


    If it matters, I do have non-www to www redirection working properly on the rest of the site, using htaccess in the root folder. It's just when I get into the Zencart folder, online_store, and it's custom .htaccess file that I run into trouble.

    Does anyone know what I add to the code above to make it work?

    Best Regards,
    Daniel

  9. #4639
    Join Date
    Jun 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    Great addon.
    As a former tester - can I ask - has anyone done any actual real tine experiments here with Google. For example - get 2 identical sites or even just 2 product pages. One that has been SEO'd and the other just left as standard - and then look at the Google ratings to see which one gets A. more traffic and B gets rated higher by Google

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

    Default Re: Simple SEO URL [support thread]

    Quote Originally Posted by zamtek View Post
    i have installed SSU to my zen cart and it generates URL too, but it always redirects to homepage. Can anyone help me with this??
    Any solution for this? i got the right .htaccess, but the website is going to the homepage everytime. The url of all links are good.

    I resetted the cache several times.

    It works great at first. So for testing the site I disabled ssu. I installed the English language again (before default just one lang)

    Use zc 139h ssu 3.8.5

 

 

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

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