0
我在我的WordPress博客上的檢查控制檯中收到一系列錯誤。我很困惑,因爲這可能導致了這一點。當我檢查CPanel時,所有圖像都在正確的位置。將數據庫遷移到新主機時出現問題。顯然我搞砸了一些,但我不確定。你認爲會出現什麼問題?WordPress圖片和CSS未加載 - 無法加載資源:服務器的狀態爲404
Failed to load resource: the server responded with a status of 404 (Not Found)
jquery-migrate.min.js?ver=1.4.1:2 JQMIGRATE: Migrate is installed, version 1.4.1
logo-black-orange-green-croatia.png Failed to load resource: the server responded with a status of 404 (Not Found)
(index):1 [DOM] Found 2 elements with non-unique id #security: (More info: https://goo(dot)gl/9p2vKq) <input type="hidden" id="security" name="security" value="0d35b82291"> <input type="hidden" id="security" name="security" value="0d35b82291">
tired-480x334.jpg Failed to load resource: the server responded with a status of 404 (Not Found)
heuristic-interface-480x320.jpg Failed to load resource: the server responded with a status of 404 (Not Found)
opt-out-man-480x319.jpg Failed to load resource: the server responded with a status of 404 (Not Found)
bad-did-selo-480x320.jpg Failed to load resource: the server responded with a status of 404 (Not Found)
cognitive-dissonance-480x312.jpg Failed to load resource: the server responded with a status of 404 (Not Found)
sail-boats-480x320.jpg Failed to load resource: the server responded with a status of 404 (Not Found)
logo-black-orange-green-croatia.png Failed to load resource: the server responded with a status of 404 (Not Found)
church-graveyard-480x360.jpg Failed to load resource: the server responded with a status of 404 (Not Found)
tao-other-480x320.jpg Failed to load resource: the server responded with a status of 404 (Not Found)
olives-480x252.jpg Failed to load resource: the server responded with a status of 404 (Not Found)
dynamic.css
下面是失敗的圖像中的一個鏈接:http://selonomics.com/wp-content/uploads/2017/11/heuristic-interface-480x320.jpg
這個鏈接連到404,但是當我遵循的cPanel的路徑,圖像肯定是存在的,我可以查看和下載。
您的網站的網址更新爲新的網址? –
看起來像htaccess問題 –
我得到503服務暫時不可用。您是否在遷移時切換IP,並且仍然使用緩存的DNS響應?查看您的瀏覽器是否使用dnswatch.info或類似工具爲您的主機報告的相同IP。 – janh