登录 注册

登录

问题 3 SEO questions

更多
2014年11月18日 09:27 #1 作者: hanwei
hanwei 创建了话题: 3 SEO questions
Hi Mr Bai,

it's not urgent, if you have time could you check below 3 SEO questions--many thanks anne(quebec)

gtmetrix.com/reports/cloture-verre.com/RdCLS8yT

1) i can not find my slider html file to add image dimendsion?

The following image(s) are missing width and/or height attributes.

cloture-verre.com/images/cloture_verre-logo_.jpg (Dimensions: 130 x 60)
cloture-verre.com/images/cloture_verre7_.jpg (Dimensions: 915 x 500)
cloture-verre.com/images/cloture_verre_balcon2_.jpg (Dimensions: 915 x 500)
cloture-verre.com/images/cloture_verre_piscine67_.jpg (Dimensions: 915 x 500)
cloture-verre.com/images/cloture_verre_piscine_2_.jpg (Dimensions: 915 x 500)
cloture-verre.com/images/rampe_verre_.jpg (Dimensions: 915 x 500)
cloture-verre.com/images/rampe_verre_1_.jpg (Dimensions: 915 x 500)
cloture-verre.com/media/mod_languages/images/en.gif (Dimensions: 18 x 12)
cloture-verre.com/media/mod_languages/images/fr.gif (Dimensions: 18 x 12)
2)
how can i have cookie-free?

There are 12 components that are not cookie-free
cloture-verre.com/plugins/system/jch_optimize/assets/gz/30/9a6dd8f745cd5982b7597ff437e9b818.css
cloture-verre.com/images/cloture_verre-logo_.jpg
cloture-verre.com/media/mod_languages/images/en.gif
cloture-verre.com/media/mod_languages/images/fr.gif
cloture-verre.com/images/cloture_verre_piscine67_.jpg
cloture-verre.com/images/cloture_verre_balcon2_.jpg
cloture-verre.com/images/cloture_verre_piscine_2_.jpg
cloture-verre.com/images/cloture_verre7_.jpg
cloture-verre.com/images/rampe_verre_.jpg
cloture-verre.com/images/rampe_verre_1_.jpg
cloture-verre.com/plugins/system/jch_optimize/assets/gz/30/ac4e43bfdd69046b5cea88594eb748d1.js
cloture-verre.com/modules/mod_sp_social/assets/images/magazine/sprite.png

3) how can i have expiration date.?

There are 2 static components without a far-future expiration date.
fonts.googleapis.com/css?family=Open+Sans
www.google-analytics.com/analytics.js

登录 或者   注册一个会员帐号 来参与讨论

更多
2014年11月18日 15:42 #2 作者: Joomla之门
Joomla之门 回复了话题: 3 SEO questions
1. If you want to have responsive layout, you should not specify the dimension of images. I think your slider module must be a responsive slider, so it will not set image width and height. This should not be a "problem", it must work that way to implement responsive layout.

2. One of YSlow's measurables is to use cookie-free domains to serve static files.

"When the browser requests a static image and sends cookies with the request, the server ignores the cookies. These cookies are unnecessary network traffic. To workaround this problem, make sure that static components are requested with cookie-free requests by creating a subdomain and hosting them there." -- Yahoo YSlow


But, for Joomla, it seems impossible to put ALL static content (like image, pdf, css) in the same folder and then point a cookie-free subdomain to that folder.

I don't know how to do that. Someone else shared a trick, you can try to put following code into your .htaccess in your Joomla root:
<FilesMatch "!\.(gif|jpe?g|png)$">
    php_value session.cookie_domain example.com
</FilesMatch>

If you want know more about this issue, please Google "cookie-free domain".

3. There is a Joomla extension which can help to insert expiration date head info: Expires Headers

付费下载 Joomla 3 扩展汉化版: 我要付费支持 Joomla 之门!

登录 或者   注册一个会员帐号 来参与讨论

更多
2014年11月18日 17:15 #3 作者: Joomla之门
Joomla之门 回复了话题: 3 SEO questions
There is another article about cookie-free in Joomla , try it:

Add the following lines to your .htaccess inside your image, jsp or css folder:
########## Begin - Disable cookies for static elements subdomain
#
#
<IfModule mod_php5.c>
php_value session.use_cookies 0
</IfModule>
#
<IfModule mod_php4.c>
php_value session.use_cookies 0
</IfModule>
#
#
########## End - Disable cookies for static elements subdomain

付费下载 Joomla 3 扩展汉化版: 我要付费支持 Joomla 之门!

登录 或者   注册一个会员帐号 来参与讨论