• Resolved jonnybee

    (@jonnybee)


    Hi all

    I have recently (a few eeeks) switched to ‘Pretty Permalinks’. I’m running 3.0.1 on a Windows box with XAMPP and Apache.

    After I turned on Permalinks, everything was cool. My site is more CMS-like than post-oriented. I do have a Page for posts. My site is not so big, that I couldn’t check all the Pages & Posts after enabling Permalinks, and everything looked OK.

    The Permalink structure I picked was Month and Name. Oddly enough the problem I am having is not with Posts, but with Pages. I have a section (Page Hierarchy) called FAQ. (the anchor page is titled ‘FAQ’). It works OK,

    its permalink is https://bravo.newnetenterprises.com/wordpress/faq/

    I have two FAQ pages under that (which were working OK under permalinks after conversion). I edited one of them to add a new FAQ-let, and, at some point after that, they both became unlinkable. Now when you try to link to them, you get a 404.

    FAQ for MySQL
    Permalink: https://bravo.newnetenterprises.com/wordpress/faq/faq-for-mysql/
    FAQ for XAMPP on Windows
    Permalink: https://bravo.newnetenterprises.com/wordpress/faq/faq-xampp-windows/ ?

    The two pages do have a shortcode embedded for a Custom Post type of FAQ – so I thought that might be the issue, or the ‘well they all start with FAQ” idea – but no. I added a Test FAQ page, made it so its parent was ‘FAQ’ and whammo the 404 pox on it as well. I also added a test page to the IIS Page hierarchy to see if it was ‘all pages’ that were broken when editing/updating, but the ‘IIS Test’ page posted just fine and does not draw the 404 error.

    I’m using the default WordPress .htaccess file, and I did regenerate it as some Tips suggest.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress/index.php [L]
    </IfModule>
    
    # END WordPress

    Yes, mod_rewrite is enabled in Apache. The problem ‘seems’ to be in the FAQ Page hierarchy.

    Feel free to take a look…
    https://bravo.newnetenterprises.com/wordpress/

    I’m stumped…

    Thanks in advance for tips, suggestions, or even better – A FIX!!!

    ?? <= not so rite now

Viewing 4 replies - 1 through 4 (of 4 total)
  • How did you enable your custom post types? What name did you give to the custom post type? It’s possible that you somehow enabled a custom permalink for the custom post type, and the “faq” page is actually showing your archive of those posts. In that case, the permalink for that archive page is possibly conflicting with the permalink you set up for your pages. Try changing the slug for your “faq” page to something like “faq-page” and see if the sub-links (in which you would need to change ‘/faq/’ to ‘/faq-page/’) start working after you’ve changed the slug.

    Thread Starter jonnybee

    (@jonnybee)

    @ cgrymala

    Thanks, you nailed it. I was pretty sure it had to do with ‘too many things being named FAQ’ but I couldn’t see the connection to Permalinks. Your explanation made it all make sense. Hallelujah! – I have seen the WordPress Permalinks Light!!!

    YIKES? is that the one_and_only Curtiss Grymala from YaBB???
    This IS a tiny world (said JonB of the YaBB support team)

    JonB waves “Thanks”

    Wow. Yes, this is me. Glad to see you over here, Jon. You still hanging out over at YaBB? I pop in there from time-to-time, but not very often.

    Thread Starter jonnybee

    (@jonnybee)

    Yep, still at it – someone has to keep Jet Li, the Cap’n and Corey company, LOL.

    Besides there’s all those users that need a little help (just like I did), LOL.

    I also hang out at the Apache Friends (XAMPP) forums, same deal – “answers, man, we need answers”.

    ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘One Page hierarchy broken in Permalinks’ is closed to new replies.