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
Hello we are using .htaccess with modrewrite to do some url rewriting.
so the problem is for example we have url:
/news/item/5 which actually rewrites via htacces to something like mode=news&id=5
so when pjax is imlemented and link is set to /news/item/5 it refreshes whole page, but if link is set to
?mode=news&id=5 everything works fine.
i think its related to X-PJAX-URL header but documentation is unclear at this point, can anyone help?
The text was updated successfully, but these errors were encountered:
@Guro PJAX doesnt know anything about your server-side magic. it is only aware of urls on the client-side and it expects X-PJAX-URL to be formatted like the urls it uses for navigation.
Hello we are using .htaccess with modrewrite to do some url rewriting.
so the problem is for example we have url:
/news/item/5 which actually rewrites via htacces to something like mode=news&id=5
so when pjax is imlemented and link is set to /news/item/5 it refreshes whole page, but if link is set to
?mode=news&id=5 everything works fine.
i think its related to X-PJAX-URL header but documentation is unclear at this point, can anyone help?
The text was updated successfully, but these errors were encountered: