So i found this tutorial, but I can’t find the .htaccess file in the WordPress folder. What gives? Where is it? Please help!
Hello Alexander –
A couple of solutions:
1. Move your WordPress installation from the directory it is now in (/wordpress) to the top level directory for your site.
2. Program in a way to forward the domain to your WordPress index page. There are a couple of ways to do this.
You can contact me at WebFadds.com if you need to.
Best…
– Scott
[signature moderated. Please resist the urge]
If you go with Scott’s option 1, have a look at Moving_WordPress first.
How do I program it to forward the domain to my wordpress index page? I’ve read the directions and they don’t seem to help. I can’t find the .htaccess file.
Assuming the WordPress files are in a folder called wordpress in your domain root folder, to make WordPress available at http://sample.com just change in Options-General, the Blog address (URL) to http://sample.com and put this index.php file in your web-root folder (it is the same folder that contains the blog folder)
<?php
/* Short and sweet */
define('WP_USE_THEMES', true);
require('./wordpress/wp-blog-header.php');
?>
Then update your permalinks in Options-Permalinks.
This particular setup is described at: http://codex.ww.wp.xz.cn/Giving_WordPress_Its_Own_Directory
Email received from alexanderrmorrow stating he solved his problem. Marking as resolved.