網頁

2011年2月28日 星期一

隱藏連結

<span style="display:block;overflow:hidden; width:0; height:0;"> 想隱藏內容 </span>

2011年2月6日 星期日

如何安裝Ultimate SEO

ULtimate SEO 是一款很好的 URL的程式, 可是安裝很複雜, 老子用了2個多小時才弄好

1. 安裝所有文件到你的ftp 裡面 (記住要先backup 所有檔案)
    文件分為兩個部份, _zen_cart_folder_English 以及v139-specific-files, 由於v139-specific-files 內檔案要  
    覆蓋網頁內原有檔案, 所以請先back up

2. 修改my phpadmin 內database table 名稱
    進入 myphpadmin 尋找 TABLE_SEO_CACHE 修改成 seo_cache
   
    如果沒有修改就發生以下的錯誤語句: 
    1146 Table 'zencart.seo_cache' doesn't exist
    in:
    [DELETE FROM seo_cache WHERE cache_expires <= '2007-09-29 10:06:35']

3. 修改 .htaccess 

#### NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite     Base" line below:

Options +FollowSymLinks
RewriteEngine On
RewriteBase /shop/

修改 RewriteBase /shop/  到你的根目錄 或一般的/public_html