Permalink configuration

See this information about permalinks. Note that the GCP hosting knowledge base has this to say about .htaccess files; nothing comes up for a search on “mod_rewrite” or “SERVER_SOFTWARE.”

It’s clear the htaccess is being generated, but it appears mod_rewrite may not be present. Since i’ve nested pages, the bug i found in attempt 3 seems significant. I’m mollified by the fact that default URLs appear to work OK after such a change. I’ll file a bug report — Christine says i’m digital fly paper — and use default URLs for a bit.

Default:

Second post entry:
http://jebgcc.accountsupport.com/curious/?p=9

Pages:
http://jebgcc.accountsupport.com/curious/?page_id=3
http://jebgcc.accountsupport.com/curious/?page_id=4

.htaccess

# BEGIN WordPress

RewriteEngine On
RewriteBase /curious/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /curious/index.php


# END WordPress

Attempt 1: Simple selection of “Date and name based” permalinks. This fails. All URLs simply display the “front page.” Old links with page ids still work.

.htaccess is unchanged

The http is correctly rewritten:
http://jebgcc.accountsupport.com/curious/2006/01/18/spaceship-webalizer-logs/

Pages demonstrate their relationships:
http://jebgcc.accountsupport.com/curious/the-world-of-grey-catcom/
http://jebgcc.accountsupport.com/curious/the-world-of-grey-catcom/curious-about-judith/

Attempt 2: Using the advice in the codex, i attempt to “put a filename at the beginning.” Failure mode is the same.

http://jebgcc.accountsupport.com/curious/arch/2006/01/18/spaceship-webalizer-logs/
http://jebgcc.accountsupport.com/curious/the-world-of-grey-catcom/
http://jebgcc.accountsupport.com/curious/the-world-of-grey-catcom/curious-about-judith/

Attempt 3: I believe i am mistaken about the instruction. It’s not just ANY file name; it’s specifically “index.php.” Now the system works for the post and the top level pages. Nested pages fail with “Error 404 – Not Found” within the correct CSS framework. Access using the page_id URL works just fine. I conclude this work around has a bug for pages that have parents.

http://jebgcc.accountsupport.com/curious/index.php/2006/01/18/spaceship-webalizer-logs/
http://jebgcc.accountsupport.com/curious/index.php/the-world-of-grey-catcom/
http://jebgcc.accountsupport.com/curious/index.php/the-world-of-grey-catcom/curious-about-judith/

Attempt 4:
Without evidence that it’s a problem with mod_rewrite, and with evidence that there’s a bug in that work-around, move on to permissions changes.

.htaccess set to 660 and then to 666. No changes occur. I check the other WP2.0 blog in the account where i have not attempted any permalink changes. There is no .htaccess file there. I delete the .htaccess file and verify all is working at default. I select the date based permalink and find the .htaccess file with u+rw g+r w+r (644)

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

One Response to “Permalink configuration”

  1. Spirit of Inquiry » Blog Archive » Yay for the plug-ins Says:

    [...] First, some of my curiosity would be sated if (1) i had access to mod_rewrite to reconfigure permalinks or (2) if the local version of webalyzer didn’t truncate on the question mark. But, since i can’t change either of those things, i’ve tried some WordPress plugins — and they will do wonderfully. [...]

Leave a Reply