Alright… I’ve searched the forums, the codex and the web for hours now and tried a good bit of old fashioned trial-and-error. And I still haven’t figured this one out. Thanks in advance for your assistance.
Here’s my set-up:
I just installed WordPress 3.3.1 on a new GreenGeeks-hosted account, inside a subdirectory at freeish.net/msp/.
Here’s what I think one of the big issues is:
Wordpress somehow thinks that it’s installed at the root level, not within /msp/. This is evidenced by the fact that the /wp-admin/options-permalink.php page shows its example permalinks like this:
Day and name http://freeish.net/2012/04/09/sample-post/
Month and name http://freeish.net/2012/04/sample-post/
Post name http://freeish.net/sample-post/
This isn’t at all what I want either. What I’m looking for is: http://freeish.net/msp/sample-post/.
Here’s what happens in various situations:
1) When permalinks are set to “Default”:
The front page at freeish.net/msp/ shows up correctly, but internal links to posts or pages are created at the root level of the domain (e.g., freeish.net/?p=34) and simply redirect to the index at freeish.net, not to any WordPress page at all.
2) When permalinks are set to “Post Name,” as I would like them to be:
The front page at freeish.net/msp/ shows up incorrectly, with a “Not Found” error where the first post should be. All links to posts and pages (e.g. on the “Post Archive” calendar) lead to 404 errors.
3) (How the site is currently set up.) When permalinks are set to “Post Name,” and I manually add “/msp/” in two places in the .htaccess file, according to Perishable Press’ “Htaccess Rules“:
The front page at freeish.net/msp/ shows up incorrectly, as in #2 above. Internal links to posts are still created at the root level (e.g., http://freeish.net/under-construction-update-9-april-2012/ or http://freeish.net/contact/), but these “pretty permalinks” do work, as you’ll see if you click on them.
One more note:
I’ve tried using the “Custom Structure” option on the /wp-admin/ permalink settings page to force the structure to be “/msp/%postname%/” — but this just results in the same 404 errors as attempt #2 above. Ugh.
So to summarize, all I want to do is:
1) make the freeish.net/msp homepage display posts as it should, and
2) make the permalinks appear at http://freeish.net/msp/sample-post/.