hypesciencecom
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Permalink problem only with pageshttp://trac.wordpress.org/ticket/6650
This fix solved the problem.
Forum: Fixing WordPress
In reply to: Permalink problem only with pagesI did this:
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 modified wp-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 use index.php/%postname%/%other-variables%
Hope this help you. Sorry for my English :/Ogigin: http://wordpress.org/support/topic/164360/page/2?replies=100
It did work. The pages came back working. The problem was that no posts worked anymore. Corrected the pages permalink and messed up posts permalink.
Forum: Fixing WordPress
In reply to: Permalink problem only with pagesForum: Fixing WordPress
In reply to: Permalink problem only with pagesI did that and worked. Then I did other changes and the problem came back up again.
Any other suggerstions?
Forum: Fixing WordPress
In reply to: Permalink problem only with pagesI discovered something curious.
I updated a test-only blog and applyed the same permalinks structure. Had the same issue. And it was working before.
Then I changes te permalink structure again to:
/index.php/%year%/%monthnum%/%day%/%postname%/
Worked. It worked on both blogs.
All that made me think that it is a bug on permalinks on wp 2.5 that makes it not work with the /index.php/%postname%/ structure. at least on IIS.
But then, I tried to test again and IT WORKS NOW!
Crazy!
If you need I could help testing it.