options - Move website from root to sub

What am I trying to do exactly ?Move my WP website available at example to examplesubdir but I don't want to make

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.
Share Improve this question edited Jun 15, 2020 at 8:21 CommunityBot 1 asked Jun 4, 2020 at 11:11 LulzsecLulzsec 1011 silver badge2 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

If 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 :)

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742374530a4431920.html

相关推荐

  • options - Move website from root to sub

    What am I trying to do exactly ?Move my WP website available at example to examplesubdir but I don't want to make

    6小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信