PDA

View Full Version : a simple query about file moving


hubbard
27th May 2010, 14:34
hi guys,

i want to move my blog from
mysite dot com/blog

to mysite dot com

ie from a subdirectory to the root.
If its quite a big directory, how is the best way to move it, is it trickY? do i use the built in ftp with my hosting company, or what?

sorry for the dumb question...

KM-Tiger
27th May 2010, 14:42
sorry for the dumb question...

Not at all dumb, as there are a number of ways of doing it.

You could move the files on the server, download the files and reupload, or you might be able to change the site configuration such that mysite dot com serves files from the directory that contains the blog.

It will depend on your hosting setup and what facilities you have available. Have you asked your hosts?

crossdaz
27th May 2010, 14:46
hi guys,

i want to move my blog from
mysite dot com/blog

to mysite dot com

ie from a subdirectory to the root.
If its quite a big directory, how is the best way to move it, is it trickY? do i use the built in ftp with my hosting company, or what?

sorry for the dumb question...

P**f easy :

look for index.php

Change require('./wordpress/wp-blog-header.php');
to :
require('./wp-blog-header.php');

*assuming your wordpress is in a folder called wordpress
http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

PS: You'll need to copy index.php to your root - you don't need to move anything else.
Note also that if you already have an index file in the root you will need to remove this in order for your blog to show in the root of the domain :)

Subbynet
27th May 2010, 14:46
You could probably use htaccess too.

sanjiv
27th May 2010, 14:50
In you web host panel, move the files.
Then:
http://codex.wordpress.org/Moving_WordPress

hubbard
29th May 2010, 07:30
thanks guys!