Hi, I'm using some javascript to display my joomla pages and it requires all my links to finish with this string
/#!/[somestring]
The menu items are not a problem, they're just external urls written by myself but for inner links, for example, products links from hikashop, I modified .htaccess this way:
RewriteRule .* index.php [C] #(last rule in normal joomla .htaccess, changed from LAST to CHAINED)
RewriteRule ^(.*)$ $1/#!/component [R=301,NE,L]
Inner link has its normal text, example:
http://[my_webserver]/index.php/hikashop/product/1-bread/
But, once the link is clicked, browser lands in a page the form I want:
http://[my_webserver]/index.php/hikashop/product/1-bread/#!/component
The problem is, it doesn't load the desired content but it loads part of homepage again. I think it's HS failing to resolve the new url. Any suggestion? I'm open to solutions that doesn't include modifying .htaccess too.
Thanks in advance,