You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added a <BASE href="/"> tag to the layout.html.php of my template to enable it to interact correctly with my included header and footer from the main website (htmly is stored at /news). The issue is that the pagination now points to http://example.com/?page=1 and even if I manually type /news/?page=2 it still returns the results for the first page. Is there a way to modify the htaccess file to accept /news/page/2 and pass the GET variable that way?
I tried the following rules with no luck: RewriteRule ^page/([^/\.]+)?$ index.php?page=$1 [NC] RewriteRule ^page/([^/\.]+)/?$ index.php?page=$1 [NC]
The text was updated successfully, but these errors were encountered:
We must change the core to accept that /news/page/2 (htmly.php). I will close this one. Let see if this can be implemented into HTMLy in the future. Thanks.
I added a
<BASE href="/">
tag to the layout.html.php of my template to enable it to interact correctly with my included header and footer from the main website (htmly is stored at /news). The issue is that the pagination now points to http://example.com/?page=1 and even if I manually type /news/?page=2 it still returns the results for the first page. Is there a way to modify the htaccess file to accept /news/page/2 and pass the GET variable that way?I tried the following rules with no luck:
RewriteRule ^page/([^/\.]+)?$ index.php?page=$1 [NC]
RewriteRule ^page/([^/\.]+)/?$ index.php?page=$1 [NC]
The text was updated successfully, but these errors were encountered: