Permalinks Break Detail Pages

This topic is: not resolved

This topic contains 5 replies, has 2 voices, and was last updated by  jackson 3 years, 3 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #161427

    sc0ttkclark
    Keymaster
    Post count: 799

    Ah looks like you’ve got doubles going on. Try this:

    1. Clear your htaccess file and reupload it as an empty file

    2. Turn off and back on your Permalinks (set to whatever structure you want)

    3. Try again to view your Pod Pages

    Let me know if that works! If it doesn’t, feel free to join up in our Chat room and get some one-on-one.

    #161428

    jackson
    Participant
    Post count: 6

    Hi Scott, I tried as you suggested and the problem remains.

    To be clear, my .htaccess is now as follows when I look at it after turning permalinks back on.

    <pre>

    BEGIN WordPress

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    END WordPress

    </pre>

    #161429

    sc0ttkclark
    Keymaster
    Post count: 799

    Sorry I missed you in the chat, send us an e-mail to pods@uproot.us with login details to your WP and I’ll take a look in there to see if I can help determine the exact issue.

    #161430

    jackson
    Participant
    Post count: 6

    Scott, thanks so much – just emailed you login info.

    #161426

    jackson
    Participant
    Post count: 6

    I’m trying to get WordPress permalinks to work nicely with Pods and running into trouble.

    Pods 1.8.1 + WP 2.9.1

    Only other plugins are Akisment and Pods UI

    If I turn off WP permalinks (set to the default), the /state and /state/* Pods pages work just fine : ) When set to default, my .htaccess looks like:

    <pre><IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    BEGIN WordPress

    END WordPress</pre>

    When I turn on permalinks regardless of structure, but always using /%postname%/ as recommended – the Pod pages stop working correctly. WP pages work fine. The Pod pages do not throw a 404 and display the proper title, it’s just that the pod content is not shown. I can verify that the pods.php template is being used from the comments output.

    .htaccess looks like this at that point

    <pre>
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    BEGIN WordPress

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    END WordPress

    </pre>

    Any thoughts greatly appreciated!

    #161431

    jackson
    Participant
    Post count: 6

    Scott is my hero.

    My pods.php template had a loop which was screwing things up.

    To quote "The issue was in your theme. Pods exists outside the loop. When permalinks were turned on – WP didn’t find a Page and thus didn’t run the loop for members or the members/* Pod Pages. "

    Removing the loop solved things.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Wordpress Cloud Hosting