alexanderrmorrow
Member
Posted 5 years ago #
Hello everyone! I'm hoping someone can help me with a problem I have encountered. Recently, I installed WordPress on my server. However, the blog address is http://www.mydomain.com/wordpress/. How do I change the blog address to http://www.mydomain.com?
Thanks a million!
alexanderrmorrow
Member
Posted 5 years ago #
So i found this tutorial, but I can't find the .htaccess file in the WordPress folder. What gives? Where is it? Please help!
WebFadds
Member
Posted 5 years ago #
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.
alexanderrmorrow
Member
Posted 5 years ago #
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.
alexanderrmorrow
Member
Posted 5 years ago #
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.wordpress.org/Giving_WordPress_Its_Own_Directory
Email received from alexanderrmorrow stating he solved his problem. Marking as resolved.