admin管理员组文章数量:1334668
What am I trying to do exactly ?
Move my WP website available at example to example/subdir but I don't want to make it available on example
Why would I want to do such a thing ?
I want an "under construction" webpage on "example", but people (that I've chosen before) with the link of /subdir could access to it. In that way, visitors can still see a website and my client could as well see where am I in the process of website making.
What have I been trying ?
I've read all stackoverflow's post talking about something like that but nothing helped me so far.
I've done everything following tutorials available online ;
- Found & replaced example to example/subdir using WP Migrate DB plugin
- Using FTP, made a "subdir" folder & moved everything in it
- Added two lines containing siteurl & wpurl into
wp-config.php
- Checked the "permalink" setting
Even without trying to make a maintenance webpage, like the tutorials do, by copying/pasting.htaccess
&index.php
into/subdir/../
, the trick won't work as well
Thanks in advance.
What am I trying to do exactly ?
Move my WP website available at example to example/subdir but I don't want to make it available on example
Why would I want to do such a thing ?
I want an "under construction" webpage on "example", but people (that I've chosen before) with the link of /subdir could access to it. In that way, visitors can still see a website and my client could as well see where am I in the process of website making.
What have I been trying ?
I've read all stackoverflow's post talking about something like that but nothing helped me so far.
I've done everything following tutorials available online ;
- Found & replaced example to example/subdir using WP Migrate DB plugin
- Using FTP, made a "subdir" folder & moved everything in it
- Added two lines containing siteurl & wpurl into
wp-config.php
- Checked the "permalink" setting
Even without trying to make a maintenance webpage, like the tutorials do, by copying/pasting.htaccess
&index.php
into/subdir/../
, the trick won't work as well
Thanks in advance.
1 Answer
Reset to default 0If anyone is struggling to do such a thing, here's a simple way ;
Using the WP Dashboard, make a new page "subdir" and set is as whatever you want (for me it was a blank-page for my "under construction" page".
Then go to your theme settings and set this freshly made webpage as the main webpage & you'll be done.
At first I thought I had to do migrating work but I didn't have to do such a thing, it was a bit too much overthinking :)
本文标签: optionsMove website from root to sub
版权声明:本文标题:options - Move website from root to sub 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742374529a2462892.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论