0
我採取了以下htaccess的深層鏈接到一個Ajax重的網站,htaccess以及deeplinking後退按鈕
它的工作原理,除非你鏈接到該網站罰款外,你需要點擊後退按鈕兩次快速去背部。
有沒有人在成功之前解決了這個問題,如果有的話,怎麼樣?
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
# Rewrite rules to support deeplinking
RewriteRule ^([A-Za-z]+)/?$ /studio/$1/ [NC,R]
RewriteRule ^studio/families/([^/]*)/?$ /studio/inc-discover-static/$1 [NC,NE,R]
RewriteRule ^studio/([^/]*)/?$ /index.php#!section=$1 [NC,NE,R]
RewriteRule ^studio/([^/]*)/([^/]*)/?$ /index.php#!section=$1&sub=$2 [NC,NE,R,L]
</IfModule>
剛纔在回答這個問題時才意識到,當你談論深度鏈接時,你可能指的是使用R標誌的原因,但我不完全確定你的意思與該部分。所以:你有意使用R-flag嗎? – Jasper