- This topic has 19 replies, 3 voices, and was last updated 4 years, 7 months ago by Tom.
-
AuthorPosts
-
July 12, 2019 at 11:46 pm #956507Benjamin
Hey there,
I have a problem regarding the search and sorting features of the “Cooked” plugin on my website since I’m using the GeneratePress theme.
When I want to search something or try to sort the list of recipes in a different way it doesn’t show the expected results. I just land on the same page where nothing changed. There’s just some design issues that appear (for example on the top left).
You can see that if you try to search something or if you change the sorting in the main section here: https://kontaktgrillrezepte.de/tefal-optigrill-fleisch-grillen/
So there’s clearly something not working properly… Before switching to GeneratePress I used the “Bandana” theme and everything worked fine.
Any idea what’s wrong? I already tried deactivating some Plugins (like Autoptimize) but nothing helped. The plugin creator also told me that is has something to do with the theme…
Thanks in advance!
Regards,
BenjaminJuly 13, 2019 at 7:48 am #956773DavidStaffCustomer SupportHi there,
i can’t see what the theme would do that would effect the plugin.
What happens if you temporarily switch to the TwentySeventeen theme?July 13, 2019 at 8:48 am #956914BenjaminHey David,
when I switch to a different template everything works fine… that’s why I assume it must have something to do with GeneratePress.
What I noticed was that when I used the pagination of the Cooked plugin (I recently deactivated it because it also failed to work properly) with the GeneratePress theme it generated a different slug for the second or third page than before, when I was using the Bandana theme.
Slug for 2nd page with Bandana theme: “/page/2/?paged=2” (showed page 2, everything fine)
Slug for 2nd page with GeneratePress theme: “/?paged=2” (showed page 1 instead, with some design issues)Does this help?
July 13, 2019 at 10:14 pm #957199TomLead DeveloperLead DeveloperGeneratePress doesn’t have any say over permalinks, so it’s strange that they’re different. The format changes like this if you switch between themes on the same site?
Are you using a child theme with any functions?
July 14, 2019 at 3:33 am #957310BenjaminThat seems strange…but when I use a different theme it uses different permalinks.
I don’t have any child themes installed. I’m just using the GeneratePress Pro with all Premium modules activated.July 14, 2019 at 9:44 am #957612TomLead DeveloperLead DeveloperDo you have any code added inside Elements or GP Hooks which could be affecting the permalinks?
July 14, 2019 at 2:22 pm #957789BenjaminNo, I didn’t change anything there…
What I just found out: When I add a comment on one of the pages (normal WP comments), the comment is published but I instantly land the homepage (URL is “https://kontaktgrillrezepte.de/wp-comments-post.php”) and there I get the same design errors like when I use the sorting or search features with the Cooked plugin…
Does it mean that there might be a general PHP problem with the whole theme…?
July 14, 2019 at 4:49 pm #957875TomLead DeveloperLead DeveloperIf it was a problem with the theme, the issue would be present on all websites using it (including the one we’re on now).
Does the comment issue happen with the Cooked plugin turned off?
It sounds like the redirects in WordPress are broken. What do you have set as your permalinks in “Settings > Permalinks”?
July 15, 2019 at 8:38 am #958451BenjaminI just deactivated the Cooked plugin but the comment issue still happened…
I use this custom permalink structure: “https://kontaktgrillrezepte.de/%category%/%postname%/”
July 15, 2019 at 10:12 am #958539TomLead DeveloperLead DeveloperWhat if you choose “Post Name”? Does the issue go away?
The fact that comments are broken without the plugin tells me something about your permalinks/redirects are broken.
July 18, 2019 at 9:17 am #961312BenjaminI changed the permalinks to Post Name but that didn’t resolve the issue…
July 18, 2019 at 5:45 pm #961550TomLead DeveloperLead DeveloperAnd just to confirm, if you switch this exact site to one of the default Twenty-something themes, the issue goes away?
Have you made any changes to your
.htaccess
file?July 22, 2019 at 10:04 am #964339BenjaminYes it did work when I switched to a different template.
This is the content of my .htaccess:
php_value upload_max_filesize 2500M
php_value post_max_size 2500M
php_value memory_limit 256M# BEGIN rlrssslReallySimpleSSL rsssl_version[3.2]
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTPS} !=on [NC]
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
</IfModule>
# END rlrssslReallySimpleSSL
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
## BEGIN GZIP Compression ##
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/x-httpd-php
AddOutputFilterByType DEFLATE application/x-httpd-fastphp
AddOutputFilterByType DEFLATE image/svg+xml
SetOutputFilter DEFLATE
</IfModule>
## END GZIP Compression ### TN – START EXPIRES CACHING #
<IfModule mod_expires.c>
FileETag MTime Size
AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css application/xml application/xhtml+xml application/rss+xml application/javascript application/x-javascript
ExpiresActive On
ExpiresByType text/html “access 600 seconds”
ExpiresByType application/xhtml+xml “access 600 seconds”
ExpiresByType text/css “access 1 month”
ExpiresByType text/javascript “access 1 month”
ExpiresByType text/x-javascript “access 1 month”
ExpiresByType application/javascript “access 1 month”
ExpiresByType application/x-javascript “access 1 month”
ExpiresByType application/x-shockwave-flash “access 1 month”
ExpiresByType application/pdf “access 1 month”
ExpiresByType image/x-icon “access 1 year”
ExpiresByType image/jpg “access 1 year”
ExpiresByType image/jpeg “access 1 year”
ExpiresByType image/png “access 1 year”
ExpiresByType image/gif “access 1 year”
ExpiresByType image/svg+xml “access 1 year”
ExpiresDefault “access 1 month”
</IfModule>
# TN – END EXPIRES CACHING #July 22, 2019 at 5:48 pm #964596TomLead DeveloperLead DeveloperSuper strange, any chance you can send me temporary admin login details so I can take a closer look?: https://generatepress.com/contact
Let me know ๐
July 22, 2019 at 10:47 pm #964700BenjaminJust sent you an e-mail ๐
-
AuthorPosts
- You must be logged in to reply to this topic.