Ankündigung

Einklappen
Keine Ankündigung bisher.

Power SEO, ein kleines Problem

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Power SEO, ein kleines Problem

    Hallo zusammen.

    Mir ist klar das das Thema SEO eine Glaubenssache ist, bzw. eigentlich nicht mehr nötig.

    ABER

    Meine Kundinnen kommen einfach besser mit "umgeschriebenen" Links klar.

    Da Magic-SEO unter PLESK Panel 11 nicht mehr funktioniert (unter Plesk 11 kann der ZenLoader nicht mehr installiert werden), habe ich jetzt das Modul Power SEO probiert.

    Im Prinzip läuft alles, aber eben nicht wirklich alles.

    Ich nehme an, das es mit der deutschen Version von Zen-Cart zusammen hängt.

    Das Problem:

    1. Wenn ich im Warenkorb (Artikel sind schon drin) auf "zur Bestellung" klicke, werde ich IMMER zur LOGIN-Seite geleitet. Egal ob ich schon angemeldet bin oder nicht.

    2. Wenn ich angemeldet bin und dann auf "Mein Konto" klicke, also meine Kontoeinstellungen z.b. ändern möchte, werde ich wieder zur LOGIN-Seite geleitet.

    Jetzt ist bei dem Modul eine Datei dabei, so wie ich das verstanden habe, eigene Umleitungen einzustellen.

    Hier mal ein Auszug aus der Datei ZENCART.ROUTES.PHP:

    Code:
    /*
    You can extend Power SEO URL's with your own specific changes by adding appropriate rules in this file
    this gives you unlimited power to create additional SEO-optimized custom parts of your store like new pages, pages with single or multiple parameters etc
    Please see below examples of how it works and how to extend it.
    
    Usually it takes some time to get used to this approach, so please take your time and make sure you backup this file before making changes.
    */
    
    /**
     * Example 1
     * To rewrite static URL like http://yourstore.com/myscript.php To SEO URL http://yourstore.com/my-script 
     * 
     * 1. In line below replace  myscript.php  and  my script  
     *    with actual script file name and desired SEO keyword
     * 
     *        new m1_seourls_route_regexp('myscript.php', 'my script', array()),
     * 
     * 2. Copy edited line and paste it into each one of 
     *    _template_1, _template_2, _template_3 and _template_4 
     *    functions after '// Add new rules below' line
     * 
     * Attention: All spaces in seo urls replacing by dashes! 
     *  
     */
    
    /**
     * Example 2
     * To set up SEO URL for page that is created with non-standard pages script.
     * For example about "Rabbits Life" (page number equals 2).
     * So to rewrite URL like http://yourstore.com/mypages.php?page=2 To SEO URL http://yourstore.com/Rabbits-Life
     * 
     * 1. In line below replace script file name mypages.php  , seo keyword Rabbits Life 
     *    and additional parameters with actual values
     * 
     *        new m1_seourls_route_static('mypages.php', 'Rabbits Life', array('page' => '2')),
     * 
     * 2. Copy edited line and paste it into each one of 
     *    _template_1, _template_2, _template_3 and _template_4 
     *    functions after '// Add new rules below' line
     * 
     * Attention: All spaces in seo urls replacing by dashes! 
     *  
     */
    
    /**
     * Example 3
     * To rewrite more complex urls with 2 or 3 additional parameters 
     * like http://yourstore.com/myestimator.php?country=us&state=ny&zip=10001 
     * to SEO URL http://yourstore.com/estimate-for-new-york
     * 
     * 1. In line below replace script file name myestimator.php  , seo keyword Estimate for New York 
     *    and additional parameters with actual values
     *  
     *     new m1_seourls_route_static('myestimator.php', 'Estimate for New York', array('country' => 'us', 'state' => 'ny', 'zip' => '10001')),
     * 
     * 2. Copy edited line and paste it into each one of 
     *    _template_1, _template_2, _template_3 and _template_4 
     *    functions after '// Add new rules below' line
     * 
     * Attention: All spaces in seo urls replacing by dashes! 
     */
    class m1_seourls_route_tpl_zencart
    {
        /**
         * Products as Pages and Categories as Folders
         * http://<yourdomain.com>/hardware/modems/zyxel-omni-56k
         * http://<yourdomain.com>/hardware/modems
         * http://<yourdomain.com>/categ4page/some-page 
         *
         * @return array
         */
        function &_template_1()
        {
            $_routes = array(
            
                // Add new rules below
            
                new m1_seourls_route_static('index.php', 'information page 2', array('main_page' => 'page_2')),
                new m1_seourls_route_static('index.php', 'information page 3', array('main_page' => 'page_3')),
                new m1_seourls_route_static('index.php', 'information page 4', array('main_page' => 'page_4')),
            
                new m1_seourls_route_static('index.php', 'newsletter unsubscribe', array('main_page' => 'unsubscribe')),
                new m1_seourls_route_static('index.php', 'conditions of use', array('main_page' => 'conditions')),
                new m1_seourls_route_static('index.php', 'shipping returns', array('main_page' => 'shippinginfo')),
                new m1_seourls_route_static('index.php', 'discount coupons', array('main_page' => 'discount_coupon')),
                new m1_seourls_route_static('index.php', 'my account', array('main_page' => 'account')),
                new m1_seourls_route_static('index.php', 'password remember', array('main_page' => 'password_forgotten')),
                new m1_seourls_route_static('index.php', 'gift certificate faq', array('main_page' => 'gv_faq')),
                new m1_seourls_route_static('index.php', 'advanced search', array('main_page' => 'advanced_search')),
                new m1_seourls_route_static('index.php', 'contact us', array('main_page' => 'contact_us')),
                new m1_seourls_route_static('index.php', 'all products', array('main_page' => 'products_all')),
                new m1_seourls_route_static('index.php', 'featured products', array('main_page' => 'featured_products')),
                new m1_seourls_route_static('index.php', 'new products', array('main_page' => 'products_new')),
                new m1_seourls_route_static('index.php', 'specials', array('main_page' => 'specials')),
                new m1_seourls_route_static('index.php', 'sign in', array('main_page' => 'login')),
                new m1_seourls_route_static('index.php', 'sitemap', array('main_page' => 'site_map')),
                new m1_seourls_route_static('index.php', 'privacy notice', array('main_page' => 'privacy')),
    
                new m1_seourls_route_regexp('index.php', 'ezpages/%ezpage%', array('main_page' => 'page', 'id' => '\d+', 'chapter' => '\d+')),
                new m1_seourls_route_regexp('index.php', 'ezpages/%ezpage%', array('main_page' => 'page', 'id' => '\d+')),
                
                new m1_seourls_route_regexp('index.php', 'reviews/%review%', array('main_page' => 'product_reviews_info', 'products_id' => '\d+', 'reviews_id' => '\d+')),
                new m1_seourls_route_regexp('index.php', 'reviews/write/%product%', array('main_page' => 'product_reviews_write', 'products_id' => '\d+')),
                new m1_seourls_route_regexp('index.php', 'reviews', array('main_page' => 'reviews')),
                
                new m1_seourls_route_regexp('index.php', '%manufacturer%', array('main_page' => 'index', 'manufacturers_id' => '\d+')),
                
                /* Product Types View links */
                new m1_seourls_route_regexp('index.php', '%category(5)%/%product%', array('main_page' => 'product_info', 'products_id' => '\d+', 'cPath' => '(?:\d+[_]?)+')),
                new m1_seourls_route_regexp('index.php', '%product%',               array('main_page' => 'product_info' , 'products_id' => '\d+')),
                
                new m1_seourls_route_regexp('index.php', '%category(5)%/%product%', array('main_page' => 'product_music_info', 'products_id' => '\d+', 'cPath' => '(?:\d+[_]?)+')),
                new m1_seourls_route_regexp('index.php', '%product%',               array('main_page' => 'product_music_info', 'products_id' => '\d+')),
    
                new m1_seourls_route_regexp('index.php', '%category(5)%/%product%', array('main_page' => 'document_general_info', 'products_id' => '\d+', 'cPath' => '(?:\d+[_]?)+')),
                new m1_seourls_route_regexp('index.php', '%product%',               array('main_page' => 'document_general_info', 'products_id' => '\d+')),
                
                new m1_seourls_route_regexp('index.php', '%category(5)%/%product%', array('main_page' => 'product_free_shipping_info', 'products_id' => '\d+', 'cPath' => '(?:\d+[_]?)+')),
                new m1_seourls_route_regexp('index.php', '%product%',               array('main_page' => 'product_free_shipping_info', 'products_id' => '\d+')),
                
                new m1_seourls_route_regexp('index.php', '%category(5)%/%product%', array('main_page' => 'document_product_info', 'products_id' => '\d+', 'cPath' => '(?:\d+[_]?)+')),
                new m1_seourls_route_regexp('index.php', '%product%',               array('main_page' => 'document_product_info' , 'products_id' => '\d+')),
                /* Product Types View links */
                
                new m1_seourls_route_regexp('index.php', '%category(5)%', array('main_page' => 'index', 'cPath' => '(?:\d+[_]?)+')),
                new m1_seourls_route_regexp('index.php', '',          array('main_page' => 'index')),
                new m1_seourls_route_regexp('index.php', '',          array()),
                
                // 404 Page Not Found - route
                new m1_seourls_route_error('m1_seourls.error.php', 404),
            );
            return $_routes;
        }

    Mir ist jetzt nur nicht klar, WAS ich da WO einstellen muß.

    Hat event. jemand dieses Modul in seinem Shop und kann mir da weiter helfen?



    Grüße und Danke
    Manfred

    #2
    Power SEO, ein kleines Problem

    Warum klärst Du das nicht mit dem Magnetic One Support? Kommerzielle Module werden hier nicht supportet, die haben ihren eigenen Support.

    posted via Tapatalk

    Kommentar


      #3
      Weil mein englisch nicht mehr so ganz frisch ist und ich angenommen hatte das es hier ein Forum ist in dem man Hilfe bekommt und in dem durchaus solche kommerzielle Module besprochen werden.

      Es hätte ja sein können, das jemand schon das gleiche Problem hatte.

      Wenn solche Anfragen nicht erwünscht sind, dann kann hier ja zu gemacht werden.

      Aber danke für die Hilfe.

      Manfred

      Kommentar


        #4
        Falls es jemanden interessiert.

        Folgendes muß auch bei ZenCart 1.5 mit eingetragen werden:

        Code:
        [COLOR=#000000][FONT=Verdana][B][I]6. Modify includes/configure.php for Zen Cart 1.3.9h only[/I][/B][/FONT][/COLOR]
        [LIST=1][*][COLOR=#000000][FONT=Verdana]In your Zen Cart installation, open the file [/FONT][/COLOR][COLOR=#000000][FONT=Verdana][I]includes/configure.php[/I][/FONT][/COLOR][COLOR=#000000][FONT=Verdana] and find the following line:[/FONT][/COLOR] [/LIST]
        [COLOR=#000000][FONT=Courier New]define('ENABLE_SSL',[/FONT][/COLOR]
        [COLOR=#000000][FONT=Verdana]right after it, insert the following line:[/FONT][/COLOR]
        [COLOR=#000000][FONT=Courier New]  define('HTTP_COOKIE_DOMAIN' , 'yourdomain.com');[/FONT][/COLOR]
        [COLOR=#000000][FONT=Courier New]  define('HTTPS_COOKIE_DOMAIN' , 'yourdomain.com');[/FONT][/COLOR]
        [COLOR=#000000][FONT=Courier New]  define('HTTP_COOKIE_PATH' , 'yourstorecatalog');[/FONT][/COLOR]
        [COLOR=#000000][FONT=Courier New]  define('HTTPS_COOKIE_PATH' , 'yourstorecatalog');[/FONT][/COLOR][COLOR=#000000][FONT=Verdana][B][I]Note:[/I][/B][/FONT][/COLOR][COLOR=#000000][FONT=Verdana]Please do not add the line that is already defined at your store[/FONT][/COLOR]
        [COLOR=#000000][FONT=Verdana][B][I]Note:[/I][/B][/FONT][/COLOR][COLOR=#000000][FONT=Verdana]Please change 'yourdomain.com' at the code, to the exact store domain[/FONT][/COLOR][COLOR=#000000][FONT=Verdana][B][I]. [/I][/B][/FONT][/COLOR][COLOR=#000000][FONT=Verdana]Also, do not add 'http://' or 'www.' to your domain name[/FONT][/COLOR]
        [COLOR=#000000][FONT=Courier New]In case, you do not have store catalog folder, please leave the 'yourstorecatalog[/FONT][/COLOR][COLOR=#000000][FONT=Verdana]' [/FONT][/COLOR][COLOR=#000000][FONT=Courier New]empty[/FONT][/COLOR][COLOR=#000000][FONT=Courier New][I] define('HTTP_COOKIE_PATH' , ''); define('HTTPS_COOKIE_PATH' , '');[/I][/FONT][/COLOR]
        [COLOR=#000000][FONT=Verdana](do not insert spaces)[/FONT][/COLOR]

        Grüße
        Manfred

        Kommentar

        Info zu diesem Forenarchiv:
        Mit Release von 1.5.7 wurde die deutsche Zen Cart Version auf eine reine DIY-Lösung umgestellt.
        Für einen Support via Forum stehen keine personellen und zeitlichen Ressourcen mehr zur Verfügung.
        Dieses Supportforum bleibt im Nur-Lesen-Modus als Wissensarchiv noch online verfügbar.
        PM Funktionalität, Registrierung und Posten neuer Beiträge sind deaktiviert.
        Zugriff auf Anhänge in den Postings ist auch ohne Registrierung/Einloggen möglich.
        FAQ und Downloadbereich des Forums wurden in die neue umfangreiche Knowledgebase auf der zen-cart-pro.at Website übernommen.

        Das Development der deutschen Zen Cart Version geht wie bisher auf Github weiter.
        Wir werden auch weiterhin neue Versionen bereitstellen und die Onlinedokumentation/Knowledgebase aktualisieren.
        Fehler in der Software können auf Github als Issues gemeldet werden.
        Follow us
        aktuelle version
        Zen Cart 1.5.7g deutsch
        vom 12.12.2023
        [Download]
        Lädt...
        X