为什么我的网站会被“加载"两次? [英] why could my website be 'loading' twice?

查看:243
本文介绍了为什么我的网站会被“加载"两次?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

或者至少是 pingdom 所说的,而且我认为这是一项非常可靠的服务,

or at least that's what pingdom says, and i think it's a pretty reliable service,

注意:

  1. APACHE:php& mysql
  2. 没有iframe
  3. htaccess:

  1. APACHE: php & mysql
  2. No iframes
  3. htaccess:

#Gzip
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x- javascript application/javascript
</ifmodule>
#End Gzip


# 480 weeks
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|css|swf)$">
Header set Cache-Control "max-age=290304000, public"
</FilesMatch>

# 1 weeks
<FilesMatch "\.(js)$">
Header set Cache-Control "max-age=604800, public"
</FilesMatch>

RewriteEngine On


ErrorDocument 500 /oohps.php
ErrorDocument 404 /where.php


RewriteCond %{HTTP_HOST} ^www.keepyourlinks.com [NC]
RewriteRule ^(.*)$ http://keepyourlinks.com/$1 [L,R=301]

RewriteCond %{HTTP_HOST} ^www.keepyourlinks.byethost32.com [NC]
RewriteRule ^(.*)$ http://keepyourlinks.com/$1 [L,R=301]

RewriteCond %{HTTP_HOST} ^keepyourlinks.byethost32.com [NC]
RewriteRule ^(.*)$ http://keepyourlinks.com/$1 [L,R=301]

RewriteCond %{HTTP_HOST} ^keepyourlinks.com/pre/ [NC]
RewriteRule ^(.*)$ http://keepyourlinks.com/$1 [L,R=301]

RewriteCond %{HTTP_HOST} ^piscolabis.info$
RewriteCond %{REQUEST_URI} ^/keepyourlinks.com [NC]
RewriteRule ^(.*)$ http://keepyourlinks.com/$1 [L,R=301]


#Webs Sueltas

RewriteRule ^facebook-likes$ fbmate.html
RewriteRule ^api_webmasters$ API.php



#Options +FollowSymLinks



RewriteBase /

RewriteRule ^keep/(.+)/(.+) link1.php?id=$1
RewriteRule ^article/(.+)/(.+) ?tipo=questions&que=view&id=$1
RewriteRule ^file/(.+)/(.+) ?tipo=files&que=view&id=$1
RewriteRule ^user/(.+)/(.+) ?que=usuario&id=$1

RewriteRule ^categories/(.+)/(.+) listarenlaces.php?id=$1

我只是在寻找可能的原因

I am just looking for possible causes

推荐答案

与.htaccess无关

Has nothing to do with your .htaccess

仔细阅读您的站点代码.您在上次活动"部分中有以下内容:

Perused your site code. You've got this little bit in your "Last Activity" section:

<img src="http://keepyourlinks.com/" width="30" height="30"/>

...您正在将整个页面重新加载到图像标签中.

... you're loading your whole page again in an image tag.

更多上下文,可帮助您找到它的生成位置:

More context, to help you find where it's being generated:

<div class="comentario">
    <a href="http://keepyourlinks.com/user/736/laroma">
        <img src="http://keepyourlinks.com/" width="30" height="30"/> laroma
    </a>
    <span class="suave"> ha comentado </span>
    <a href="http://keepyourlinks.com/keep/186577/deshidratacion">deshidratacion</a>
    <span class="fecha"> 72 dias:</span>
    <p>
        La deshidratación es la pérdida excesiva de agua respecto al agua que se ingiere. El European Hydration Institute (EHI) es una fundación creada con el fin de avanzar y profundizar en el conocimiento acerca de la hidratación humana y sus efectos sobre la salud, el bienestar y el rendimiento físico y cognitivo.
    </p>
</div>

这篇关于为什么我的网站会被“加载"两次?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆