[wp-hackers] wp-hackers Digest, Vol 61, Issue 18

pradipta sinha singh.gabu at gmail.com
Fri Feb 5 21:29:36 UTC 2010


Hello ,
I am working on a classified wordpress script,
http://botoxpatient.com/development/,

I want to add coupon code to my user when they post a new ads ?

Is that possible ..??

Actually I am not a so experience guy, Need your detailed help here,

Thanks for all your help so far!
Ajaxee[91+9474814625]






On Sat, Feb 6, 2010 at 12:56 AM, <wp-hackers-request at lists.automattic.com>wrote:

> Send wp-hackers mailing list submissions to
>        wp-hackers at lists.automattic.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.automattic.com/mailman/listinfo/wp-hackers
> or, via email, send a message with subject or body 'help' to
>        wp-hackers-request at lists.automattic.com
>
> You can reach the person managing the list at
>        wp-hackers-owner at lists.automattic.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of wp-hackers digest..."
>
> Today's Topics:
>
>   1. Re: Need Help, I cannot figure this out. (Jeremi Bergman)
>   2. Re: Need Help, I cannot figure this out. (Jeremi Bergman)
>   3. Re: Need Help, I cannot figure this out. (Andrew Nacin)
>
>
> ---------- Forwarded message ----------
> From: Jeremi Bergman <jeremib at gmail.com>
> To: wp-hackers at lists.automattic.com
> Date: Fri, 5 Feb 2010 14:21:52 -0500
> Subject: Re: [wp-hackers] Need Help, I cannot figure this out.
> 2 of the 3 of us on our end have not experienced this "rss issue" since
> yesterday after removing squid.  Can those of you on the list that
> experienced the symptom of being served rss data instead of the link,
> retest
> for us (In Firefox).
>
> The About page redirecting is strange, but this is not the original symptom
> that led me to post on the list.
>
> Thanks for all your help so far!
>
> Jeremi Bergman
> 865-951-5354
>
>
> On Fri, Feb 5, 2010 at 2:15 PM, Shane Chambers <knoxpics at gmail.com> wrote:
>
> >  Here's the rewrite logs from when I ask for the "/about" url;
> >
> > 74.93.48.82 - - [05/Feb/2010:14:13:42 --0500] [
> www.mrsec.com/sid#2266900][rid#27d9a68/initial]
> > (3) [perdir /var/www/vhosts/mrsec.com/httpdocs/] strip per-dir prefix:
> > /var/www/vhosts/mrsec.com/httpdocs/about -> about
> > 74.93.48.82 - - [05/Feb/2010:14:13:42 --0500] [
> www.mrsec.com/sid#2266900][rid#27d9a68/initial]
> > (3) [perdir /var/www/vhosts/mrsec.com/httpdocs/] applying pattern
> > '^admin(.*)$' to uri 'about'
> > 74.93.48.82 - - [05/Feb/2010:14:13:42 --0500] [
> www.mrsec.com/sid#2266900][rid#27d9a68/initial]
> > (3) [perdir /var/www/vhosts/mrsec.com/httpdocs/] strip per-dir prefix:
> > /var/www/vhosts/mrsec.com/httpdocs/about -> about
> > 74.93.48.82 - - [05/Feb/2010:14:13:42 --0500] [
> www.mrsec.com/sid#2266900][rid#27d9a68/initial]
> > (3) [perdir /var/www/vhosts/mrsec.com/httpdocs/] applying pattern '.' to
> > uri 'about'
> > 74.93.48.82 - - [05/Feb/2010:14:13:42 --0500] [
> www.mrsec.com/sid#2266900][rid#27d9a68/initial]
> > (2) [perdir /var/www/vhosts/mrsec.com/httpdocs/] rewrite 'about' ->
> > '/index.php'
> > 74.93.48.82 - - [05/Feb/2010:14:13:42 --0500] [
> www.mrsec.com/sid#2266900][rid#27d9a68/initial]
> > (2) [perdir /var/www/vhosts/mrsec.com/httpdocs/] trying to replace
> prefix
> > /var/www/vhosts/mrsec.com/httpdocs/ with /
> > 74.93.48.82 - - [05/Feb/2010:14:13:42 --0500] [
> www.mrsec.com/sid#2266900][rid#27d9a68/initial]
> > (1) [perdir /var/www/vhosts/mrsec.com/httpdocs/] internal redirect with
> > /index.php [INTERNAL REDIRECT]
> > 74.93.48.82 - - [05/Feb/2010:14:13:42 --0500] [
> www.mrsec.com/sid#2266900][rid#27e2728/initial/redir#1]
> > (3) [perdir /var/www/vhosts/mrsec.com/httpdocs/] strip per-dir prefix:
> > /var/www/vhosts/mrsec.com/httpdocs/index.php -> index.php
> > 74.93.48.82 - - [05/Feb/2010:14:13:42 --0500] [
> www.mrsec.com/sid#2266900][rid#27e2728/initial/redir#1]
> > (3) [perdir /var/www/vhosts/mrsec.com/httpdocs/] applying pattern
> > '^admin(.*)$' to uri 'index.php'
> > 74.93.48.82 - - [05/Feb/2010:14:13:42 --0500] [
> www.mrsec.com/sid#2266900][rid#27e2728/initial/redir#1]
> > (3) [perdir /var/www/vhosts/mrsec.com/httpdocs/] strip per-dir prefix:
> > /var/www/vhosts/mrsec.com/httpdocs/index.php -> index.php
> > 74.93.48.82 - - [05/Feb/2010:14:13:42 --0500] [
> www.mrsec.com/sid#2266900][rid#27e2728/initial/redir#1]
> > (3) [perdir /var/www/vhosts/mrsec.com/httpdocs/] applying pattern '.' to
> > uri 'index.php'
> > 74.93.48.82 - - [05/Feb/2010:14:13:42 --0500] [
> www.mrsec.com/sid#2266900][rid#27e2728/initial/redir#1]
> > (1) [perdir /var/www/vhosts/mrsec.com/httpdocs/] pass through
> > /var/www/vhosts/mrsec.com/httpdocs/index.php
> > 74.93.48.82 - - [05/Feb/2010:14:13:43 --0500] [
> www.mrsec.com/sid#2266900][rid#27d9a68/initial]
> > (3) [perdir /var/www/vhosts/mrsec.com/httpdocs/] add path info postfix:
> > /var/www/vhosts/mrsec.com/httpdocs/story -> /var/www/vhosts/
> > mrsec.com/httpdocs/story/about-12-minutes-of-good-basketball
> > 74.93.48.82 - - [05/Feb/2010:14:13:43 --0500] [
> www.mrsec.com/sid#2266900][rid#27d9a68/initial]
> > (3) [perdir /var/www/vhosts/mrsec.com/httpdocs/] strip per-dir prefix:
> > /var/www/vhosts/
> > mrsec.com/httpdocs/story/about-12-minutes-of-good-basketball ->
> > story/about-12-minutes-of-good-basketball
> > 74.93.48.82 - - [05/Feb/2010:14:13:43 --0500] [
> www.mrsec.com/sid#2266900][rid#27d9a68/initial]
> > (3) [perdir /var/www/vhosts/mrsec.com/httpdocs/] applying pattern
> > '^admin(.*)$' to uri 'story/about-12-minutes-of-good-basketball'
> > 74.93.48.82 - - [05/Feb/2010:14:13:43 --0500] [
> www.mrsec.com/sid#2266900][rid#27d9a68/initial]
> > (3) [perdir /var/www/vhosts/mrsec.com/httpdocs/] add path info postfix:
> > /var/www/vhosts/mrsec.com/httpdocs/story -> /var/www/vhosts/
> > mrsec.com/httpdocs/story/about-12-minutes-of-good-basketball
> > 74.93.48.82 - - [05/Feb/2010:14:13:43 --0500] [
> www.mrsec.com/sid#2266900][rid#27d9a68/initial]
> > (3) [perdir /var/www/vhosts/mrsec.com/httpdocs/] strip per-dir prefix:
> > /var/www/vhosts/
> > mrsec.com/httpdocs/story/about-12-minutes-of-good-basketball ->
> > story/about-12-minutes-of-good-basketball
> > 74.93.48.82 - - [05/Feb/2010:14:13:43 --0500] [
> www.mrsec.com/sid#2266900][rid#27d9a68/initial]
> > (3) [perdir /var/www/vhosts/mrsec.com/httpdocs/] applying pattern '.' to
> > uri 'story/about-12-minutes-of-good-basketball'
> > 74.93.48.82 - - [05/Feb/2010:14:13:43 --0500] [
> www.mrsec.com/sid#2266900][rid#27d9a68/initial]
> > (2) [perdir /var/www/vhosts/mrsec.com/httpdocs/] rewrite
> > 'story/about-12-minutes-of-good-basketball' -> '/index.php'
> > 74.93.48.82 - - [05/Feb/2010:14:13:43 --0500] [
> www.mrsec.com/sid#2266900][rid#27d9a68/initial]
> > (2) [perdir /var/www/vhosts/mrsec.com/httpdocs/] trying to replace
> prefix
> > /var/www/vhosts/mrsec.com/httpdocs/ with /
> > 74.93.48.82 - - [05/Feb/2010:14:13:43 --0500] [
> www.mrsec.com/sid#2266900][rid#27d9a68/initial]
> > (1) [perdir /var/www/vhosts/mrsec.com/httpdocs/] internal redirect with
> > /index.php [INTERNAL REDIRECT]
> > 74.93.48.82 - - [05/Feb/2010:14:13:43 --0500] [
> www.mrsec.com/sid#2266900][rid#27e5f88/initial/redir#1]
> > (3) [perdir /var/www/vhosts/mrsec.com/httpdocs/] strip per-dir prefix:
> > /var/www/vhosts/mrsec.com/httpdocs/index.php -> index.php
> > 74.93.48.82 - - [05/Feb/2010:14:13:43 --0500] [
> www.mrsec.com/sid#2266900][rid#27e5f88/initial/redir#1]
> > (3) [perdir /var/www/vhosts/mrsec.com/httpdocs/] applying pattern
> > '^admin(.*)$' to uri 'index.php'
> > 74.93.48.82 - - [05/Feb/2010:14:13:43 --0500] [
> www.mrsec.com/sid#2266900][rid#27e5f88/initial/redir#1]
> > (3) [perdir /var/www/vhosts/mrsec.com/httpdocs/] strip per-dir prefix:
> > /var/www/vhosts/mrsec.com/httpdocs/index.php -> index.php
> > 74.93.48.82 - - [05/Feb/2010:14:13:43 --0500] [
> www.mrsec.com/sid#2266900][rid#27e5f88/initial/redir#1]
> > (3) [perdir /var/www/vhosts/mrsec.com/httpdocs/] applying pattern '.' to
> > uri 'index.php'
> > 74.93.48.82 - - [05/Feb/2010:14:13:43 --0500] [
> www.mrsec.com/sid#2266900][rid#27e5f88/initial/redir#1]
> > (1) [perdir /var/www/vhosts/mrsec.com/httpdocs/] pass through
> > /var/www/vhosts/mrsec.com/httpdocs/index.php
> >
> >
> > Shane
> >
> > Jeremi Bergman wrote:
> >
> >  In my example, I was able to request (from lwp-request) the URL "/about"
> > and
> >
> >
> >  was served "/story/about-12-minutes-of-good-basketball<
> >
> >
> >  http://www.mrsec.com/story/about-12-minutes-of-good-basketball>".
> >
> >
> >  "about" is not a valid page, it's about-2.  But I dont know what would
> be
> > redirecting it...
> >
> >  Jeremi Bergman
> > 865-951-5354
> >
> >
> > On Fri, Feb 5, 2010 at 1:51 PM, Dave Viner <dave at vinertech.com> <
> dave at vinertech.com> wrote:
> >
> >
> >
> >  In my example, I was able to request (from lwp-request) the URL "/about"
> > and
> > was served "/story/about-12-minutes-of-good-basketball<
> > http://www.mrsec.com/story/about-12-minutes-of-good-basketball> <
> http://www.mrsec.com/story/about-12-minutes-of-good-basketball>".
> >  Do you see anything in the rewrite logs for that?  I left the date in
> the
> > email (Date: Fri, 05 Feb 2010 16:50:53 GMT) so that you can track it
> > closely.
> >
> > If not, then we're pretty certainly in the issue of WP making that
> redirect
> > happen.  In which case, it would be helpful to know what plugins you're
> > using and what your permalinks settings are.
> >
> > Dave Viner
> >
> >
> > On Fri, Feb 5, 2010 at 9:31 AM, Shane Chambers <knoxpics at gmail.com> <
> knoxpics at gmail.com> wrote:
> >
> >
> >
> >  Mike, Dave,
> >
> > PHP is sitting at the newest Debian release, with security patches.
> >
> > root at server-new: php --version
> > PHP 5.2.6-1+lenny4 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 22 2009
> > 01:50:58)
> > Copyright (c) 1997-2008 The PHP Group
> > Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
> >   with XCache v1.2.2, Copyright (c) 2005-2007, by mOo
> >   with Suhosin v0.9.27, Copyright (c) 2007, by SektionEins GmbH
> >
> > Apache logs the correct request, at least for all the times I've gone
> > looking at it.  (which is quite a few times)
> >
> > I've looked though the rewrite logs, and couldn't find anything
> >
> >
> >  conclusive.
> >
> >
> >   Nothing referencing changing say "tags/vanderbilt" to anything having
> to
> >
> >
> >  do
> >
> >
> >  with feed.  (that's why the RewriteLogLevel was set to 9, I wasn't
> seeing
> > anything at 3, so I bumped it up to max logs)
> >
> > The rest is going to have to wait for Jeremi to chime in about.
> >
> > Shane
> >
> >
> > Mike Little wrote:
> >
> >
> >
> >  Jeremi
> >
> > A couple of things to check, when the wrong page is delivered, e.g. rss
> > feed
> > instead of about page, what does the apache log record? It will likely
> >
> >
> >  be
> >
> >
> >  difficult to check when the site is busy but looking for a know ip
> >
> >
> >  address
> >
> >
> >  at a specific time will help you tie it down. Does the apache log record
> > the
> > the request was for about or for the feed? If for the about page, then
> >
> >
> >  you
> >
> >
> >  can rule out external, influences. I suspect you have got to that stage
> > already.
> > The next thing is to tie that request in with the rewrite logs  - I
> >
> >
> >  think
> >
> >
> >  Shane has already determined that things look ok.
> >
> > So you are probably back to something going wrong within WordPress'
> > execution chain.
> >
> > It may be a shot in the dark, but I once had a vaguely similar issue
> >
> >
> >  with
> >
> >
> >  a
> > client's site. In this case the page title was being set to the wrong
> > thing.
> > So the home page might  have a title tag of search results! It
> > was intermittent (but was then cached by a front end caching server!)
> >
> >
> >  but
> >
> >
> >  was defintiley happening under high load.
> >
> > I had just enabled All in one SEO plugin, and when I turned it off
> >
> >
> >  again,
> >
> >
> >  it
> > went away.
> >
> > I think it was going wrong because AIOSEO does whole page buffering and
> >
> >
> >  I
> >
> >
> >  believed that there might be a threading issue  with specific versions
> >
> >
> >  of
> >
> >
> >  PHP and output buffering. So that the buffered contents of one request
> > were
> > returned to the code running a different request. In my case the site
> >
> >
> >  was
> >
> >
> >  running an out of date version of PHP, and running on Windows.
> >
> > I see you are not running on Windows, but I think it is worth checking
> > these
> > two things.
> > Are you running a plugin that does lots of output buffering?
> > and is your version of PHP up-to-date?
> >
> > Another thing I would try: When you get a wrong page - save the HTML and
> > headers. Then access the page you received directly and save the HTML
> >
> >
> >  and
> >
> >
> >  headers. Compare the two pairs (possibly ignoring time stamps). If they
> > are
> > identical, then the error may well be in the template/redirection logic
> > within WordPress and it's plugins.
> > If they are different, then I would more strongly suspect output
> > buffering.
> >
> >
> >
> > Hope this helps,
> >
> >
> > Mike
> >
> >
> >
> >
> >  _______________________________________________
> > wp-hackers mailing listwp-hackers at lists.automattic.comhttp://
> lists.automattic.com/mailman/listinfo/wp-hackers
> >
> >        _______________________________________________
> > wp-hackers mailing listwp-hackers at lists.automattic.comhttp://
> lists.automattic.com/mailman/listinfo/wp-hackers
> >
> >      _______________________________________________
> > wp-hackers mailing listwp-hackers at lists.automattic.comhttp://
> lists.automattic.com/mailman/listinfo/wp-hackers
> >
> >
>
>
>
> ---------- Forwarded message ----------
> From: Jeremi Bergman <jeremib at gmail.com>
> To: wp-hackers at lists.automattic.com
> Date: Fri, 5 Feb 2010 14:24:05 -0500
> Subject: Re: [wp-hackers] Need Help, I cannot figure this out.
> >
> > mysql> select * from wp_posts where post_name = 'about';
>
>
> +-------+-------------+---------------------+---------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+---------------+--------------+-------------+----------------+-------------+---------------+-----------+---------+--------+---------------------+---------------------+-----------------------+-------------+-----------------------------+------------+-----------+----------------+---------------+
>
>  | ID    | post_author | post_date           | post_date_gmt       |
> > post_content
> >
> >
> >                                          | post_title | post_category |
> > post_excerpt | post_status | comment_status | ping_status | post_password
> |
> > post_name | to_ping | pinged | post_modified       | post_modified_gmt
> |
> > post_content_filtered | post_parent | guid                        |
> > menu_order | post_type | post_mime_type | comment_count |
>
>
> +-------+-------------+---------------------+---------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+---------------+--------------+-------------+----------------+-------------+---------------+-----------+---------+--------+---------------------+---------------------+-----------------------+-------------+-----------------------------+------------+-----------+----------------+---------------+
>
>  | 82217 |           1 | 2009-10-03 01:19:22 | 2009-10-03 05:19:22 | This
> is
> > an example of a WordPress page, you could edit this to put information
> about
> > yourself or your site so readers know where you are coming from. You can
> > create as many pages like this one or sub-pages as you like and manage
> all
> > of your content inside of WordPress. | About      |             0 |
> >      | trash       | open           | open        |               | about
> >   |         |        | 2010-02-04 08:34:44 | 2010-02-04 13:34:44 |
> >             |           0 | http://mrsec.com/?page_id=2 |          0 |
> > page      |                |             0 |
>
>
> +-------+-------------+---------------------+---------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+---------------+--------------+-------------+----------------+-------------+---------------+-----------+---------+--------+---------------------+---------------------+-----------------------+-------------+-----------------------------+------------+-----------+----------------+---------------+
>
>  1 row in set (0.00 sec)
>
>
>
> Let me delete this page and see what happens.
>
> Jeremi Bergman
> 865-951-5354
>
>
> On Fri, Feb 5, 2010 at 2:19 PM, Steve Pellham <spellham at gmail.com> wrote:
>
> > If 'about' didn't exist, it shouldn't have returned a 301 in the wget/log
> > request where it redirected to the 12 minutes post - it should have
> > returned
> > a 404, right?
> >
> > Check the posts table for the post_name of 'about' in the db and see if
> > there is some type of redirect code or other content/code that is causing
> > the redirect.  If 'about' truly doesn't exist in the posts db table, then
> > it
> > could be something else that is causing the redirect.   Your 404 page
> seems
> > to return the appropriate status, so this still seems to point to either
> a
> > content or plugin issue.   Hopefully nothing malicious, but maybe?
> >
> > #1 Server Response: http://www.mrsec.com/fdjaklfjdklasfHTTP Status
> > Code <http://www.seoconsultants.com/tools/headers.asp#status-codes>:
> > HTTP/1.0 404 Not Found
> > Date: Fri, 05 Feb 2010 19:17:33 GMT
> > Server: Apache/2.2.9 (Debian) DAV/2 PHP/5.2.6-1+lenny4 with
> > Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0
> > X-Powered-By: PHP/5.2.6-1+lenny4
> > X-Pingback: http://www.mrsec.com/xmlrpc.php
> > Expires: Wed, 11 Jan 1984 05:00:00 GMT
> > Last-Modified: Fri, 05 Feb 2010 19:17:33 GMT
> > Cache-Control: no-cache, must-revalidate, max-age=0
> > Pragma: no-cache
> > Vary: Accept-Encoding
> > Connection: close
> > Content-Type: text/html; charset=UTF-8
> >
> >
> >
> >
> >
> > On Fri, Feb 5, 2010 at 1:06 PM, Jeremi Bergman <jeremib at gmail.com>
> wrote:
> >
> > > >
> > > > In my example, I was able to request (from lwp-request) the URL
> > "/about"
> > > > and
> > >
> > > was served "/story/about-12-minutes-of-good-basketball<
> > > > http://www.mrsec.com/story/about-12-minutes-of-good-basketball>".
> > >
> > >
> > > "about" is not a valid page, it's about-2.  But I dont know what would
> be
> > > redirecting it...
> > >
> > >  Jeremi Bergman
> > > 865-951-5354
> > >
> > >
> > > On Fri, Feb 5, 2010 at 1:51 PM, Dave Viner <dave at vinertech.com> wrote:
> > >
> > > > In my example, I was able to request (from lwp-request) the URL
> > "/about"
> > > > and
> > > > was served "/story/about-12-minutes-of-good-basketball<
> > > > http://www.mrsec.com/story/about-12-minutes-of-good-basketball>".
> > > >  Do you see anything in the rewrite logs for that?  I left the date
> in
> > > the
> > > > email (Date: Fri, 05 Feb 2010 16:50:53 GMT) so that you can track it
> > > > closely.
> > > >
> > > > If not, then we're pretty certainly in the issue of WP making that
> > > redirect
> > > > happen.  In which case, it would be helpful to know what plugins
> you're
> > > > using and what your permalinks settings are.
> > > >
> > > > Dave Viner
> > > >
> > > >
> > > > On Fri, Feb 5, 2010 at 9:31 AM, Shane Chambers <knoxpics at gmail.com>
> > > wrote:
> > > >
> > > > > Mike, Dave,
> > > > >
> > > > > PHP is sitting at the newest Debian release, with security patches.
> > > > >
> > > > > root at server-new: php --version
> > > > > PHP 5.2.6-1+lenny4 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 22
> > 2009
> > > > > 01:50:58)
> > > > > Copyright (c) 1997-2008 The PHP Group
> > > > > Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
> > > > >   with XCache v1.2.2, Copyright (c) 2005-2007, by mOo
> > > > >   with Suhosin v0.9.27, Copyright (c) 2007, by SektionEins GmbH
> > > > >
> > > > > Apache logs the correct request, at least for all the times I've
> gone
> > > > > looking at it.  (which is quite a few times)
> > > > >
> > > > > I've looked though the rewrite logs, and couldn't find anything
> > > > conclusive.
> > > > >  Nothing referencing changing say "tags/vanderbilt" to anything
> > having
> > > to
> > > > do
> > > > > with feed.  (that's why the RewriteLogLevel was set to 9, I wasn't
> > > seeing
> > > > > anything at 3, so I bumped it up to max logs)
> > > > >
> > > > > The rest is going to have to wait for Jeremi to chime in about.
> > > > >
> > > > > Shane
> > > > >
> > > > >
> > > > > Mike Little wrote:
> > > > >
> > > > >> Jeremi
> > > > >>
> > > > >> A couple of things to check, when the wrong page is delivered,
> e.g.
> > > rss
> > > > >> feed
> > > > >> instead of about page, what does the apache log record? It will
> > likely
> > > > be
> > > > >> difficult to check when the site is busy but looking for a know ip
> > > > address
> > > > >> at a specific time will help you tie it down. Does the apache log
> > > record
> > > > >> the
> > > > >> the request was for about or for the feed? If for the about page,
> > then
> > > > you
> > > > >> can rule out external, influences. I suspect you have got to that
> > > stage
> > > > >> already.
> > > > >> The next thing is to tie that request in with the rewrite logs  -
> I
> > > > think
> > > > >> Shane has already determined that things look ok.
> > > > >>
> > > > >> So you are probably back to something going wrong within
> WordPress'
> > > > >> execution chain.
> > > > >>
> > > > >> It may be a shot in the dark, but I once had a vaguely similar
> issue
> > > > with
> > > > >> a
> > > > >> client's site. In this case the page title was being set to the
> > wrong
> > > > >> thing.
> > > > >> So the home page might  have a title tag of search results! It
> > > > >> was intermittent (but was then cached by a front end caching
> > server!)
> > > > but
> > > > >> was defintiley happening under high load.
> > > > >>
> > > > >> I had just enabled All in one SEO plugin, and when I turned it off
> > > > again,
> > > > >> it
> > > > >> went away.
> > > > >>
> > > > >> I think it was going wrong because AIOSEO does whole page
> buffering
> > > and
> > > > I
> > > > >> believed that there might be a threading issue  with specific
> > versions
> > > > of
> > > > >> PHP and output buffering. So that the buffered contents of one
> > request
> > > > >> were
> > > > >> returned to the code running a different request. In my case the
> > site
> > > > was
> > > > >> running an out of date version of PHP, and running on Windows.
> > > > >>
> > > > >> I see you are not running on Windows, but I think it is worth
> > checking
> > > > >> these
> > > > >> two things.
> > > > >> Are you running a plugin that does lots of output buffering?
> > > > >> and is your version of PHP up-to-date?
> > > > >>
> > > > >> Another thing I would try: When you get a wrong page - save the
> HTML
> > > and
> > > > >> headers. Then access the page you received directly and save the
> > HTML
> > > > and
> > > > >> headers. Compare the two pairs (possibly ignoring time stamps). If
> > > they
> > > > >> are
> > > > >> identical, then the error may well be in the template/redirection
> > > logic
> > > > >> within WordPress and it's plugins.
> > > > >> If they are different, then I would more strongly suspect output
> > > > >> buffering.
> > > > >>
> > > > >>
> > > > >>
> > > > >> Hope this helps,
> > > > >>
> > > > >>
> > > > >> Mike
> > > > >>
> > > > >>
> > > > > _______________________________________________
> > > > > 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
> >
>
>
>
> ---------- Forwarded message ----------
> From: Andrew Nacin <wp at andrewnacin.com>
> To: wp-hackers at lists.automattic.com
> Date: Fri, 5 Feb 2010 14:26:10 -0500
> Subject: Re: [wp-hackers] Need Help, I cannot figure this out.
> >
> > The About page redirecting is strange, but this is not the original
> symptom
> > that led me to post on the list.
> >
>
> The about redirect is a canonical redirect that WordPress does. Since
> /about
> doesn't exist, WordPress goes hunting for a page seems to be a decent
> match,
> hence why you're getting /story/about-12-minutes-of-good-basketball.
>
> (Sidenote: There has been some discussion whether some canonical redirects
> are too liberal: http://core.trac.wordpress.org/ticket/8948.)
>
>
> _______________________________________________
> 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