Moderator
t-p
(@t-p)
if your WordPress Address (URL) is pointing to http://andrewmondia.com/wp/, then your “home” tab url should be pointing to http://andrewmondia.com/wp/ as well.
But I want to use andrewmondia.com as address for people to access to not type in http://andrewmondia.com/wp/
please take a read through these instructions and let us know what questions come up
nope totally screwed now with those instructions. website doesn’t come up now on my end.
@andyinspire, Have you enabled errors under wp-config.php ?
define ('WP_DEBUG', true);
Can you log in at http://andrewmondia.com/wp/wp-login.php and save permalinks?
So site is not at all showing now. But can enter dashboard. Wondering am I supposed to delete htaccess and index php from wp folder? As I tried that but nothing.
PS Just saw Dipak comment and will try that and post result.
Nope still not working now but changed what Dipak suggested.
That doesn’t help. I already looked at that. I cannot now view my site as result of something I did but can get in the dashboard.
@andyinspire, could you rename .htaccess for a while? Let me know once done!
nothing happened…
Here is text from index file….
<?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__ ) . ‘wp/wp-blog-header.php’ );
And from .htaccess file
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wp/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
wp is folder I use for wordpress blog
@andyinspire, Replace your current .htaccess with the below one.
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/wp/
RewriteRule ^(.*)$ /wp/$1
RewriteCond %{HTTP_HOST} ^(www.)?andrewmondia.com$
RewriteRule ^(/)?$ wp/ [L]
Above .htaccess should be located under root folder, not wp (sub-directory).
Let me know how it goes.
And the index file as I think that is screwing everything up?