0

I have This Url Using hash bang method:

mydomain/gallery/view/246/gallery-title/#!/page=2&order=desc 

for rewrite url :

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(gallery)/(.*)/([0-9]+)/(.*)$ index.php?page=$1&type=$2&id=$3&title=$4&lang=en [NC,L,QSA]

No I need to GET page number(i.e:2) and order(desc) value from url. how to get this value?

NewCod3r
  • 1,168
  • 1
  • 12
  • 28

1 Answers1

-2

This can not work because the hashbang is never sent to the server, you can confirm this by checking your logs.

As a workaround for example can change the hashbang to normal query parameters using URI.js so they are available on the server.

Mon Villalon
  • 682
  • 3
  • 11