[wp-forums] what happened to....

Vogel, Andrew (vogelap) VOGELAP at UCMAIL.UC.EDU
Fri Sep 22 13:26:07 GMT 2006


Here's a copy of the issue, from another (fruitless) discussion:

I've got my Permalinks set to Custom ("Almost Pretty") and
"/index.php/%year%/%monthnum%/%day%/%postname%/". The goal is to get rid
of the "/index.php" from my permalinks to make them "Pretty". As long as
I do not visit Options->Permalinks, my site functions as expected.

However, if I VISIT Options->Permalinks, my site's permalinks stop
functioning unless I set them to Default (I don't even have to click
"Update Permalinks Settings"; simply visiting the Options->Permalinks
page breaks permalinks), which breaks internal links in my site. This is
100% reproducible. The .htaccess file is 664 and owned by the server
user/group.

I have also noticed that rolling back -- that is, restoring the backup
of my .htaccess file, adding "/index.php" back to the permalink, and
restarting the server -- did not return the site to working order.
Simply VISITING Options->Permalinks is enough to cause the site to stop
working, no matter if I "Update Permalink Structure" or not. I end up
having to empty and restore my WordPress database from backup! 

I've replaced the classes.php and functions_post.php files with the
latest copies in this thread
(http://wordpress.org/support/topic/54340/page/2?replies=52) and done
all the steps here:
http://codex.wordpress.org/Permalinks#Fixing_Permalink_Problems. I've
followed all the steps on
http://codex.wordpress.org/Permalinks#Fixing_Permalink_Problems, but my
.htaccess is still never updated. I've followed the steps here,
http://wordpress.org/support/topic/58389. This issue is scary because
simply visiting Options->Permalinks hoses the site.

The .htaccess looks like this:
# BEGIN Url Rewrite section
# (Automatically generated.  Do not edit this section)
<IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d [OR]
    RewriteCond %{REQUEST_FILENAME} gallery\_remote2\.php
    RewriteCond %{REQUEST_FILENAME} !/wp-gallery2\.php$
    RewriteRule .   -   [L]


    RewriteCond %{THE_REQUEST} \ /d/([0-9]+)-([0-9]+)/([^\/\?]+)(\?.|\
.)
    RewriteCond %{REQUEST_FILENAME} !/wp-gallery2\.php$
    RewriteRule .
/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=%1&g2_serialNumbe
r=%2&g2_fileName=%3   [QSA,L]

    RewriteCond %{THE_REQUEST} \ /f/([^?]+)(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !/wp-gallery2\.php$
    RewriteRule .
/wp-gallery2.php?g2_controller=permalinks.Redirect&g2_filename=%1
[QSA,L]

    RewriteCond %{THE_REQUEST} \ /v/([^?]+)(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !/wp-gallery2\.php$
    RewriteRule .   /wp-gallery2.php?g2_view=core.ShowItem&g2_path=%1
[QSA,L]

</IfModule>

# END Url Rewrite section

# BEGIN worst-offenders
Deny from 70.84.176.58
[deleted for space]
Deny from 193.93.237.20
# END worst-offenders

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php
</IfModule>

# END WordPress

These are extremely frustrating issues! Can anyone help with any of
them? Thanks in advance!

-andrew vogel
Manager of Professional Programs
University of Cincinnati
College of Pharmacy 
 

> -----Original Message-----
> From: wp-forums-bounces at lists.automattic.com 
> [mailto:wp-forums-bounces at lists.automattic.com] On Behalf Of 
> Vogel, Andrew (vogelap)
> Sent: Friday, September 22, 2006 9:15 AM
> To: wp-forums at lists.automattic.com
> Subject: RE: [wp-forums] what happened to....
> 
> Thank you for your reply, but it's been set at "AllowOverride 
> All" for a while now... The problem persists.
> 
> -andrew vogel
> Manager of Professional Programs
> University of Cincinnati
> College of Pharmacy 
>  
> 
> > -----Original Message-----
> > From: wp-forums-bounces at lists.automattic.com
> > [mailto:wp-forums-bounces at lists.automattic.com] On Behalf Of Handy
> > Sent: Friday, September 22, 2006 9:03 AM
> > To: wp-forums at lists.automattic.com
> > Subject: Re: [wp-forums] what happened to....
> > 
> > Ah.  On FC5, AllowOverride is Off by default.
> > 
> > On 9/22/06, Vogel, Andrew (vogelap) <VOGELAP at ucmail.uc.edu> wrote:
> > >
> > > I'm running Fedora Core 5 on a box that I own. I can do PATHINFO 
> > > ("Almost Pretty") permalinks, but it breaks my site if I 
> remove the 
> > > "/index.php".
> > >
> > > I am seriously considering wiping the box, reinstalling FC5, and 
> > > starting from scratch. I don't really want to do that, but
> > if it will
> > > solve the issues...
> > >
> > > -drew vogel
> > > www.drewvogel.com
> > >
> > > > -----Original Message-----
> > > > From: wp-forums-bounces at lists.automattic.com
> > > > [mailto:wp-forums-bounces at lists.automattic.com] On 
> Behalf Of Handy
> > > > Sent: Thursday, September 21, 2006 10:10 PM
> > > > To: wp-forums at lists.automattic.com
> > > > Subject: Re: [wp-forums] what happened to....
> > > >
> > > > On 9/21/06, Vkaryl <vkaryl at bytehaven.com> wrote:
> > > > >
> > > > > On 9/21/2006 7:57:04 PM, Vogel, Andrew (vogelap)
> > > > > (vogelap at ucmail.uc.edu)
> > > > > wrote:
> > > > > > If only Permalinks worked on my site... <sigh>
> > > > > >
> > > > >
> > > > > What, you're using a win server and IIS?  Ewww....
> > > >
> > > >
> > > > Do you own the box?  If so... I've heard some good things
> > about this
> > > > IIS plugin.
> > > > 
> > http://deanlee.cn/2006/09/02/url-rewriting-for-wordpress-under-iis/
> > > >
> > > > Also, check out the  wp-hackers list.  A thread going on
> > right now
> > > > about IIS and  rewrites.
> > > > _______________________________________________
> > > > wp-forums mailing list
> > > > wp-forums at lists.automattic.com
> > > > http://lists.automattic.com/mailman/listinfo/wp-forums
> > > >
> > > _______________________________________________
> > > wp-forums mailing list
> > > wp-forums at lists.automattic.com
> > > http://lists.automattic.com/mailman/listinfo/wp-forums
> > >
> > _______________________________________________
> > wp-forums mailing list
> > wp-forums at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-forums
> > 
> _______________________________________________
> wp-forums mailing list
> wp-forums at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-forums
> 


More information about the wp-forums mailing list