Permalinks Break Detail Pages

0

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!

asked Feb 3 '10 at 6:45

jackson

33

add comment
enter at least 15 characters

5 Answers

0

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.

answered Feb 2 '10 at 6:38

sc0ttkclark

2936

add comment
enter at least 15 characters
0

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>

answered Feb 3 '10 at 6:09

jackson

33

add comment
enter at least 15 characters
0

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.

answered Feb 3 '10 at 12:53

sc0ttkclark

2936

add comment
enter at least 15 characters
0

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

answered Feb 3 '10 at 2:29

jackson

33

add comment
enter at least 15 characters
0

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.

answered Feb 3 '10 at 6:45

jackson

33

add comment
enter at least 15 characters