Jump to content

irder

Members
  • Posts

    341
  • Joined

  • Last visited

Posts posted by irder

  1. <VirtualHost *:80>
        ServerAdmin [email protected]
        DocumentRoot "/var/www/html/xxxx.com"
        ServerName xxxx.com
        ServerAlias www.xxxx.com
        RewriteEngine on
        RewriteCond %{HTTP_HOST} ^xxxx\.com
         RewriteRule ^/(.*)$ http://www.xxxx.com/$1 [NC,R=301]
        ErrorLog "/var/log/httpd/xxxx.com-error.log"
        CustomLog "/var/log/httpd/xxxx.com-access.log" common
    </VirtualHost>

    hi,this is one  VirtualHost in vhost.conf

    ,you can try it, 

  2. I guess my question is, WHAT SHOULD WE FILL IN THE "PROFILE" SECTION?

     

    but,i am not sure,i need wait 24 hours to see whether it work out not,

     

    i forget to put on the analytics code to the site,,,,,,,,,,,

     

     

     

    --------------------------------------------------------------------

     

    yes,it's just the problem,don't forget to put on the analyitcs code to your site,and it begin to gather the data,

  3. 1.6 以上版本,在

    /classes/Meta.php

     

    public static function getHomeMetas($id_lang, $page_name)
    {
    $metas = Meta::getMetaByPage($page_name, $id_lang);
    $ret['meta_title'] = (isset($metas['title']) && $metas['title']) ? Configuration::get('PS_SHOP_NAME').' - '.$metas['title'] : Configuration::get('PS_SHOP_NAME');
    $ret['meta_description'] = (isset($metas['description']) && $metas['description']) ? $metas['description'] : '';
    $ret['meta_keywords'] = (isset($metas['keywords']) && $metas['keywords']) ? $metas['keywords'] :  '';
    return $ret;
    }
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More