fl4p / WP-Filebase

WP-Filebase
http://wpfilebase.com/
34 stars 35 forks source link

Pagination and search do not work with permalinks #49

Open c-pohl opened 8 years ago

c-pohl commented 8 years ago

Hi everyone,

I am falling into despair over a longterm issue I have with WP-Filebase.

Using Permalinks to structure the sites URLs will break the pagination and search functionality of WP-Filebase: http://kzfss.uni-koeln.de/staging Does anyone have a idea, what is going on here?

This is our .htaccess:

# 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
# RewriteCond %{QUERY_STRING} \\?s=([^&]+) [NC]
# RewriteRule ^$ /search/%1/? [NC,R,L]

All the best and thanks Christopher

c-pohl commented 8 years ago

Ok, seems like I found the problem: Pagination works on the provided example page (kzfss.uni-koeln.de/staging), but not on any page with deeper node, like kzfss.uni-koeln.de/materialien/anhaenge-und-tabellen/