diff --git a/public/.htaccess b/public/.htaccess index 0b95597..0f3cf26 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -14,8 +14,8 @@ RewriteRule ^post/([a-z0-9][a-z0-9-]*)/?$ /index.php?action=view&slug=$1 [L,QSA] # Filtre par catégorie : /categorie/ RewriteRule ^categorie/(.+?)/?$ /index.php?cat=$1 [L,QSA,NE] -# Pagination par curseur : /cursor/ -RewriteRule ^cursor/([0-9a-f-]{36})/?$ /index.php?cursor=$1 [L,QSA] +# Pagination par curseur : /page/ +RewriteRule ^page/([0-9a-f-]{36})/?$ /index.php?cursor=$1 [L,QSA] # Édition / création RewriteRule ^edit/([0-9a-f-]{36})/?$ /index.php?action=edit&uuid=$1 [L,QSA] diff --git a/templates/post_list.php b/templates/post_list.php index 322c25d..75022f2 100644 --- a/templates/post_list.php +++ b/templates/post_list.php @@ -85,13 +85,13 @@ ob_start(); } elseif ($hasCat) { $prevHref = $catBase . '?cursor=' . rawurlencode($prevCursor); } else { - $prevHref = '/cursor/' . rawurlencode($prevCursor); + $prevHref = '/page/' . rawurlencode($prevCursor); } ?> ← Plus récents - + Plus anciens →