Results 1 to 10 of 5054

Hybrid View

  1. #1
    Join Date
    Jul 2009
    Location
    New York
    Posts
    121
    Plugin Contributions
    2

    Default Re: Simple SEO URL [support thread]

    I Installed the Simple SEO URL but after installation when I click on any product or any page it gives me a different link, but the page is not found. How can I fix that problem?
    Does anyone know what files I have to edit to change my links and fix the error? I’m using 1.3.9G version. Thanks

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

    Default Re: Simple SEO URL [support thread]

    Quote Originally Posted by shahram View Post
    I Installed the Simple SEO URL but after installation when I click on any product or any page it gives me a different link, but the page is not found. How can I fix that problem?
    Does anyone know what files I have to edit to change my links and fix the error? I’m using 1.3.9G version. Thanks
    Make sure your .htaccess rule are correct. Most of the problems people have is there because they don't create the rules right.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  3. #3
    Join Date
    Nov 2010
    Posts
    11
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    How do you change these hta rules?

  4. #4
    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'

  5. #5
    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

  6. #6
    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?

  7. #7
    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!?!?!?

  8. #8
    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.

  9. #9
    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

 

 

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