我在主文件夹中有一个网站,网址为:
domain.com/article/one等。
另外我想将Wordpress安装到文件夹中:
的wordpress
但我希望网址不是:
domain.com/wordpress/post /....
可是:
domain.com/post /...
我想处理.htaccess或index.php对Wordpress的所有请求,以便将它们重定向到wordpress文件夹中的正确位置,因此主应用程序将保持不变。
如何确保我的基本应用和wordpress能很好地协同工作?
答案 0 :(得分:0)
更改主网址和网站网址的wp-options表值
what you want like abc.com
and move your content to main directory where you want like public_html/