I'm also having problems with my Permalinks after moving a local site to a remote server. The problem, I think, has to do with the way my server host handles URLs. The actual files (it's a test blog for a client, which I've put inside my own domain) are at:
http://www.rhcvisualwriting.com/html/clients/jt/
but the URL is:
http://www.rhcvisualwriting.com/clients/jt/
The server host drops the /html/ for urls.
When the Permalinks setting is at default (which WP sees as:
http://www.rhcvisualwriting.com/html/clients/jt/?p=123)
the homepage works correctly, but links to pages and posts generate 404s. If I create a custom Permalink setting that drops the /html/ out of the URL, then the homepage is a 404 too.
Though I've set the permissions in my htaccess file to allow group read/write, WordPress still thinks it doesn't have permission--when I try to do a custom Permalink, it tells me it can't write in the file, so to paste the code below.
http://www.rhcvisualwriting.com/html/clients/jt/?p=123
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /html/clients/jt/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /html/clients/jt/index.php [L]
</IfModule>
Because of the /html/ directory problem, I'm not sure WP is even generating the right code. So I tried changing the rewrite rule to
RewriteRule . /clients/jt/index.php [L]
Didn't make any difference.
Is there a clue in the fact that on the Permalinks Settings page, there are these two error messages:
Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/nfs:/tmp:/usr/local:/etc/apache2/gs-bin) in /nfs/c01/h05/mnt/33146/domains/rhcvisualwriting.com/html/clients/jt/wp-admin/options-permalink.php on line 141
Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/nfs:/tmp:/usr/local:/etc/apache2/gs-bin) in /nfs/c01/h05/mnt/33146/domains/rhcvisualwriting.com/html/clients/jt/wp-admin/includes/misc.php on line 133
I looked at those files/lines, and they refer to user permissions.
Any help will be greatly appreciated!
Thanks