thanks but it didnt work as i dont have htaccess file in my directory. copying and modifying index.php only didnt work. any other way how to do this?
thanks
i did try to create .htaccess file following instruction i found elsewhere, but no matter what i do i am still getting my old site
http://www.greywolfstudio.com
You made copies and moved them and then edited them? Please post the code in the index.php and the htaccess.
ok, so just to clarify. my wordpress installed into blog folder. there is no .htaccess file in this folder. there is index.php that i copied to root and edited.
here is the code
<?php
/**
* Front to the WordPress application. This file doesn’t do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define(‘WP_USE_THEMES’, true);
/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . ‘/blog/wp-blog-header.php’ );
What are the permalinks set to? Under Settings > General what is the Home and URL entries?
permalinks set to default
wordpress address: http://www.greywolfstudio.com/blog
site address: http://www.greywolfstudio.com
any idea? its getting really frustrating not being able to find any more information on this.
You have an Index.html in the root folder? The loading priority would favour the HTML over a Index.php.
yes, i had index.html and i have renamed it, but it would still not work. there is only one file named index in my root folder now and that is index.php but i am still getting my old site
is there anyone who could help with this issue? i have all the website complete now but still cant get it to work properly.
ok so i have been trying to solve this, so as of right now by getting rid of index.html again, the old site does not load anymore but neither does new one. instead i get error 404.
i got it finally resolved. the problem was home.html file in my root folder. after i moved it out everything works fine even with index.html in root.