I’m losing sleep over this
-
Yes, another permalink problem post. I know, I know – there are a blue million of these posts already (I know this because I read most of them last night because I couldn’t sleep for trying to figure this out). Permalinks result in a 404 error, best that I can tell.
https://www.moravianchurch.org/webpress
First off, I know it should be able to work – I had the permalinks working when I first installed WordPress on the church’s site. But then, i screwed it up – and after reinstalling I can’t get the permalinks to work.
Hard to figure out, but it seems like to me that the mod_rewrite is working – the links seem to be pointing to the right URI. Is it possible that there is something wrong with my WordPress install, so that it can’t “handle” the permalink?
I really, really need someone to help me figure this out. Here is my .htaccess file:
<code
>RewriteEngine On
RewriteBase /
RewriteRule ^webpress/archives/category/(.*)/(feed|rdf|rss|rss2|atom)/?$ /webpress/wp-feed.php?category_name=$1&feed=$2 [QSA]
RewriteRule ^webpress/archives/category/?(.*) /index.php?category_name=$1 [QSA]
RewriteRule ^webpress/archives/author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /webpress/wp-feed.php?author_name=$1&feed=$2 [QSA]
RewriteRule ^webpress/archives/author/?(.*) /index.php?author_name=$1 [QSA]
RewriteRule ^webpress/archives/?([0-9]{4})?/?([0-9]{1,2})?/?([0-9]{1,2})?/?([_0-9a-z-]+)?/?([0-9]+)?/?$ /index.php?year=$1&monthnum=$2&day=$3&name=$4&page=$5 [QSA]
RewriteRule ^webpress/archives/?([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([_0-9a-z-]+)/(feed|rdf|rss|rss2|atom)/?$ /webpress/wp-feed.php?year=$1&monthnum=$2&day=$3&name=$4&feed=$5 [QSA]
RewriteRule ^webpress/archives/?([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([_0-9a-z-]+)/trackback/?$ /webpress/wp-trackback.php?year=$1&monthnum=$2&day=$3&name=$4 [QSA]
RewriteRule ^feed/?([_0-9a-z-]+)?/?$ /webpress/wp-feed.php?feed=$1 [QSA]
RewriteRule ^comments/feed/?([_0-9a-z-]+)?/?$ /webpress/wp-feed.php?feed=$1&withcomments=1 [QSA]
</code
>
Things that I have tried:
I have tried to put the “path to home” in the second line of the .htaccess file.
Permissions are set to 766.
Tried to include “index.php” option, but that still seems to send an address that confuses WordPress.
I have tried swearing at the screen, too.
If anyone has the time to help me through this, there are some Moravian cookies headed your way. If you haven’t had them yet – believe me, they are well worth it. ??
Thanks,
Hal Atkins
- The topic ‘I’m losing sleep over this’ is closed to new replies.