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
On development and often in production too I have Grav installed in a subdirectory.
If so the ''view page' and 'view page stats' links on the 'admin/page-stats' page do not have the subdirectory or path in them. They always link to the web root.
For example if I have Grav in 'htdocs/grav' on localhost the URL of the standard 'typography' page is http://localhost/grav/typography. However the 'view page' link is http://localhost/typography and the 'view page stats' link is http://localhost/admin/page-stats/page-details?page=/typography.
The text was updated successfully, but these errors were encountered:
It does fix the problem with links to pages but unfortunately all links to stats remain broken. That is all links with the fa-line-chart icon. For example the URL of the Top Users statistics details is http://localhost/grav/admin/page-stats/top-users but the link is http://localhost/admin/page-stats/top-users.
The documentation) states that the home_url variable takes the currently active language into account. So I tested using an active language and it works okay.
I did not test with Grav being in the document root.
First of all thanks for this great plugin!
On development and often in production too I have Grav installed in a subdirectory.
If so the ''view page' and 'view page stats' links on the 'admin/page-stats' page do not have the subdirectory or path in them. They always link to the web root.
For example if I have Grav in 'htdocs/grav' on localhost the URL of the standard 'typography' page is
http://localhost/grav/typography
. However the 'view page' link ishttp://localhost/typography
and the 'view page stats' link ishttp://localhost/admin/page-stats/page-details?page=/typography
.The text was updated successfully, but these errors were encountered: