zen cart ezpage的路径问题

2010年08月2日 2:34 下午  |  分类:Zen Cart专题

自从zen cart出了新版本1.3.9系列后就一直有新的问题随之而出,从zen cart paypal测试订单时出现无法处理付款,到今天发现的ezpage问题:

在后台tools/ez-pages里添加新项目后(例about us),主页也可以显示该项,但就是当你点击该项后,前台页面会提示Page Not Found,认真看该页面的url地址是:http://www.YOURDOMAIN.com/about-us-ezp-1.html

这跟以往的路径明显有些不同,明显多了一个ezp词。

网上搜索了很久,都没有对这一问题的解决方法,就zen cart中文论坛里有朋友提问了一下,但是下面也没有高手解决。

自己分析url,从ftp:includes\classes\seo.url.php文件里找,在第125行左右,该文件里有对ez pages的url定义:

// EZ-Pages SEO support
    ’id’ => ‘-ezp-’,

翻了以前老版本的zen cart程序,发现以前未对该项进行定义,把老版本的seo.url.php文件替换到新站里,这一问题就解决了,可就是现在的路径变成http://www.YOURDOMAIN.com/page.html?id=1,虽然有带问号,但总比Page Not Found好。

由于本人对代码不熟,不知道为什么单独定义ez page这一块后,seo url会失效,暂且这样子改吧,期待高手们解决!

最近zen cart网站存在风险

2010年05月7日 10:50 上午  |  分类:Zen Cart专题,生活琐事

Zen Cart 英文版 v1.3.9a已经正式发布,利用zen cart网站却还没升级的朋友们,赶紧升级了,详见《图文详细教你如何升级zen cart到v1.3.9a》。

zen cart官方在09年6月25日已经发出zen cart安全补丁,可是还有很多朋友就是没去及时去打上补丁。见:http://www.zen-cart.cn/forum/topic8324.html

最近有些黑客侵入zen cart网站后台,在tools / admin setting里会增加一个管理用户,再将你的收款通道改掉,最常见的就是把Paypal帐号改为他们的,有被改为sh0pp1ng@ymail.com的,钱都被他们收了,我们傻傻地还在发货,那是替他们发货。

所以,提醒做外贸的同事们,在查漏单的同时,一定也要查下是不是“增单”了,后台有单,可没收到款,还在发货。

还等什么,快升级zen cart到v1.3.9a啊!

Zen Cart 英文版 v1.3.9a

2010年04月28日 9:38 上午  |  分类:Zen Cart专题

v1.3.9 英文版下载:http://www.zen-cart.cn/modules/wfdownloads/singlefile.php?cid=6&lid=211

v1.3.9 的新特性

v1.3.9 在 v1.3.8 基础上有很多改进和修正,包括:

* 兼容 PHP 5.3.x
* 改进 PCI 扫描,防止常见的错误
* 改进 SSL 检测
* Session 处理改进:特别针对IE改进了共享型 SSL 配置
* Session 处理改进:结束时关闭、删除多余的初始化等等
* 改进了搜索功能
* 改进了防止黑客的功能
* /images/ 目录增加了 .htaccess 文件,以及其它一些安全更新
* 产品页面和产品列表现在支持 Canonical 网址(权威网址),参见 /includes/init_includes/init_canonical.php
* 改进开发工具 (智能搜索、大小写敏感选项等)
* USPS 模块更新为 RateV3 接口并包含所有直到 2010年4月的更新
* PayPal 英国 – 支持3D 安全
* 支持 PayPal 的微支付 (micropayments)
* 当fsockopen() 被禁用时,增加通过CURL处理 PayPal IPN
* 更新了PayPal,Linkpoint (改名为 FirstData) 和Authnet 支付模块
* 单独分开内置的税栏
* 增加简易页面的独立样式
* 修复默认SQL文件中国家、货币的错误 (删除了旧的国家等)
* 修复/更新/增加了各种通知调用
* 初步兼容MySQL 6-alpha
* 更新 spiders.txt 文件提高效率并更新数据
* 改进configure.php 文件的只读检测 (如果可写且权限允许,将自动设置为只读)
* 多种性能提高,包括释放浪费的内存来提高速度
* 默认打开 PHP错误记录,因为错误不显示到浏览器 (基于安全考虑) (可以在管理页面的商店管理中清空日志)
* 在信用卡号码栏目关闭自动填写功能,防止浏览器记录、恢复信用卡信息
* 通知朋友功能防止垃圾信息
* 管理登录页面的保护 – 增加了延时防止暴力破解密码

补丁

v1.3.9 包含了自从v1.3.8后的很多补丁,包括:

* 1.3.8/1.3.8a 的所有发布的补丁
* v1.3.8/1.3.8a 及更早版本的所有安全补丁
* BUGSFORUM-168 Added stronger detection of suhosin usage: now disables certain features which are incompatible with suhosin, instead of throwing errors in places like whos_online
* “Catchable fatal error” fixes
* Tax calculation fixes in various places
* Fix division-by-zero errors in ot_coupon.php and ot_group_pricing.php
* Various fixes to Gift Certificate, Coupon, Group Discount, etc order-total modules
* Customer DOB was getting erased if admin edited customer data and min DOB length was set to 0
* Error when deleting ALL attributes
* Tell-A-Friend was sending wrong URL if product used alternate product-type
* Add safety to payment modules to prevent attempt to re-install once already installed, since that has always thrown ugly (although harmless) SQL errors on the screen
* Category metatags could not be removed once added
* Unknown column “o.orders_id in ‘on clause’ when using admin order search
* Back button navigation tweaks
* TEXTAREA attributes with character limit could delete typed text when limit reached
* queryFactoryResult errors addressed
* Can no longer delete categoryID=0 … which could happen in limited cases, thus deleting all products and categories unexpectedly.
* Spiders could occasionally trigger PHP server errors if they attempted to add-to-cart
* Spiders list updated and pruned
* Session handling improvements including wiser parsing of tld
* Fixes to email handling
* IE8 fix to admin UI
* Fix for credit-covers issues when using loworder-fee type modules
* Fix some secure/nonsecure warning triggers
* Fix Discount Coupons to allow for:
- Add All Products in 1 Cat
- Remove All Products in 1 Cat
- NOTE: you specify DENY or ALLOW and that is how you ADD or REMOVE
- Allow Links to Products or Categories in ordered list plus popup help
* Various multiple-language bugs
* Added ability to define DB_CHARSET to automatically trigger a mysql SET NAMES statement if needed for things like UTF8 support, preventing the need to edit the db class
* various banner-manager date fixes
* various fixes to media-collection components such as media-manager, sort-orders of clips, etc
* Fix GV balance display on side panel when customer has a balance but no order and was displaying as $0.00
bug in admin reviews pagination
* Prevent display of HOME_PAGE_META_KEYWORDS etc if people mistakenly skip that part of their upgrade. Defaults to normal content as if define was set to blank.
* Various admin page fixes to javascript validation code
* fix bug which prevented admin from getting copies of “all” coupon emails sent out (was only getting a copy of the last email sent)
* eliminate secure warnings when Customer is not logged in and adds to cart then hits checkout and merge carts happen and return to shopping_cart and hit submits to update cart etc.
* Shipping Estimator is displayed open on shopping_cart vs being a button
* fix incorrect display of tax rate when deleting tax rates
* Fix category look up to use master_categories_id
* Fixes SaleMaker Priced by Attribute
* Fixes Admin Display of Product Category from displaying “something” on Linked Products
* Fix categories name lookup based on product master_categories_id vs random categories_id from products_to_categories
* Fix navigation on add/cancel featured/specials from products_price_manager and back
* Fix breadcrumbs not to include products_name when on listing and Display Cart is off and does not break Reviews
* Fix salemaker bug on Entire Catalog not being selected on edit when set
* fix broken reviews where reviews are stuck on same product and work like specials and new products
* fix for dropped connections on timeouts due to slow external methods
* Fix function free_shipping_weights value on Product weight and Attribute weight in shopping cart
* Added noindex,nofollow to admin pages to aid in reducing admin indexing if logins are bypassed somehow
* force use of SSLv3 in authorize.net modules (system requirement by authnet)
* fix to prevent countries from being deleted if currently assigned to address_book records
* zones shipping module: Auto build additional Zones when $this->num_zones is changed and already installed
* Add SSL-detection support for Zeus SSL Accelerator/Load-balancer by detecting HTTP_SSLSESSIONID
* fix small logic bug in sqlpatch tool
* Admin specials: Prevent GIFT from being put on Special in Manual entry just like in regular entry
* fix: Storage of email_html in email_archive table problematic
* incorporate forum-suggested change to accommodate upper-case characters in phpbb usernames
* Fix bug on duplicate Discount Coupon success message
* regex fixes on cc validation class for better detection of card types
* fix order-status pulldown on admin orders page for consistency
* switch the whois lookup in whos_online to domaintools site instead of dnsstuff
* PayPal Express Checkout now uses default email-format when creating an account
* add additional port support for gmail
* search page was showing slashes in some cases if search result came up with no records found
* added warning to admin to indicate if /admin/ folder hasn’t been renamed
* fix address-format inconsistency bug (if multiple address-book entries are shown and include different formats, page was only observing the format of the *last* item in the list, not honoring each individual address’s proper format code)
* BUGSFORUM-798 – fix store-manager bug which croaks when using Optimize DB if database name has hyphens in it
* fix credit covers problems in coupon
* fix rounding error and ensure $cost is a number not a string
* fix zone restriction problems in some shipping modules
* BUGSFORUM-801 – fix newsletter signup box bug where checkbox is auto-selected and user deselects it
* BUGSFORUM-809 – language typo
* BUGSFORUM-442 – quick fix for strict data-typing in 1.3.9 for product update pages in admin. (v2.0 will use proper bindvars approach)
* add robots_example.txt to help minimize some confusion on the matter
* Set up 301-Redirect if a spider attempts to visit a URL that contains a ZENID, in effect removing the zenid from the spider’s database
* BUGSFORUM-546: 111219: Paypal IPN orders not recorded if order-total addons are missing language files
* BUGSFORUM-632: 117422: PayPal Shipping Labels Not Sync’ing
* Workaround to accommodate BUGSFORUM-281: 90799: function replace_accents(), Japanese, PayPal
* Partial fix to various PayPal bugs where IPNs weren’t allowing proper creation of orders due to MySQL Strict Data typing issues.
* add stock check before Express Checkout commences, preventing checkouts if stock-checks would normally prohibit
* PayPal updates – safer handling for PaymentReview transactions
* PayPal – can now enable address-override switch if store model requires it
* PayPal website payments pro now asks merchant to choose which country their PayPal account is located in, since this more accurately drives how the module should be communicating
* PayPal – fix bug causing wrong order-status to be set on refunds, resulting in them disappearing from orders list
* Add paypal language defines for auto-added descriptions in line-item calcs
* Rudimentary PayPal FMF support to prevent throwing of errors
* authorize.net modules: fix missing $messageStack references
* Skip sending first 4 digits of CC number in order-confirmation email (security requirement)
* Fix missing Refund option for Express Checkout
* Add notifier to shipping/payment classes, to allow contribs to hook in and disable
* Add additional notifiers to order class
* Fix broken notifier functionality in PayPal IPN
* change ereg* functions to equivalent preg functions for PHP 5.3 and PHP 6 compatibility
* Fix wrong order of info on order-status-update emails
* Fix text to use correct text for each review when set to greater than 1
* Fix image or missing image on reviews edits and previews
* Fix bug to Prevent Password Forgotten from being sent as blank when set to 0 length
* Fix mismatched functions on building path to wrong category when Linked Products exist
* Disable the storing of auth_code details as part of customer comments and customer order-confirmation emails, for fraud-prevention reasons
* Options Values Manager – Bring sort order input field into vertical alignment with header and other column contents
* referrals report – Fix broken dates and times months don’t have 32 days and days are 24 hours
* BUGSFORUM-820 – error in tax_basis determination for ot_shipping
* UPS/USPS – Fix minimum weights when 0 to be 1 ounce (.0625 pounds)
* USPS – Add missing Priority Mail International Regular/Medium Flat-Rate Boxes/Priority Mail International Small Flat-Rate Box
* USPS – Fixing codes to make USPS happy with changes to ISO and expected country names
* USPS/UPS – quick cheap hack to pass expected codes back and forth between _getQuote() and quote().
* Fix missing backslashes in usps which was breaking intl quotes
* Fix bug where Discount Quanties get copied on Copy Product to Duplicate when marked not to be copied
* Order class – pass on the ID values from cart to order for easier parsing during order processing
* ot_coupon – fix restrictions – Base zone restrictions on Delivery for Free Shipping or Billing for Amount or Percentage
* Bugfix – prevent duplicate messageStack entries
* Some template updates, added bindvars to guard against sql injection
* Fix for cart class breaking on update where there is an upload and a checkbox involved
* Backport support for embedded image attachments in emails which was supposed to be in 1.3.8 and got missed somehow
* Email html checkout template was inserting store name in duplicate
* Fix race condition when updating counter history
* Add ability to set certain countries to show at top of pulldown list, defaulting to store’s default country
* Fix Discount Quantities to recognize the Discount Type: NONE to properly disable Discount Quantities and not break calculations
* Trap errors that occur when users fail to properly upload lang file with modules
* Fix Per Unit to not require change to Maximum 5000
* Fix wording on % amount of Order Total on Zones and Table Rate – can mix/match dollar/percentage
* Fix Handling Fee per Box/Order mismatch and add a choice for
* Weight oriented shipping methods
* Packing slip and invoices – Fix format_id for billing address
* IPN updates to identify EC transactions more easily, as long as core code doesn’t get changed by end-users
* Fix for lack of proper static properties in php4, also fixes problems with notifiers in ad hoc instantiated classes, ie order class
* Fix missing restrictions limit on coupons
* Show tax desc in tax-rates window to more easily spot empty descriptions which can be confusing
* Prevent admin-side edits from mangling & into & when editing ez-pages
* Fix missing manufacturers filter for displaying Manufacturers with Products to match sidebox setting from Maximum Values
* Fix image to load on all attributes on multiple select of Option Values
* option values manager – Fix for multiple languages showing multiple records for same value when multiple languages
* Remove redundant code in index_filters, improving performance
* Fix ceil error where amounts are less than 0, such as ceil(.6/.2)
* ot_coupon Fix for Minimum Amount to be based on Product totals based on the Restrictions not the full Total Order
* BUGSFORUM-980 – If customer changes spelling of CITY on PayPal end, the change wasn’t reflected in the customer’s/order’s address details.
* zc_install no longer checks CURL over proxy if regular CURL test fails
* BUGSFORUM-982 – Fix minor bug where messageStack alert not being shown, due to syntax error, with payment/shipping modules missing language files.
* Fix bold cheapest bug in shipping estimator to match checkout_shipping
* Fix problems caused by using double-quotes in attribute option names/values
* Add additional notifiers for tare/shipping/quote/cheapest to shipping control class
* Fix bug with virtual-content-cart sending customers back thru checkout-payment and confirmation screens a second time after returning from paypal express checkout
* BUGSFORUM-1008 – fix issue with newsletters not sending properly due to queryFactoryObject error caused by typo
* BUGSFORUM-1005 – fix typo in shipping estimator parameter, which was causing duplicate “name” attributes on input field, thus causing validation error
* BUGSFORUM-1014 – fix bad ID problem in shipping methods selector in checkout_shipping template
* Add note to USPS debug emails to tell the recipient how to turn them off, since so many are confused by it.
* Updates to linkpoint-api (firstdata) payment module
* Fixed order-of-operations problem with cached data
* BUGSFORUM-1022 – fix problem with PCI false-positive when invalid $_GET['sort'] parameter is injected on URL (PCI patch posted in Nov)
* BUGSFORUM-1034 – Remove security vulnerability from the CURLTEST.PHP script, and removed other dev-use-only files
* CURLTEST.PHP renamed
* BUGSFORUM-514 – Storage of email_html in email_archive table problematic
* Reduce a loop of lookup queries on top-level cat display in admin
* Fix potential XSS vulnerabilities in various admin files
* BUGSFORUM-1041 – fix broken forms which prevented search from working properly in products-purchased admin report
* BUGSFORUM-1036 – prevent ability for ‘free_free’ to be set by POST contamination on the shipping page
* BUGSFORUM-1027 – state selection incorrect in address book edits when pulldown enabled
* Stop storing CC EXPDATE in orders table for gateway modules, for PA-DSS reasons
* BUGSFORUM-1044 – JPY currency adjustments in EC module
* BUGSFORUM-610 – Incorrect decimal value ‘f’ when free-shipping selected
* Fix ot_coupon bug on minimum values where comparison is a string and not a value
* Fix broken search in admin product screens where Search is broken as soon as editing is done and search is lost
* Fix admin Add New Product when Search is set, cannot add a new product as no known category is set to assign to new product
* Fix installer to properly ignore commented lines in configure.php files when reading prior settings as part of an upgrade
* Fix admin categories navigation glitches
* Installer update: no longer raises warning-flag if “cgi” version of PHP is in use.
* Admin comments in order status history which are set to -1 will not be shown to customers
* Fix group pricing/discount coupon bug
* BUGSFORUM-1082 – linkpoint_api payment module fixed array vs string error
* Fix bad SQL joins in music_genre filter and record_company filter code
* Fix alpha sort functionality with music_genre and record_company filters
* BUGSFORUM-191 Fix bug preventing address-book-process from properly updating the State field when no zones exist for selected country, caused by not properly validating the $_POST input which is blank when page is first drawn.
* Fix problem of order-confirmation submit button allowing multiple submits/clicks, resulting in duplicate orders
* Fix broken rounding problem when calculating number of boxes for shipping quotes
* Fix banners not activating based on date NULL needed to be ‘NULL’
* Fix banners dates for midnight or they do not expire or start on right day
* Fix admin customers report: Report was combining people with same name, changed to customers_id
* Music products – Fix wrong categories_id for copy and fix methods update fields to match formats in product_general
* BUGSFORUM-288 – trim spaces from contact-us email address to prevent being rejected
* BUGSFORUM-904 – Admin product preview screen – Added check to make sure key POST fields actually contain data. If not, do error trapping, instead of saving blanks.
* BUGSFORUM-1156 – fix priced-by-attrib problem with negative values
* “last login” date for customers logging in with new accounts is now set correctly
* Changed default permissions set on uploaded files to 644 from 777
* Fix wrong header response on some pages during down-for-maintenance
* Fix double mention of GV amount in emails
* BUGSFORUM-603 – Salemaker expiry performance problems for sales starting and ending on same day
* admin metatags picks up defines from custom template if set

学习

2010年04月4日 1:51 下午  |  分类:外贸专题

什么转移服务器,利用空间商赠送的域名建站,拷贝网站啊等等。

初学时对这些东西非常模糊,请教别人都爱理不理的大半天才跟你说个理论。其实也没大不了的,真没那么难,只要放大胆子,什么都学会了。

今天随便把一个网站转另一服务器,居然还成功了,所有链接保持不变,所有客户资料、order、meta等设置也仍然存在,哈哈,所以,什么都是可以学到手的,人,不要太依靠别人,求人不如求己

zen cart后台订单显示图片

2010年02月26日 2:10 下午  |  分类:Zen Cart专题

zen cart默认的后台订单页面只有数据,具体订单的图片,还要去前台看是哪款,现在,可以在订单处显示该order所对应的图片了,效果图图下:

 实现该功能只要更改两个order.php文件,路径分别是:

admin/orders.php

admin/includes/order.php

具体更改方法是:

1、FTP打开admin/orders.php文件,找到这段代码:

for ($i=0, $n=sizeof($order->products); $i<$n; $i++) {
echo ‘ <tr>’ . “\n” .
‘ <td valign=”top” align=”right”>’ .

在后面添加: 

‘<img src=../images/’ . $order->products[$i]['image'] . ‘ align=top width=”99″ height=”100″ >’ .

注:<img src=” width=” height=”>是html的img用法,上述代码中的99和100定义该图片的大小,没有对此定义的话将在此处生成图片的实际像素,一般都太大了,会把后台订单撑得不太好看。

2、打开admin/includes/classes/order.php文件,查找:

$orders_products = $db->Execute(“select orders_products_id, products_name, products_model,
products_price, products_tax, products_quantity,
final_price, onetime_charges,
product_is_free
from ” . TABLE_ORDERS_PRODUCTS . ”
where orders_id = ‘” . (int)$order_id . “‘”);

替换为:

$orders_products = $db->Execute(“select o.orders_products_id, o.products_id, o.products_name, o.products_model,
o.products_price, o.products_tax, o.products_quantity,
o.final_price, o.onetime_charges,
o.product_is_free, p.products_id, p.products_image
from ” . TABLE_ORDERS_PRODUCTS . ” o, ” . TABLE_PRODUCTS . ” p
where o.orders_id = ‘” . (int)$order_id . “‘ and o.products_id = p.products_id”);

查找:
name’ => $orders_products->fields['products_name'],

在后面添加:

‘image’ => $orders_products->fields['products_image'],

3、完成。

现在,不用这么繁琐地更改,疯狂王子将该两文件改好了并共享上来。

zen cart后台订单显示图片下载地址:点击下载

使用方法:下载压缩包后直接解压,将admin文件夹上传到FTP根目录即可。

注:上传文件前,请先备份以下文件:

admin/orders.php

admin/includes/order.php

注:该功能与后台显示ips交易号有冲突,二者功能只能实现其一。

zen cart安全建店的步骤(慎用)

2010年02月26日 12:33 下午  |  分类:Zen Cart专题

1. 删除以下几个目录和文件

安装完成后,请从服务器上删除以下目录和文件:
- /docs
- /extras (重要)
- /zc_install
- /install.txt (这是文件)

另外,如果你的网店不是卖可下载类的产品,请同时删除以下文件和目录:
- /download
- /media
- /pub

不要只是改名目录,万一别人知道了目录名,就不安全。

如果删除了 download 目录,商店设置-属性设置-允许下载,设置为:false

2. 设置configure.php文件为只读

将两个configure.php文件用CHMOD(设置权限)命令改为只读很重要。

通常就是设置为”644″,有时是”444″。

如果无法通过FTP程序修改,可以用主机商提供的文件管理工具来修改。

如果您用的是Windows服务器,只要将文件设置为”所有人” “只读”,如果是在IIS下,是IUSR_xxxxx 用户,或者”System”帐号,在Apache下,是”apache user”帐号。

3. 改名”/admin”目录

修改”admin”目录名,用一个很难猜测到的名字。这时,后台登陆地址即改变为/(你设置的admin目录名)/login.php
(在进行下面的修改前,请备份文件和数据库。)

A- 用文本编辑器,例如记事本,打开文件admin/includes/configure.php。

将所有出现/admin/的地方改成自己的管理目录名。

需要修改的部分:
define(‘DIR_WS_ADMIN’, ‘/admin/’);
define(‘DIR_WS_CATALOG’, ‘/’);
define(‘DIR_WS_HTTPS_ADMIN’, ‘/admin/’);
define(‘DIR_WS_HTTPS_CATALOG’, ‘/’);

需要修改的部分:
define(‘DIR_FS_ADMIN’, ‘/home/mystore.com/www/public/admin/’);
define(‘DIR_FS_CATALOG’, ‘/home/mystore.com/www/public/’);

B- 找到Zen Cart的/admin/目录,

将该目录名按照admin/includes/configure.php中的定义作相应修改。

4. 删除不用的管理员帐号

管理页面->工具->管理设置

在管理页面下,打开工具菜单,选择管理设置
- 检查所有没有使用的管理员帐号并删除。特别注意是否有”Demo”帐号。

5. 强化管理员密码

一定要使用一定强度、不易猜测的密码。

要修改管理员密码,进入管理页面->工具->管理设置,点击”重置密码”按钮,或点击那个想回收箱的图标。

建议使用至少8位密码。
密码最好包含字母、数字、符合、以及大小写等。

6. 保护”自定义页面” “html_includes”中的内容

定义好您的自定义页面后,(管理页面->工具->页面编辑), 您要保护这些文件:

A. 用FTP软件下载备份,这些文件位于
/includes/languages/schinese/html_includes目录。

B. 修改文件 CHMOD 644 或 444 (或 Windows下为“只读”)。见上面的CHMOD说明
/includes/languages/schinese/html_includes

新建zen cart站需要更改两小地方

2010年02月26日 10:45 上午  |  分类:Zen Cart专题,随写

今天无意中看了一个站的源代码,发现在header部分还有两处是默认的zen cart字样,显然应该改掉的,如下:

<meta name=”author” content=”The Zen Cart&trade; Team and others” />
<meta name=”generator” content=”shopping cart program by Zen Cart&trade;, http://www.zen-cart.com eCommerce” />
还有一个地方是
<div id=”logo”><a href=”http://www.crazyprince.com/”><img src=”includes/templates/Your_Template/images/logo.gif” alt=”Designed by Zen-Cart-Power.com – Power Your Zen Cart!” title=” Designed by Zen-Cart-Power.com – Power Your Zen Cart! ” width=”131″ height=”42″ /></a></div>
需要更改如下文件:
/includes/templates/Your_Template/common/html_header.php
/includes/languages/english/Your_Template/header.php
这两个地方是很经常、也是最容易被忽略掉的。

如何拷贝zen cart网站

2010年02月6日 6:03 下午  |  分类:Zen Cart专题

如何拷贝(复制)网站,在网络上搜索一下,全部是关于拷贝/复制网站模板,这不是我想要的,我要找的是如何拷贝/复制整个网站,因为搜索不到,如今我会了,在此分享下:

假如我们有了个A网站,是做好的,现在要再建个B网站,拷贝A网站,那我们先要把B网站建起来,建到网站初始形状已经出来,下面就开始了。

在服务器上,直接把A网站的所有文件复制到B网站的相应目录下,下载A的数据库zip压缩包,上传到B网站的数据库管理中,打开前台看下。

有时因为程序或其它问题,在B网站前台会出现些问题,需要一一解决。

网站外链的主要来源

2009年10月19日 10:24 上午  |  分类:SEO

网站外链的主要来源,占第一位的是友情链接。占第二位的是论坛签名和博客回复,占第三位的是自建博客站群和网站群。排在后面的还有目录提交,群发,购买链接等等。

虽然网站友情链接依然是外链的第一选择,但一些以前很少使用的站群,现在也越来越多的被使用了。而无论是人肉还是群发,这都是以量取胜。虽然还会有一些高高手存在,但使用站群来做外链,成了一般SEO的选择,我觉得这可能是技术方面的问题,有些更深的内容还没有掌握,只能选择靠量来取胜。而站群是一个积累的过程。

第二是未来SEO的方向。站群相对的技术性差点。只需要大量的时间维护就可以了。这样的结果是未来的SEO比拼的就是手中的资源。技术都是一遍遍的重复使用,或者更核心的技术只在少数人手里,那么站群将是一个很强大的武器,因为只有资源不是一步可以赶上的。

第三点是博客回复和论坛签名用来做外链。很多人都说,论坛签名和博客回复的权重越来越低,因为现在很多独立博客在回复上,都对链接加了属性,让搜索引擎无法看到你的网址,这自然是没有什么用处了。而论坛签名在操作上简单的多,这也是大多数人的选择。但一些高权重的论坛对签名和链接限制很大,比如对签名字符数的限制等,而一些权重低的论坛效果又不明显。 相信在不远的将来,通过签名和博客回复来做外链会成为补充,而不再是主力。

第四点是付费进行链接建设。当然,无论是站群还是回复。都是占用了我们的时间,时间也是金钱。但这儿说的是付费购买链接的方式。无论是国外还是国内的A5论坛,链接购买的市场都很活跃。这说明:购买链接的做法对SEO还是非常有帮助的。有质量的外链可能比大量的垃圾外链更有效果。

总结来说,未来的SEO就是资源的比拼。而技术性差异会越来越小。对于一个新手来说,想通过学习所谓的SEO技巧与高手们竞争,会死得很惨。只好在蓝海中寻找蓝海吧。这是我的一点看法当然,SEO只能是工具,网站内容和思想才是根本。友好度是关键。

想加入Google AdSense

2009年10月16日 9:40 上午  |  分类:Google专题

突然想在自己的博客上加个Google AdSense,于是申请了下,晚上就收到信:

您好!

感谢您关注 Google AdSense。很抱歉,在审查您的申请后,我们目前无法接受您加入 Google AdSense。

我们未批准您申请的原因如下。

问题:

- 网页类型

———————

更多详情:

要加入 Google AdSense ,发布商的网站和申请信息需要满足以下要求:

* 您自己拥有独立域名的网站
* 确保您的网站已经注册6个月以上时间;
* 您的网站和内容满足 Google 网站管理员指南: http://www.google.com/support/webmasters/bin/answer.py?answer=35769
和Google AdSense计划政策: http://www.google.com/adsense/support/bin/answer.py?answer=48182
* 申请时提交了详细真实的个人信息,并确保您的Google AdSense申请信息和网站注册信息一致;

在您的网站满足以上条件后,我们非常欢迎您重新提交申请,我们将第一时间为您再次核实您的申请。为了提高申请的成功率,我们善意的提醒您,请务必在解决上面列出的所有问题后再重新提交。

晕,再等喽……

Pages: 1 2 3 Next