Phanix

Just writing

Move wordpress to the other subfolder (or alias folder)

主要參考https://support.tigertech.net/move-wordpress#moving-wordpress-to-jmp

假設要從原本 http://www.test.com/ 移到 http://www.test.com/blog/

  1. 如果 /blog/ 是用 alias 的,請記得先在 apache2 寫好 conf
  2. 進到 http://www.test.com/wp-admin 在 Settings->General 內把 WordPress Address (URL) 跟 Site Address (URL) 改成 http://www.test.com/blog/
  3. 如果是直接用 subfolder 的,就把檔案全部搬過去
  4. 進到 http://www.test.com/blog/wp-admin 在 Settings->Permalink 直接按 save settings,Wordpress 會自動產生新的 .htaccess

Original link: Phanix's Blog

Like my work??
Don't forget to support or like, so I know you are with me..

CC BY-NC-ND 2.0

Want to read more ?

Login with one click and join the most diverse creator community.