Recent Topics

SORTED: Moving blog from sub directory to [root] & to a new host.

Started by on Mar 16, 2019 – Contents updated: Mar 16, 2019

Mar 16, 2019 03:31    

Hi

I am moving a blog to a new host to benefit from php7.2
To do this I am first ftp-ing the old site/files v6.10.4, and when working will update it to 6.10.7

The issue is that currently the blog is in a sub directory /blog/ [unveiled.info/blog/] and I want to move it to [unveiled.info]

Steps taken
1) Export the database.
2) Create new empty database on new host with same db-name, user and password
3) Change [basic_config > baseurl] to remove [blog/]
4) Install 6.10.4 with no demo content.
5) Drop all tables form database (Always seems to be the odd one that doesn't disappear, so ensure they are all gone)
6) Make changes to the saved/old database by putting it through a text editor and replacing [/blog/] with [/]
7) Import edited database

Complete URL of where the problem appears :http://unveiled.info
Name or URL of your webhost :krystal.co.uk
Exact b2evolution version number :6.10.4

Mar 16, 2019 12:25

OK Seems to have worked using the new IP via the hosts file.
The link to the site may still access the old site whilst waiting for the nameservers updates to propagate and then will update b2evo.


Form is loading...

CMS software – This forum is powered by b2evolution CMS, a complete engine for your website.