Site moved!!
I’ve move the wordpress website to a new subfolder. This to create a simple start page for personal use with links to socialnetworks and photo sites.
The new url is now http://www.delodder.be/blog.
Please all that read this website please change the url. For the time now an redirect is active.
The move to the subfolder was quite easy. Change the “WordPress address” and the ” Blog address”. To the new location this options can be found in General Settings.
When I check the moved wordpress website, the images could not be found so. The next thing was to update the post_contents for the image locations. A simple query did the trick:
update `wp_posts` set `post_content` = replace(`post_content`, 'oldurl/wp-content', 'newurl/wp-content') where `post_content` like '%http://www.delodder.be/wp-content%';
The last thing was adding a redirect .htaccess file to the previous directory. Here is my redirect rule:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.delodder\.be [nc]
RewriteRule (.*) http://www.delodder.be/blog/$1 [R=301,L]
All these things worked for me but don’t blame me if your site breaks down.