Have you tried resetting the Permalinks in the Settings section?
This post deleted as irrelevant because I was momentarily confused.
No. But I will say that it’s set to
http://www.example.com//%category%/%postname%
if that helps anyone help me.
Radices, I’m afraid I don’t see how changing that would help.
@dervila, so you want the URL to be site.com/page_name
instead of site.com/parent/page_name
?
Please post the actual URL and I’ll have a look.
Try just /%postname% ..you can change it back anyway that’s how you reset or rebuild the Permalinks.
Wups! I was in a hurry, and so did not completely explain my problem. Sorry. The actual problem is that the new permalinks don’t work as links, whether the file is in a parent subdirectory or not. Clicking on them takes me to Page 404. I’ve even tried cutting and pasting the permalink into my code and still no good.
So @gustavo, I don’t care as long as I don’t have to change the permalink settings.
@radices, the site is roanwoulfe.com. What are you looking for?
Can you double check if the .htaccess
file is still in place and with the right contents?
After checking just go to the Permalinks page on the admin and save again, it should work and check if the page_name
doesn’t exist inside of your public folder. Because if it does your webserver will look there and the 404 will happen.
@radices, I changed the permalink settings as you suggested and the child page permalinks have not changed. Come to think of it, that’s what’s described in the documentation on child pages somewhere in the codex. Sorry, I can’t find it now.
I’ll change the permalink settings back and see if anything’s changed.
@radices, @gustav – Changed the permalinks settings back, still having the same problem.
@gustav – .htaccess file present and contents as they should be.
One of you said the pages are in the database – you’re right, when I said I was moving stuff into a subdirectory I meant the .php template files for those pages. Sorry again for the sloppy thinking.
You cannot move the php files, they must be in the active theme folder. Create a page and publish it. Create another page and make the first page the parent and publish it. Click on View page. What’s the Permalink?
I’m having a similar problem- thinks I screwed up the permalink. does anyone know what the default link should be?
@rguastella – it’s evidently considered a poor practice to post about a problem you’re having on another problem’s thread. People can wind up trying to solve two different problems on one thread and it can get confusing. I urge you to start your own thread, and of course you can cut and paste as much of my posts as apply to your problem.
Good luck.