Joy
(@joyously)
Read this page, which is linked from the Settings > General page:
https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
When you say you “redirected to the subdirectory”, do you mean you actually have a Redirect rule in .htaccess or you pointed the domain to the wordpress subdirectory?
I have WP installed in folders all the time, and I never have a problem with the changeset UUID. If this is a special case setup, perhaps there is a bug in the changeset logic that it exposes and we need a ticket written to fix it.
Hi Joy,
Many thanks for the quick response.
I’ve checked my domain (aerodivers.net) & I have not pointed it at the wordpress subdirectory.
I have two .htaccess files, one in root which has quite a lot in it including a bunch of stuff referring to W3TC (a caching plugin I used to have that doesn’t seem to have cleaned up after itself when I deleted it) and the following:-# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
the other .htaccess is in the wordpress directory and only contains the following:-# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
I also note the web page you directed me to indicates since my site is in a directory called wordpress my Settings/General WordPress Address URL should be http://aerodivers.net/wordpress not http://wordpress.aerodivers.net. I seem to recall trying that at some point in the past & then couldn’t get into my site but might this be a part of the cause?
Also neither of the .htaccess files looks anywhere near as complex as those on that web page & certainly don’t mention the wordpress directory – another part of the cause?
My index.php file however does contain the following:-
define(‘WP_USE_THEMES’, true);
/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . ‘/wordpress/wp-blog-header.php’ );
Does any of that help identify where the problem might be?
k
Joy
(@joyously)
I also note the web page you directed me to indicates since my site is in a directory called wordpress my Settings/General WordPress Address URL should be http://aerodivers.net/wordpress not http://wordpress.aerodivers.net.
Yes, if your directory is not a subdomain, it should be treated as the first example, not the second.
Your index.php already has the wordpress directory in it (to load wp-blog-header), so I’m surprised that your site works if the WP address is incorrect.
I would change it in Settings > General to http://aerodivers.net/wordpress and if you can’t get back in, go into the database with phpMyAdmin and change it back. If you can get in, be sure to save Permalinks twice.