Found a much better way to write Apache Rewrite Rules for ERPNext
You can remove the current rewrite rules and add:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/([^/]+)$ $1/web.py?page=$2 [QSA,L]
Note: The QSA (Query String Appended) tag is required for new webshop functionality.
best,
Rushabh
W: https://erpnext.com
T: @rushabh_mehta
T: @rushabh_mehta
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.