I've been trying to solve this for the past two hours. I already tried every solution mentioned on google, but without any luck.
Let's start with the problem. I'm trying to use this plugin: http://www.gethifi.com/blog/a-jquery-plugin-to-create-an-interactive-filterable-portfolio-like-ours
on my website. The problem is that this plugin is using Anchor tags. Without it, it doesn't seem to work. Well, I'm trying to work with User Friendly URL's on the website I'm working on right now. So the anchors are not working.
This is my .htaccess file right now:
RewriteEngine On
RewriteBase /
RewriteRule ^([^/]*)\.html$ /mysite/category.php?cat=$1 [L]
RewriteRule ^([^/]*)/([^/]*)\.html$ /mysite/category.php?cat=$1&lang=$2 [L]
Nothing fancy, just some rewrites for categories and languages. The only thing that seems to work is this:
RewriteEngine On
RewriteBase /
RewriteRule ^([^/]*)\.html$ /mysite/category.php?cat=$1 [L]
RewriteRule ^([^/]*)/([^/]*)\.html$ /mysite/category.php?cat=$1&lang=$2 [NE,R,L]
But my User Friendly URL is also gone when I use this. Instead I see: category.php?cat=....
I don't know if this is important but I use <base href="">
to point to the host I'm working on.
Thanks in advance for any ideas.