Forum Moderators: open
Newbie here in need of some help. I moved a word press website from my root directory to a sub folder. Using phpMyAdmin I exported the database and edited it in an text editor doing a find - replace function on the address changes.
Then I dropped my old database and imported the database I just edited. Now when I click on a link on the website I get the following error:
The requested URL /index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an Error Document to handle the request
When I got the error I went and checked my file directory index.php file was in new folder, but I noticed that I forgot to move the .htaccess.file. So I moved that into the new folder,but still getting the same error.
So I removed the file and replaced it with a fresh .htaccess.file tested the software, but got the same error ... currently the .htaccess.file has following rewrite code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /crandell/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /crandell/index.php [L]
</IfModule>
# END WordPress
crandell is the folder I moved everything to, so what am doing wrong?
I didn't bother changing the config-php, as nothing is really different with names etc.
__________________________________________________________________________
Oh, another problem I'm having is an issue with CONTACT-FORM plugin:
I set-up a [CONTACT-FORM] on a page in my WP and everything seems okay. However when I tested it, I never received the email notification to the email address (<-- gmail) I sent the plugin to forward to.
Any ideas what the problems might be?
Thanks again in advance.
Rob
If yes, then start troubleshooting your rewrites.
Your rule would only, by the way, match a request that consists of one and only one character.
If you want it to match zero or more characters, it needs to be
RewriteRule .* /dir/index.php
Also, get rid of the RewriteBase unless you have determined that you actually need it. If your server path is not an aliased file path, you don't. If that makes no sense, just try it both ways, but I think you're trying to use it in a way that is different from what it actually does.
check this out
[webmasterworld.com...]
Ooog... is there a particular reason you didn't follow WordPress's guidelines: [codex.wordpress.org...]