Hey guys, went thru it. But have trouble, seems links are broken~
1. Go admin > Options > General and change the two URIs to the new(future) address = the root.
Original:
WordPress address (URI): https://www.japannewbie.com/blog
Blog address (URI): https://www.japannewbie.com/blog
New:
https://www.japannewbie.com/
https://www.japannewbie.com/
UPDATE
!!!
Not Found
The requested URL /wp-login.php was not found on this server.
2. Do NOT try to see/open your blog in a browser!!!
YES SIR
3. Move the files from the directory to the root.
cp -rf blog/* .
OK.
4. Now you can open your blog in a browser ??
https://www.japannewbie.com — OK.
Admin Panel also OK.
5. Edit .htaccess
RewriteEngine On
RewriteRule ^blog/(.+)?$ https://www.japannewbie.com/$1 [QSA,L]
New .htaccess has following contents.
DirectoryIndex index.html index.shtml index.htm home.html welcome.html index
.php
Deny From 80.36.223.107 80.58.39.174
RewriteEngine On
RewriteRule ^blog/(.+)?$ https://www.japannewbie.com/$1 [QSA,L]
Conclusion.
https://www.japannewbie.com loads my blog OK.
Admin Panel works OK.
However when I click on links in my blog… Like permalinks to posts…
The requested URL /2006/01/06/hizamakura-china-version/ was not found on this server.
Or the PAGES links in the tabs…
Not Found
The requested URL /older-docs/ was not found on this server.
I get links not found etc.
Any ideas on this? I guess I’m close… it seems that the htaccess bit isn’t kicking in?