[FT搬家回iFastnet tcscope.com:2082, 20210905]
ft.fju.edu.tw/go2CoFT 後台:FTSupervisor FT3qveruM7tkP
byethost tcscope.com:2082 | tcscopec | t$p89989t$p899891.SQL DB: tcscopec_ft2021 ; DB USER: tcscopec_tkp (g$$8$$)
2.FTP使用者名稱: ft@ft.fju.edu.tw , fjuft9668 ; FTP 伺服器: ftp.tcscope.com FTP & 明確宣告 FTPS 連接埠: 21
3.匯入SQL DB (不勾~當偵測到執行時間已接近 PHP 執行時間的限制,允許中斷匯入的動作)。
4.編輯 wp-config.php 先找到與修改(1) /** The name of the database for WordPress */define( 'DB_NAME', 'talentca_opi' ); 改為tcscopec_coft2021(2)/** MySQL database username */define( 'DB_USER', 'talentca_ZGQ0O' ); 改為tcscopec_coft(3)/** MySQL database password */define( 'DB_PASSWORD', 'GooGoo89989' ); 改COFtIsGreAt99(4)/** MySQL hostname */define( 'DB_HOST', 'localhost' );
5. 轉換DNS設定
NAME SERVER: ns1.byethost36.org / ns2.byethost36.org
A紀錄: 185.2.168.13
向輔大資中心申請: 織品服裝學院網站,使用校外虛擬主機,虛擬主機IP: 31.22.4.201 ; 新增A紀錄兩組, www與空白,為31.22.4.201
https://www.nslookup.io/dns-records/ft.fju.edu.tw 31.22.4.201
6.更新 Let's Encrypt SSL, (www.coft.tcscope.com www.ft.fju.edu.tw coft.tcscope.com)先Remove ,下方再根據清單 +issue。 www.ft.tcscope.com, ft.tcscope.com, www.ft.fju.edu.tw 7. wp-content/uploads/ 部分圖片顯示不出來 全部FTP重傳 覆蓋 會出現。
Byethost Premium HostServer
IP: 31.22.4.201 Nameserver 1: ns1.byethost36.org Nameserver 2: ns2.byethost36.org
FTP Hostname: sv36.byethost36.org Server IP: 209.190.61.44 ? 35.213.166.199?
[20210928]
1.主機.trash清空。如此解決了Malware的問題。
2.安裝 Wordpress 5.8.1(與搬家時的本版相同),前綴Vst,先安裝好原來有的外掛(先記下原安裝外掛的版本)!!
刪除新安裝SQL,再匯入備份SQL。 執行Scan掃毒。
3.uploads 部分資料夾不匯入。
## 邏輯:搬家不直接把所有檔案放回去,採安裝全新WP主程式(需同版本),然後安裝原使用外掛(先確認原網站外掛更新了),
再匯入備份的SQL(phpMyAdmin),如此頁面與文章都回復,再把圖像素材上傳至upload與其他資料夾(例如FIFU使用的素材資料夾)。
使用備份的SQL即可,WP內建的匯出文章、頁面,似乎使用不到。 討論:若採此法,特色圖片應該不一定要使用FIFU。
::::::::::::::Siteground::::::::::::::::::
2018/09/20 https://ua.siteground.com/ teshin@msn.com siteGtccom
ft.fju.edu.tw/go2CoFT後台:FTSupervisor FT3qveruM7tkP
Subdomain or FTP user: ft@talentcaptial.com 資料夾:/home/talentca/public_html/ft.fju.edu.tw
新增FTP
FTP主機:sgp40.siteground.asia
使用者: coftoffice@talentcaptial.com
密碼: iA1sbPMwJ60 >>> fj0361403614
資料夾:public_html/ft.fju.edu.tw/coftphotos
FTP主機:sgp40.siteground.asia
FTP使用者:talentca 密碼:sameasCpanelpass (siteGtccom)
MySQL: talentca_coft MySQL Users: talentca_tkp GxxGxx89x89 前綴:Vst
購買plus teshin@msn.com pass: Freesia1324 (F大寫)
Products API KEY: API EMAIL
Freesia Empire Plus 15145 wc_order_59a656b680e81_am_A7Jsoxqcb9dS teshin@msn.com
20191224
4aa830220b98beb496cba4045f3d69a6907c2a5b (更新過的API Key)
Invoice TF-340802019 for order 34080
Order Date: November 26, 2019 Freesia Empire Plus 15元
https://themefreesia.com/support-forum/topic/cannot-activate-api-key-no-api-resources-available/
::::::::::維護日誌:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2020.825 >空間主機移動 ft.fju.edu.tw IP更新為 35.213.166.199 (Siteground)織品服裝學院(www.ft.fju.edu.tw)原兩筆A紀錄www與空白為31.22.4.201(byethost),修正為37.60.254.242 (siteground)
FIFU修正
Please access FIFU Settings, metadata and...
1) enable Clean Metadata (it will be automatically disabled when finished)
2) enable Fake Internal Featured Image.
FIFU主要圖片大小不一的修正
切換到 FIFU的設定 選Metadata 先關Clean Metadata 為OFF 然後Image Metadata 會被關掉再ON
<img src="../coftphotos/FT_logo_02_50x50.png" />
https://www.ft.fju.edu.tw/coftphotos/FT_logo_02_50x50.png
外掛清單:
1. FIFU
2. Elementor
3. WordPress Download Manager <<<
4. Download Attachments
5. 後台保護Protect WP-Admin (只使用保護網址 登入畫面使用AG Custom)
6. Form
7. Social Share WordPress Plugin - AccessPress Social Share
8. Awesome Weather Widget
9. Polylang
10. TinyMCE Advanced
安裝外掛紀錄(舊站參考)
1. Elementor
2. TinyMCE Advanced
3. Download Attachments
4. Enhanced Media Library
5. 後台保護Protect WP-Admin (只使用保護網址 登入畫面使用AG Custom)
6. AG Custom Admin ++ (登入與後台客製美化)
7. Ultimate Form Builder Lite (諮詢表單)
8. Social Share WordPress Plugin - AccessPress Social Share
布景:先安裝免費版Freesia Empire 、再新增外掛 Empire Plus。
自訂:
LOGO:FT_logo_02_50x50.png
更新布景
GTM也需要更新。Freesia Empire可於外觀自動更新。
上傳檔案:
wp-content/themes/freesia-empire/header.php
COFT佈景主題為購買版,更新主題時免修改FOOTER。
GTM-MRN49ZG
請將這段程式碼放在網頁最上方的 <head> 中:
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-MRN49ZG');</script>
<!-- End Google Tag Manager -->
此外,請將這段程式碼複製到 <body> 開頭代碼正後方:
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MRN49ZG"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
首頁slider size: 1920x1080
NES CSS for https
ft.fju.edu.tw domain (without www) does not have an ipv4 A record (ip address).
This is the cause of the SSL not installing.
補一個A紀錄 + 空白不含www !
Name: ft.fju.edu.tw
Address: 37.60.254.242
2905-2799
»Account DNS:
ns1.sgp40.siteground.asia (77.104.168.40)
ns2.sgp40.siteground.asia (77.104.167.240)
»Account IP:
::::::::::自訂:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
FT About Us
https://www.ft.fju.edu.tw/coftimages/CIS/fjutalents_18_500x500.jpg
https://www.ft.fju.edu.tw/coftimages/CIS/icon1.png
https://www.ft.fju.edu.tw/coftimages/CIS/icon2.png
https://www.ft.fju.edu.tw/coftimages/CIS/icon3.png
:::::::::小工具備忘:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
RESOURCE (Footer Column)
<a href="https://www.businessoffashion.com/" target="_blank" rel="noopener"><img class="alignnone" src="https://www.ft.fju.edu.tw/coftimages/CIS/logo_bof.png" alt="" width="118" height="63" /></a>
<a href="https://fashionista.com/" target="_blank" rel="noopener"><img class="" src="https://www.ft.fju.edu.tw/coftimages/CIS/logo_fashionista.jpg" width="188" height="27" /></a>
<a href="https://www.wgsn.com/en/" target="_blank" rel="noopener"><img class="" src="https://www.ft.fju.edu.tw/coftimages/CIS/logo_wgsn.gif" width="188" height="45" /></a>
<a href="http://www.tnet.org.tw/" target="_blank" rel="noopener"><img class="" src="https://www.ft.fju.edu.tw/coftimages/CIS/logo_tnet.png" width="188" /></a>
<a href="http://www.textiles.org.tw/" target="_blank" rel="noopener"><img class="" src="https://www.ft.fju.edu.tw/coftimages/CIS/logo_TTF.png" width="188" /></a>
CSS
/*您可以在此加入您的 CSS。安裝Google Tag Manager
1.先到GTM 開一個院的帳號,新增一個新容器
TAG MANAGER ID: GTM-MRN49ZG 容器1:CoFT_GTM_C1
教學:
http://www.startdo.tw/google-analytics/beginners-guide-to-google-tag-manager/
2. WP 安裝外掛,DuracellTomi's Google Tag Manager for WordPress。
啟用後,設定,選custom,複製代碼,貼到header.php <body>緊接的後面。SAVE!
<body <?php body_class(); ?>>
<?php if ( function_exists( 'gtm4wp_the_gtm_tag' ) ) { gtm4wp_the_gtm_tag(); } ?>
3.回到GTM,加入GA。須先進GA新增新網站的追蹤碼,院的是:UA-44140009-16。
複製代碼後,回到GTM,NEW新增一個Tag(代碼),選通用Google Analytics,追蹤類型~"網頁瀏覽",
啟用複寫設定打勾,則可以直接新增追蹤碼。 SAVE!
再來設定trigger 觸發條件,All pages,SAVE。 記得要~發佈!! 如此可測試GA是否運作!!
教學:http://www.startdo.tw/useful-tools/google-tag-manager-how-to-install-google-analytics-code/
教學:如何再WP安裝GTM
http://www.startdo.tw/google-analytics/how-to-install-google-tag-manager-on-a-wordpress-website/
但是只用GTM外掛或直接貼GTM追蹤碼,GA都無法綠色。結論:
「佈景主題頁首 (header.php)」
1.不用外掛,GA碼緊貼在</head>前面,貼尾部;
2.再貼GTM兩段,一個緊貼<head>開頭之後,一個緊貼<body>之後。 則GA, GTM兩個都呈現綠色。
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
臉書像素 安裝
基底像素
1.啟用企業管理平台
2.新增一個新的帳號 "織品服裝管理員"
3.取得基底像素,貼上CoFT之下的GTM
4."織品服裝管理員" 納入 "TCSCOPE研織有悟" 粉絲團
5.20170727開始收集 All Page受眾 180天。
首頁slider size: 1920x1080
購買plus teshin@msn.com pass: Freesia1324 (F大寫)
Products API KEY: API EMAIL
Freesia Empire Plus 15145 wc_order_59a656b680e81_am_A7Jsoxqcb9dS teshin@msn.com
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
That's because you have some resources on your website that load from http rather than https,
please check your website at https://www.whynopadlock.com to find these resources
主要是首頁的一些模組中圖片,維持紀錄http://的圖片位址,
進入自訂,將對應出問題的圖片來源,改成https://即可,若是來自站外非https網址,改成下載圖檔放到自己的網站。
子網域:coft.tcscope.com
FTP: ftpuser@www.ft.fju.edu.tw 密碼:coftftpuser
MySQL:tcscopec_coft01 資料庫使用者:tcscopec_coft 使用者密碼:coft2017
WP admin: coftadmin pass: cofttxp89989 BACKEND:/coft 修改為coft2018 (20180917 修改)。
FT BLUE
主要顏色
HEX #6897e5
RGB (104,151,229)