Aller au contenu

Seo69

Actif
  • Compteur de contenus

    10
  • Inscrit(e) le

  • Dernière visite

Messages postés par Seo69

  1. celui ci est à la racine.

    J'ai un autre répertoire qui est utilisé pour un sous domaine et il y a un .htaccess dedans. Est ce qu'il peut influencer ?

    je viens de regarder dedans et il n'y aucune règle d'écrite pour sur mod_expires

    Dois-je les rajouter ?

    Sinon j'utilise un sous domaine pour héberger les images. Il y a aussi un .htaccess

    j'ai fait les modifs dans ces fichiers également, toutes celle proposées mais rien n'y fait.

  2. Je viens de retrouver dans l'historique de chrome l'url qui m'avait donné sur skype :


    />http://www.webconfs.com/http-header-check.php

    j'ai mis cette url comme il me l'a demandé : http://www.espace-musculation.com/Exercice_pectoraux_dips

    et dans les résultats voilà ce qui cloche :

    HTTP/1.1 200 OK =>

    Date => Sun, 28 Aug 2011 19:13:25 GMT

    Server => Apache/1.3.41 Ben-SSL/1.59

    Cache-Control => no-store, no-cache, must-revalidate, post-check=0, pre-check=0

    Expires => Thu, 19 Nov 1981 08:52:00 GMT

    Link => ; rel=shortlink

    Pragma => no-cache

    Vary => Cookie

    X-Pingback => http://www.espace-musculation.com/xmlrpc.php

    X-Powered-By => PHP/5.2.17

    Set-Cookie => PHPSESSID=dba062f88577f0c802c0cbcb254a5d46; path=/

    Connection => close

    Content-Type => text/html; charset=UTF-8

  3. Bonjour à tous !!! je viens vers vous suite à une conversation avec Laurent Bourrelly, un spécialiste du SEO (adresse de son blog pour ceux qui ne le connaisse pas : http://www.laurentbourrelly.com/blog/)

    Voilà je vous explique, j'ai des problèmes avec mon htaccess et il m'a dit que je trouverai ici des spécialistes pour m'aider :D

    Je vous le met ici ! je ne suis pas du tout un spécialiste du htaccess, je l'ai fait avec des bouts de code pris à droite à gauche dans des tutos pris sur le net.

    C'est le htaccess du site www.espace-musculation.com .

    Merci pour votre aide !

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php
    AddDefaultCharset UTF-8

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]





    # BEGIN WPSuperCache
    <IfModule mod_rewrite.c>
    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* [NC]
    RewriteCond %{HTTP_user_agent} !^(w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC]
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteCond /kunden/homepages/17/d155837024/htdocs/musculation/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f
    RewriteRule ^(.*) "/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz" [L]
    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* [NC]
    RewriteCond %{HTTP_user_agent} !^(w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC]
    RewriteCond /kunden/homepages/17/d155837024/htdocs/musculation/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
    RewriteRule ^(.*) "/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html" [L]
    # END WPSuperCache

    RewriteRule (.*)\.(flv|gif|jpg|jpeg|png|ico|swf|css|js|htm|html)$ /media.php?file=$1.$2 [L]




    ExpiresActive On
    ExpiresDefault "access plus 2 years"
    ExpiresByType image/jpg A31104000
    ExpiresByType image/jpeg A31104000
    ExpiresByType image/png A31104000
    ExpiresByType image/x-icon A31104000
    ExpiresByType application/x-shockwave-flash A31104000
    ExpiresByType text/css A2592000
    ExpiresByType text/javascript A2592000
    ExpiresByType text/html A2592000
    ExpiresByType text/xml A31104000

    </IfModule>


    # Protection du fichier htacces
    <Files .htaccess>
    Order Allow,Deny
    Deny from all
    </Files>

    # protect wpconfig.php
    <files wp-config.php>
    order allow,deny
    deny from all
    </files>





    Header unset Pragma
    FileETag None
    Header unset ETag
    ExpiresActive On


    <FilesMatch "\.(flv|gif|jpg|jpeg|png|ico|swf)$">
    Header set Cache-Control "max-age=2592000, public, must-revalidate"
    Header set ExpiresDefault "access plus 1 year"
    </FilesMatch>
    <FilesMatch "\.(js|css)$">
    Header set Cache-Control "max-age=2592000, public, must-revalidate"
    Header set ExpiresDefault "access plus 1 year"
    </FilesMatch>
    <filesMatch "\.(php|html|htm)$">
    Header set Cache-Control "max-age=2592000, public, must-revalidate"
    Header set ExpiresDefault "access plus 1 year"
    </filesMatch>




    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

×
×
  • Créer...