[wp-trac] [WordPress Trac] #12358: Sub pages aren't handled by page.php
WordPress Trac
wp-trac at lists.automattic.com
Wed Feb 24 12:31:43 UTC 2010
#12358: Sub pages aren't handled by page.php
--------------------------+-------------------------------------------------
Reporter: danielpataki | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.0
Component: General | Version: 3.0
Severity: normal | Resolution: invalid
Keywords: |
--------------------------+-------------------------------------------------
Changes (by danielpataki):
* status: new => closed
* resolution: => invalid
Comment:
Ok, I think you might have found the problem :) I was using url rewritten
permalinks, and just to check, I switched back to the default.
This not only resolved my problem when using the default structure, but
also resolved it when I switched back to the url rewrutten structure.
I am now trying to think hard how I did things when setting up the blog,
because the following scenario is frequent with me. When I am tasked with
redesigning a blog for example, I set up wordpress locally, export the sql
database, in a text file I search for the original url and replace it with
the new one. I then import the database and tie it to the test blog. This
works without fault, but there is one thing I always have to do to make
permalinks work because if I don't each link points to a permalink, but in
fact goes to an error page. The way I resolve this is switch back to the
default view and then back to the rewritten structure. Obviously this
happens because I don't copy the htaccess file from the original, so
wordpress recreates in when I switch to the default view and back again.
However, in this instance I did a completely new install, I don't recall
any database imports, or anything like that. However, I am inclined to say
that this error was caused by myself, so I think it should be set to
invalid, which I have done. If I see this happening again under more
controlled circumstances I will report it again, sorry for wasting your
time and thanks for helping out!
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12358#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list