I'm making a website, (for examples sake it will be http://www.example.com).
I am trying to make it redirect http://example.com/jquery/releasenotes to http://blog.jquery.com/?s=release+notes
By using this it put a /
on the end, this stops it from working, since it searches for the /
aswell. I tried using http://goo.gl and converted it to http://goo.gl/WdiItL Somehow this also fails to remove the /
when in redirect. However if you simply go to http://goo.gl/WdiItL it works. My .htaccess file looks like this:
Redirect 301 /jquery/releasenotes http://goo.gl/WdiItL
I have no idea how to make it not have the /
on the end.
Any help would be hugely appreciated!
Use this RedirectMatch
rule:
RedirectMatch 301 ^/jquery/releasenotes/?$ http://goo.gl/WdiItL
Make sure to clear your browser cache before testing this
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다