Jump to content

swekidz

Members
  • Content count

    42
  • Joined

  • Last visited

Profile Information

  • Real Name
    Åke Häger
  1. swekidz

    ULTIMATE Seo Urls 5 - by FWR Media

    Hi FWR How can i fix that ? if i enter http://fi.homepage.com it sends me to http://www.homepage.com I Have checked .htaccess its ok sow it must be Seo urls that sends me to http://www.homepage.com /Best Regards Marcus
  2. swekidz

    ULTIMATE Seo Urls 5 - by FWR Media

    Hi I have a homepage like www.homepage.com but now im gona install new Languages and gona use http://fi.homepage.com and http://no.homepage.com but when i have install that and enter like http://fi.homepage.com it sends me to http://www.homepage.com /Best Regards SweKidz- Marcus
  3. swekidz

    ULTIMATE Seo Urls 5 - by FWR Media

    Hi FWR Media I have used this contrib for month working very good , but now i must have a underdomän like no.hompage.com but when a go there it sends me to www.homepage.com How can i fix that ? /Regards Marcus
  4. Remove Manufactors from Titel on products how can i do that ? /Best Regards Marcus
  5. swekidz

    KissMT Dynamic SEO Meta Tags

    Hi Can you help me with this ? /Regards Marcus quote name='swekidz' date='19 February 2010 - 11:43 AM' timestamp='1266579792' post='1486227'] Hi This works GREAT :thumbsup: , it have fix mutch on my shop , but i want to remove the Manufacturer from the titel. How can i do that ? /Best Regards Marcus
  6. swekidz

    KissMT Dynamic SEO Meta Tags

    Hi This works GREAT :thumbsup: , it have fix mutch on my shop , but i want to remove the Manufacturer from the titel. How can i do that ? /Best Regards Marcus
  7. Hi FWR Media I Have find that but i want to write my own keywords for index , i have found the titel and description How can i make that ? /Regards Marcus
  8. Hi Again I have one more question, how can i set my own keywords on index ? /Thx for helping with this great contrib /Regards Marcus
  9. Hi This contrib works great , THX . But i have a question how can i get the åäö to work Is that correct ? Massagebänkar och Massagestolar för bättre hälsa This is the correct typing: Massagebänkar och Massagestolar för bättre hälsa Is there anyone that have any proposal or idea of my homepage : http://www. swehealth.se /Regards Marcus
  10. Hi Spooks! Thanks for the help! Now it works :) /Best Regards Marcus
  11. Hi When i installs the new 1.3 when i look at the code it says : Warning: array_merge(): Argument #2 is not an array in /hsphere/local/home/swehealth/swehealth.se/includes/functions/html_output.php on line 353 Warning: Invalid argument supplied for foreach() in /hsphere/local/home/swehealth/swehealth.se/includes/functions/html_output.php on line 355 this code : // remove duplicate content with canonical tag by Spooks 12/2009 function CanonicalLink( $xhtml = false , $ssl = 'SSL' ) { global $request_type; $rem_index = false; // Set to true to additionally remove index.php from the uri $close_tag = ( false === $xhtml ? ' >' : ' />' ); $spage = ''; $domain = ( $request_type == 'SSL' && $ssl == 'SSL' ? HTTPS_SERVER : HTTP_SERVER ); // gets the base URI // Find the file basename safely = PHP_SELF is unreliable - SCRIPT_NAME can show path to phpcgi if ( array_key_exists( 'SCRIPT_NAME', $_SERVER ) && ( substr( basename( $_SERVER['SCRIPT_NAME'] ), -4, 4 ) == '.php' ) ) { $basefile = basename( $_SERVER['SCRIPT_NAME'] ); } elseif ( array_key_exists( 'PHP_SELF', $_SERVER ) && ( substr( basename( $_SERVER['PHP_SELF'] ), -4, 4 ) == '.php' ) ) { $basefile = basename( $_SERVER['PHP_SELF'] ); } else { // No base file so we have to return nothing return false; } // Don't produce canonicals for SSL pages that bots shouldn't see $ignore_array = array( 'account', 'address', 'checkout', 'login', 'password', 'logoff' ); // partial match to ssl filenames foreach ( $ignore_array as $value ) { $spage .= '(' . $value . ')|'; } $spage = rtrim($spage,'|'); if (preg_match("/$spage/", $basefile)) return false; // REQUEST_URI usually doesn't exist on Windows servers ( sometimes ORIG_PATH_INFO doesn't either ) if ( array_key_exists( 'REQUEST_URI', $_SERVER ) ) { $request_uri = $_SERVER['REQUEST_URI']; } elseif( array_key_exists( 'ORIG_PATH_INFO', $_SERVER ) ) { $request_uri = $_SERVER['ORIG_PATH_INFO']; } else { // we need to fail here as we have no REQUEST_URI and return no canonical link html return false; } $remove_array = array( 'currency','language','main_page','page','sort','ref','affiliate_banner_id','max'); // Add to this array any additional params you need to remove in the same format as the existing $page_remove_array = array(FILENAME_PRODUCT_INFO => array('manufacturers_id', 'cPath'), FILENAME_DEFAULT => array() ); // remove page specific params, should be in same format as previous, given is manufacturers_id & cPath // have to be removed in product_info.php only $remove_array = array_merge($remove_array, $page_remove_array[$basefile]); foreach ( $remove_array as $value ) { $search[] = '/&*' . $value . '[=\/]+\w*\/?/i'; } $search[] = ('/&*osCsid.*/'); $search[] = ('/\?\z/'); if ($rem_index) $search[] = ('/index.php\/*/'); $request_uri = preg_replace('/\?&/', '?', preg_replace($search, '', $request_uri )); echo '<link rel="canonical" href="' . $domain . $request_uri . '"' . $close_tag . PHP_EOL; } /// /Regards Marcus
  12. Hi The problem thats left is this : http://www. homepage.se/allprods.php/sort/2a/page/5" > /Regards Marcus
  13. Hi When i installed this it was like this : /?manufacturers_id=12&cpath=29&products_id=109" > before it was : /?manufacturers_id=12 Do you now whats wrong then ? /Best Regards Marcus
  14. Hi again :) What about this code were should i put that : $remove_array_page = array('product_info.php' => array('manufacturers_id') // e.g. manufacturers_id has to be removed in product_info.php ,'index.php' => array() // e.g. nothing to remove in addition to the general-remove-array in index.php ,'allprods.php' => array('fl') ,'specials.php' => array('products_id') ); /Regards SweKidz - Marcus
×