[wp-hackers] Help needed with two issues on established WP install

Vogel, Andrew (vogelap) VOGELAP at UCMAIL.UC.EDU
Mon Aug 21 20:13:34 GMT 2006


I went to /wp-admin/options.php, but searching for "category_base" and
"permalink_structure" both came up with no matches... I've got several
other files in /wp-admin/ that are options-*.php -- like discussion,
general, head, misc, permalink, reading, and writing -- could it be in
one of those?

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

> -----Original Message-----
> From: wp-hackers-bounces at lists.automattic.com 
> [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of 
> Jamie Holly
> Sent: Monday, August 21, 2006 1:47 PM
> To: wp-hackers at lists.automattic.com
> Subject: RE: [wp-hackers] Help needed with two issues on 
> established WP install
> 
> Last option I can think of. Go to /wp-admin/options.php. Look for the
> following:
> 
> category_base (delete anything in this box)
> 
> permalink_structure Paste the following into that box:
> 
> /%year%/%monthnum%/%day%/%postname%/
> 
> After that go to your options->permalinks page. You don't 
> need to click the update button, as it will do it 
> automatically for you.
> 
> This will set you back to the standard Date and name based 
> permalinks. See if that is causing problems for you.
> 
> I tried your .htaccess in one of my virtual hosts and it 
> worked fine. Of course you could have some plugin messing 
> with things so you might want to try and disable all of those 
> and re-enable them one by one trying things out.
> 
> 
> 
> Jamie Holly
> http://www.intoxination.net
> 
> -----Original Message-----
> From: wp-hackers-bounces at lists.automattic.com
> [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of 
> Vogel, Andrew
> (vogelap)
> Sent: Monday, August 21, 2006 1:29 PM
> To: wp-hackers at lists.automattic.com
> Subject: RE: [wp-hackers] Help needed with two issues on 
> established WP install
> 
> I believe the problem existed prior to the inclusion of the 
> WPGallery stuff (even under previous versions of Fedora Core 
> and WordPress, I've always had "Almost Pretty" permalinks), 
> but I will remove it and try again just to be sure...
> 
> ... I removed it and got the 404 again. I don't believe it's 
> the WPGallery stuff in .htaccess.
> 
> -andrew vogel
> Manager of Professional Programs
> University of Cincinnati
> College of Pharmacy 
>  
> 
> > -----Original Message-----
> > From: wp-hackers-bounces at lists.automattic.com
> > [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Jamie 
> > Holly
> > Sent: Monday, August 21, 2006 1:22 PM
> > To: wp-hackers at lists.automattic.com
> > Subject: RE: [wp-hackers] Help needed with two issues on 
> established 
> > WP install
> > 
> > Whenever you go to the permalinks page it does a 
> flush_rewrite rules, 
> > which basically rewrites the #begin Wordpress section in 
> .htaccess to 
> > what you have Wordpress permalinks set at. I noticed you were using 
> > other rewrites for gallery. Just a quick question - have you tired 
> > removing that section and seeing if that corrects it? I am not that 
> > great on rewrite rules so I could be overlooking something 
> in it that 
> > could be causing the problem.
> > 
> > Jamie Holly
> > http://www.intoxination.net
> > 
> > -----Original Message-----
> > From: wp-hackers-bounces at lists.automattic.com
> > [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf 
> Of Vogel, 
> > Andrew
> > (vogelap)
> > Sent: Monday, August 21, 2006 1:07 PM
> > To: wp-hackers at lists.automattic.com
> > Subject: RE: [wp-hackers] Help needed with two issues on 
> established 
> > WP install
> > 
> > Hrm. That didn't work. Extremely perplexing and more than a little 
> > frustrating!
> > 
> > Here's what I tried:
> > 
> > * backup WP database
> > * cd /var/www/html/
> > * mv .htaccess hta.org
> > * touch .htaccess
> > * chown .htaccess to webserver
> > * chmod 664 .htaccess
> > * pico /etc/httpd/conf/httpd.conf:
> > 
> > [snip]
> > DocumentRoot "/var/www/html"
> > # First, we configure the "default" to be a very restrictive set of 
> > features.
> > #
> > <Directory />
> >     Options FollowSymLinks
> >     AllowOverride None
> > </Directory>
> > 
> > # This should be changed to whatever you set DocumentRoot to.
> > <Directory "/var/www/html">
> >     Options Indexes FollowSymLinks Includes ExecCGI
> >     AllowOverride None <------ this is the line to be changed
> >     AcceptPathInfo On
> >     Order allow,deny
> >     Allow from all
> > </Directory>
> > [snip]
> > 
> > ...to...
> > 
> > [snip]
> > DocumentRoot "/var/www/html"
> > # First, we configure the "default" to be a very restrictive set of 
> > features.
> > #
> > <Directory />
> >     Options FollowSymLinks
> >     AllowOverride None
> > </Directory>
> > 
> > # This should be changed to whatever you set DocumentRoot to.
> > <Directory "/var/www/html">
> >     Options Indexes FollowSymLinks Includes ExecCGI
> >     AllowOverride All <------ this is what I changed the line to
> >     AcceptPathInfo On
> >     Order allow,deny
> >     Allow from all
> > </Directory>
> > [snip]
> > 
> > * service httpd restart
> > * pico /var/www/html/.htaccess -- verified that it had been 
> written to 
> > (it had)
> > * opened a webbrowser and pointed it to my page, verifying that the 
> > URL link of an article changed from 
> > "http://www.drewvogel.com/index.php/2006/08/18/system-strangen
> ess/" to "http://www.drewvogel.com/2006/08/18/system-> 
> strangeness/" (it had).
> > * I clicked the link and -- KABOOM! -- non-WP 404.
> > * I tried to roll-back -- 'mv hta.org .htaccess', re-add 
> "/index.php" 
> > to the permalink line, and restart the server, but it 
> remained broken. 
> > Once again, simply VISITING
> > Options->Permalink is enough to 'break' it.
> > 
> > What does WP write when Options->Permalink is displayed? Is 
> there some 
> > way to compare before and after database entries to see 
> what's getting 
> > changed? I had to empty and restore my WP database to get it back 
> > working.
> > 
> > -andrew vogel
> > Manager of Professional Programs
> > University of Cincinnati
> > College of Pharmacy
> >  
> > 
> > > -----Original Message-----
> > > From: wp-hackers-bounces at lists.automattic.com
> > > [mailto:wp-hackers-bounces at lists.automattic.com] On 
> Behalf Of Jamie 
> > > Holly
> > > Sent: Monday, August 21, 2006 12:05 PM
> > > To: wp-hackers at lists.automattic.com
> > > Subject: RE: [wp-hackers] Help needed with two issues on
> > established
> > > WP install
> > > 
> > > 
> > > AllowOverride All
> > > 
> > > That will fix it.
> > > 
> > > Jamie Holly
> > > http://www.intoxination.net
> > > 
> > > -----Original Message-----
> > > From: wp-hackers-bounces at lists.automattic.com
> > > [mailto:wp-hackers-bounces at lists.automattic.com] On 
> Behalf Of Handy
> > > Sent: Monday, August 21, 2006 12:04 PM
> > > To: wp-hackers at lists.automattic.com
> > > Subject: Re: [wp-hackers] Help needed with two issues on
> > established
> > > WP install
> > > 
> > > I believe so, yes.  Unfortunately, not at a place where
> > it's easy to
> > > pop onto my server and check.
> > > 
> > > On 8/21/06, Vogel, Andrew (vogelap) <VOGELAP at ucmail.uc.edu> wrote:
> > > >
> > > > You may not be "Captain Obvious"...
> > > >
> > > > <Directory />
> > > >     Options FollowSymLinks
> > > >     AllowOverride None
> > > > </Directory>
> > > >
> > > > What SHOULD it be? "All"?
> > > >
> > > > -andrew vogel
> > > > Manager of Professional Programs
> > > > University of Cincinnati
> > > > College of Pharmacy
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: wp-hackers-bounces at lists.automattic.com
> > > > > [mailto:wp-hackers-bounces at lists.automattic.com] On
> > > Behalf Of Handy
> > > > > Sent: Monday, August 21, 2006 11:38 AM
> > > > > To: wp-hackers at lists.automattic.com
> > > > > Subject: Re: [wp-hackers] Help needed with two issues on
> > > established
> > > > > WP install
> > > > >
> > > > > On 8/21/06, Vogel, Andrew (vogelap)
> > <VOGELAP at ucmail.uc.edu> wrote:
> > > > > >
> > > > > > <snip>
> > > > > >
> > > > > > 2. 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
> > > > > writable by the server.
> > > > > >
> > > > > > </snip>
> > > > > >
> > > > >
> > > > > I'm willing to be all wet here with the "Captain Obvious"
> > > > > post... but FC5 has AllowOverrides off by default in 
> the apache 
> > > > > configs.  Have you specifically re-enabled it?
> > > > > _______________________________________________
> > > > > wp-hackers mailing list
> > > > > wp-hackers at lists.automattic.com
> > > > > http://lists.automattic.com/mailman/listinfo/wp-hackers
> > > > >
> > > > _______________________________________________
> > > > wp-hackers mailing list
> > > > wp-hackers at lists.automattic.com
> > > > http://lists.automattic.com/mailman/listinfo/wp-hackers
> > > >
> > > _______________________________________________
> > > wp-hackers mailing list
> > > wp-hackers at lists.automattic.com
> > > http://lists.automattic.com/mailman/listinfo/wp-hackers
> > > 
> > > _______________________________________________
> > > wp-hackers mailing list
> > > wp-hackers at lists.automattic.com
> > > http://lists.automattic.com/mailman/listinfo/wp-hackers
> > > 
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> > 
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> > 
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
> 
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
> 


More information about the wp-hackers mailing list