I don’t wanna move my files from the /blog directory, I just want mydomain.net to redirect the visitors to mydomain.net/blog
well, I went to Wordpress’ General Options page and did this but it didn’t work
[wordpress address (URL): http://www.mydomain.net/blog
Blog address (URL): http://www.mydomain.net/
Enter the address here if you want your blog homepage to be different from the directory you installed WordPress.]
and since I’m on GoDaddy, my current mydomain.net page looks like this http://img256.imageshack.us/img256/1107/godaddykb1.png
Please help me and thanks in advance =(
1. Enter the following code and save the file as index.php.
<?php
header( ‘Location: http://www.mydomain.net/blog’ ) ;
?>
2. Upload this index.php to http://www.mydomain.net/
Thats it!
If you want to move your blog to http://www.mydomain.net/ instead, follow these instructions…
First upload Wordpress to http://www.mydomain.net – Its preferable to upload the same thing as http://www.mydomain.net/blog/
At this point http://www.domain.net should have all the directories and files that are in http://www.mydomain.net/blog/
Don’t delete the http://www.mydomain.net/blog/ directory yet.
Now goto,
http://www.mydomain.net/blog/wp-admin/
Navigate to the Options tab. (/blog/wp-admin/options-general.php)
And in there modify the following URLs to,
WordPress address (URL): http://www.mydomain.net
Blog address (URL): http://www.mydomain.net
Now try opening http://www.mydomain.net
If all goes well then you can delete http://www.mydomain.net/blog/
Technorati Tags: Admin Options, blog, Current, Delete, Directory, Goto, Lt, Net Address, Options Tab, Php Header Location, Png, Redirect, Thanks In Advance, Upload, Url, Urls, wordpress, WP