为了创建 SEO url,我的 htaccess 看起来像这样:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /app/
#marker share
RewriteRule ^share/(.*).html index.php?share=1&introsplash=0&markerid=$1 [L]
#marker share with map only.
RewriteRule ^map/(.*)/share/(.*) index.php?mapid=$1&markerid=$2&share=1&introsplash=0 [L]
#map only
RewriteRule ^map/(.*) index.php?mapid=$1 [L]
现在的问题是,如果我创建一个指向锚的链接,例如
<a href="#myanchor">go to my anchor</a>
页面重新加载到此网址:http ://mydomain.com/app/#myanchor 我做错了什么?