301 .htacess redirect issue

Salamander115

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!

anubhava

Use this RedirectMatch rule:

RedirectMatch 301 ^/jquery/releasenotes/?$ http://goo.gl/WdiItL

Make sure to clear your browser cache before testing this

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

HTACCESS 301 redirect issue with strange url variables

분류에서Dev

301 redirect for all get request

분류에서Dev

301 Redirect a folder to a single page

분류에서Dev

htaccess 301 redirect -- remove a string

분류에서Dev

htaccess 301 redirect — remove a path

분류에서Dev

301 Redirect to a 302 Redirect (SEO implications)

분류에서Dev

Redirect 301 on changed root name not working

분류에서Dev

301 redirect complete url to different extension, BUT with exceptions

분류에서Dev

Redirect 301 in htaccess changes the url encoding

분류에서Dev

htaccess redirect 301 https www to non www

분류에서Dev

Node.js: 301 redirect non-www without express

분류에서Dev

htaccess 301 Redirect Wildcard for New Base Domain Name

분류에서Dev

.htaccess 500 internal server error when adding simple 301 redirect

분류에서Dev

how to do 301 redirect of the same URL with a difference in hypen

분류에서Dev

Spring + Tiles. How to return 301 redirect (instead of 302) in Controller

분류에서Dev

Codeigniter version 2.0.2 redirect loop issue

분류에서Dev

301 Redirect Regex Pattern-Sitecore 리디렉션 모듈

분류에서Dev

Redirect 301 Regex에 어떤 문제가 있습니까?

분류에서Dev

URL Rewriting or .htacess not working

분류에서Dev

Create issue Ruby on Rails의 redirect_to 작업

분류에서Dev

301 Redirect Rails 4는 항상 홈 페이지로 이동합니다.

분류에서Dev

Response.Redirect (url)는 firefox 개발자 콘솔에 301과 302를 보여줍니다.

분류에서Dev

.htacess mod_rewrite 슬림 라우팅

분류에서Dev

PHP -- Using .htacess rewrite rules to hide folder name in URL

분류에서Dev

Silverstripe 및 301 RedirectMatch

분류에서Dev

Silverstripe和301 RedirectMatch

분류에서Dev

Redirect after redirect

분류에서Dev

Generating Http 301 Response Message

분류에서Dev

Jquery Redirect

Related 관련 기사

뜨겁다태그

보관