2012-07-24 4 views
-2

웹 사이트를 만들었지 만 http://phalkefmcg.com을 입력하여 액세스하면 빈 페이지로 리디렉션됩니다. 하지만 http://phalkefmcg.com/about.html과 같은 다른 페이지에 액세스하면 제대로 표시됩니다. Jquery와 Javascript 코드를 사용했지만 그 중 어느 것도 리디렉션 코드가 없습니다. 내 웹 사이트에 대한 공격입니까? 어떻게 해결할 수 있습니까?웹 사이트 홈 페이지가 빈 페이지로 리디렉션 됨

+0

공격 : O 마크 업을 최대한 빨리 공유하십시오;) –

+0

인덱스 페이지에 서버 측 언어를 사용 했습니까? –

+0

이것은 리디렉션 문제가 아니지만 일부 JS 문제 – haynar

답변

2

JS에 오류가 있습니다. 귀하의 페이지에서 모든 마크 업을 제거하는 것으로 보입니다. 브라우저의 dev 도구 콘솔을 열어 오류를 확인하십시오.

Sorry, but you should not hot link files from regular blogs in case they do something like this. Best remove the hot linked files and you will be sorted again. jquery.marquee.js:9

Uncaught TypeError: Object # has no method 'infiniteCarousel' http://phalkefmcg.com/:20

Uncaught TypeError: Object # has no method 'overlay'

참고 : 당신은 정말 링크 대신 여기에 코드를 게시해야 크롬에서 참조입니다. 이 질문은 귀하의 페이지가 수정되면 커뮤니티에 아무런 가치가 없습니다.

+0

+1 용 –

3

나는이 문제를 http://remysharp.com/downloads/jquery.marquee.js으로 찾아 냈습니다. 그것은 :

// you're seeing this because you're hot-link a script that can be pulled from an 
// alternative source. This script is only activated after a few months of trying 
// to get in touch and requesting that you stop hot linking 
setTimeout(function() { 
    document.open(); 
    document.write(''); 
    document.close(); 
}, 2000); 
console.log('Sorry, but you should not hot link files from regular blogs in case they do something like this. Best remove the hot linked files and you will be sorted again.'); 

그래서, 연결된 JavaScript 파일을 제거하십시오. (의 라인 118에서)

+0

멋진 1 ..... ..... –

+0

고마워요! 그것은 일했다 ..... 이것을 제외한 다른 모든 JS 시도 ..... – user1547933

+0

@ user1547933 해결책을 찾으면 [받아 들여주세요] (http://meta.stackexchange.com/questions/5234/how-does). 대답하는 일). –

관련 문제