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:
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
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
Kommentar