latintop
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Upgraded to 2.5, now pages don’t display…WTF?Shafeng.
My fix only works if your permalink is different than page link. In my case page is/index.php/<page-name>
and post isindex.php/<post-name>/%year%/%monthnum%/%day%
this way wp can distinguish between post and page.
c0y0te, can you post your permalink?Forum: Installing WordPress
In reply to: Upgraded to 2.5, now pages don’t display…WTF?Hello.
I fixed this error on my website. In my case the problem was that wp2.5 was not able to recongnize a page because my permalink started with%postname%
so I modifiedwp-includes/query.php
I added:} elseif ( ('' != $qv['name']) && ('' == $qv['year']) ) { $this->is_single = false; $this->is_page = true;
Before:
} elseif ( '' != $qv['name'] ) { $this->is_single = true;
Now wp looks if the file also had a year (it could be monthnum or day) so it can recognize a page as a page
index.php/page-name
This only fix the case when you useindex.php/%postname%/%other-variables%
Hope this help you. Sorry for my English :/Forum: Installing WordPress
In reply to: Upgraded to 2.5, now pages don’t display…WTF?In my case page is loading with post template (single.php) not page template (page.php)
It looks like WP 2.5 is thinking that a page is a post. Maybe because it create a match for every level?%page%/%year/%monthnum%
is converted to%page%
and%page%/%year%
and%page%/%year%/%monthnum%
? Any WP programmer here? In previus versions this works!
Thanks,
JorgeForum: Installing WordPress
In reply to: Upgraded to 2.5, now pages don’t display…WTF?I’m investigating and had found that if I change my permalink wp works.
Right now I’m using:/index.php/%postname%/%year%/%monthnum%/%day%
that doesn’t works. Default works, also/index.php/%year%/%monthnum%/%day%/%postname%
I think that WP 2.5 can’t differenciate a page from a post if %postname% follows index.php/ anyone knows where WP 2.5 checks the url to apply permalink?
Can you post your permalinks that doesn’t works so I can confirms my thoughts?
ThanksForum: Installing WordPress
In reply to: Upgraded to 2.5, now pages don’t display…WTF?Hi.
I have the same problem. I upgraded to 2.5 and pages stop working with “no post matched criteria” message on body, headers, footers, sidebar, posts, and everything else works. In my other server with the same configuration it works after upgrade.
Any clue on this?
Thanks in advance,
JorgeForum: Fixing WordPress
In reply to: Next Page not working, only on main blog indexHi.
I fixed my problem by editing function get_pagenum_link in link-template.php.
I added
$qstr = str_replace"index.phpIndex.php","index.php",$qstr);
before:
return $qstr;
Hope this help.Forum: Fixing WordPress
In reply to: Next Page not working, only on main blog indexHi.
I have a similar problem. posts_nav_link works in every page but not in my front page: https://www.latintop.com but if I go to https://www.latintop.com/index.php it works. On front page it generate this link: https://www.latintop.com/index.phpIndex.php/page/2/
I had read everything I could but I had not found any solution.
Thanks in advance for your help.