English 中文(简体)
如果具体指明,htaccess redirect to the hash (url Fra)
原标题:.htaccess redirect to the hash (url fragment) if specified

我在项目上有这一文件:

RewriteEngine on RewriteCond $1 !^( {files and folders that should be accessed directly} ) RewriteRule ^(.*)$ /{full url to web root}/index.php/$1 [L]

And now I want to add the functionality to redirect directly (not just overwrite the url) to the hash of the url - if such hash exists. For example:

网址:com/contacts#/company=>site.com/company

但是,这还不能做到:......

预收......

问题回答

是的。 ............ 我找到了答案............当我解救了闪电器和javascript时,那就没有工作了:

因此,《刑法》只将它改用散射线,在《法典》颁布之后,如果联合材料没有这样做,就会发生闪电;

Pretty clever :) ............明天,我就要求我们的行动描述方案制定者之一发出一 flash,1x1 px,这样一微笑............

......

YESS !

零碎块没有转给服务器,因为它只供客户使用(由于隐私原因)。 因此,你需要利用一些客户方的文字进行改头。





相关问题
How to use redirect_to to a non-Rails URL with query params?

We just had an existing use of redirect_to break due to a Rails upgrade, and it led to a question. I ve been experimenting, and I don t seem to find a way to use redirect_to to send the user to a non-...

Apache authentication: Redirect on failure, reliably?

I ve set my ErrorDocument 401 to point to my website s account creation page, but not all browsers seem to honor this redirect (Safari). Also, other browsers (Firefox, Chrome) never quit asking for ...

Response.Redirect HTTP status code

Why is it that ASP/ASP.NET Response.Redirect uses a HTTP-302 status code ("Moved Temporarily") even though in most cases a HTTP-301 status code ("Moved Permanently") would be more appropriate?

Exceptions: redirect or render?

I m trying to standardize the way I handle exceptions in my web application (homemade framework) but I m not certain of the "correct" way to handle various situations. I m wondering if there is a ...

Cakephp is not redirecting properly when pages are cached

I am having some issues with a site that was working correctly until i implemented full page caching in CakePHP. I have followed the guidance in the Manual and have my $session->flash in a no-cache ...

热门标签