Merchantprince
Member
Posted 6 years ago #
I had my personal website hosted on GoDaddy when I decided to go with a blog layout instead of my old conventional HTML pages. GD has an auto-install feature I made use of (LINUX server). The new wordpress folder was in my main directory, but did not display as my site's homepage. Not knowing what to do, I simply copied and pasted the entire contents of the wordpress directory into the main directory (after deleting all my old HTML pages) and overwriting the previous .htaccess file. It appeared to work, but all the links in my blog still appear to point to the wordpress/ directory. Have I done something wrong? Should I have left all the files in that directory and just built a single file in the main directory to point to the wordpress/ folder?
You can't have an index.html and an index.php.
If you want WP in the root of your site you must do away with the index.html and have the WP index.php.
Merchantprince
Member
Posted 6 years ago #
I did get rid of all the HTML pages. What I'm unclear on is what gets put in the main directory. Although I moved the contents of the entire wordpress folder into the main directory of my site, I noticed that all my links on the blog still point to the wordpress/ folder. Should I have moved everything like I did, or should I have just a certain file in the main directory which points to the WP folder?
Moving_WordPress would be a good one to look over.
In admin > Options > General there are the two URI values that are stored in the database. Moving the files did NOT change that setting!
Merchantprince
Member
Posted 6 years ago #
HandySolo, thanks for the reply. That's the detailed information I needed.