网站上传
1. 修改文件名为域名;
2. 修改配置文件 (1) 文件名 /includes/configure.php
( 2 文件 名 /ye11come/includes/configure.php
define('DB_SERVER_USERNAME', $_SERVER[‘mysql_username’ ]);
define('DB_SERVER_PASSWORD', $_SERVER[‘mysql_passwd] ’);
define('DB_DATABASE', $_SERVER[‘mysql_dbname’ ]);
( 3 )文件名 /kqbill/config
define("siteName",$_server[‘kqbill_id’] );
(4) 文件 / .htvhost
<VirtualHost *>
ServerName <VirtualHost *>
ServerName cheapbirkenstocksale.com
ServerAlias www.cheapbirkenstocksale.com
DocumentRoot /web/seo/cheapbirkenstocksale.com
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www/.
RewriteRule ^/(.*) http://www.%{HTTP_HOST}/$1 [R=301,L]
ErrorDocument 404 /404.html
SetEnv mysql_dbname seo_cheapbirkenstocksale.com
SetEnv kqbill_id BK0530Z
3. 用图片检测工具,检测图片和表格是否正确;
4 .把改好的文件,压缩成最小,放入准备上传的目录;
5 . . 打开 SecureCRT 连接线上地址 例如: 2**.53.183.55
用户名:*** 密码: ***
(1) 登陆后右键打开 SFTP
找到网站目录,和本地目录,上传文件包 ;
上传成功后解压文件包 7z x (解压后可以删除那个文件包) ;
创建数据库,导入数据;
(2)
修改文件权限: $chmod –R 777 文件名
重启服务器: $subo rshttpd
6 .绑定域名
例如:登陆 name.com
A cheapbirkenstocksale.com 212.53.183.55 300
A www.cheapbirkenstocksale.com 212.53.183.55 300
CNAME mail.cheapbirkenstocksale.com float.onsaleghd.com 300
MX cheapbirkenstocksale.com mail. cheapbirkenstocksale 300 10
一般是以上四种情况;在浏览器中查看是否上传成功;
7 ,修改后台
(1) 登陆后台修改,管理员,和密码
管理员:***
密码: ***
(2) 修改这两个权限
Force Cookie Use 改为 true;
Prevent Spider Sessions 改为 false
8 .商品的上传
( 1 ) Tools-> SQL Query Executor 先要清空商品和属性
代码入下: # 清空商品以及属性
TRUNCATE TABLE media_clips;
TRUNCATE TABLE media_manager;
TRUNCATE TABLE media_to_products;
TRUNCATE TABLE media_types;
TRUNCATE TABLE music_genre;
TRUNCATE TABLE product_music_extra;
TRUNCATE TABLE product_types_to_category;
TRUNCATE TABLE products;
TRUNCATE TABLE products_attributes;
TRUNCATE TABLE products_attributes_download;
TRUNCATE TABLE products_description;
TRUNCATE TABLE products_discount_quantity;
TRUNCATE TABLE products_notifications;
TRUNCATE TABLE products_options;
TRUNCATE TABLE products_options_values;
TRUNCATE TABLE products_options_values_to_products_options;
TRUNCATE TABLE products_to_categories;
TRUNCATE TABLE record_artists;
TRUNCATE TABLE record_artists_info;
TRUNCATE TABLE record_company;
TRUNCATE TABLE record_company_info;
( 2 ) Tools-> Easy Populate 1.2.5.5.csv 上传新商品