作者didiper (尾巴有七條)
看板PHP
標題[請益] 修改網頁
時間Wed Feb 22 20:17:03 2017
各位好
老闆要我修改網頁上的地址跟電話
我進入捕夢網後台,並經由FTP下載網頁的index.php檔案
但原本435KB大小的index.php,下載下來變成只有1KB
並且上面寫著
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but
loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
並且資料夾變成了
wp-admin
wp-content
wp-includes
查了一下知道是由.htaccess這個檔案在保護整個網頁資料夾
想請問各位,我該怎麼樣才能解開.htaccess
讓我能修改裡面的東西呢?
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.25.47.243
※ 文章網址: https://webptt.com/m.aspx?n=bbs/PHP/M.1487765826.A.11A.html
1F:→ MangoTW: 先別管 htaccess 了,你發現網頁是用 Wordpress 架的了。 02/22 21:16
2F:→ didiper: 請問我用wordpress就能開啟這個網頁嗎? 02/22 21:31
3F:→ didiper: 以前上課時只學過HTML,以為修改一下index的檔案就行了 02/22 21:32
4F:推 swallowcc: 嗯,如果只學過html,那跟你老闆說這你改不動,請外包 02/22 22:17
5F:→ didiper: 想請問是不是得請之前用wordpress做網站的人的帳號密碼 02/22 22:23
6F:→ didiper: 才能修改網站呢 02/22 22:23
7F:→ swallowcc: 可以找到原負責人員的話, 跟他請教看看怎麼改吧 02/22 22:29
8F:→ Neisseria: 自己公司的網站,應該會有後台吧,進去改一改? 02/22 22:30
9F:→ Neisseria: Wordpress 有控制台可以改網站 02/22 22:31
10F:→ yanli2: 先google wordpress 我們才有辦法討論後面 02/23 08:50
11F:→ pigwolf: 不確定的話就下載整個目錄用查找的方式替換;後續再來學 02/24 09:20
12F:→ LPH66: 都說了是 wordpress 就不要去直接改網頁... 02/28 08:48
13F:推 latte0205: 有可能是在資料庫裡面, 怎麼介面都會改不動的 03/09 09:21