目前日期文章:201505 (6)

瀏覽方式: 標題列表 簡短摘要

國外的主機通常文章或回復的時間都會不對

但是因為是免費的別人的主機所以沒辦法改PHP.INI檔案

找了網路對我來說最方便的方法就是在我根目錄下面的\

.htaccess 檔案加上這一行就解決了所有目錄下的時區問題

php_value date.timezone Asia/Taipei

===================

.htaccess
.htaccess 可放在任何一網頁目錄內,當該目錄在 httpd.conf 設定不是 AllowOverride None 便可使用 .htaccess 的功能了,而設定作 AllowOverride All 更可使用 .htaccess 的所有功能了
.htaccess 可用作對該目錄及其子目錄進行取存控制,而不用修改 httpd.conf 及不用重新啟動伺服器軟件
——————————————————————————–
httpd.conf 的設定
加上或取消註解 (#) ]定改成 AllowOverride All
然後儲存及重新啟動伺服器軟件
——————————————————————————–
.htaccess 的用法
先把 .htaccess 放在要用的目錄內 (Windows 系統內不可以直接把檔案改名作 .htaccess ,需用間接的方法,如在指令模式下 ren filename.txt .htaccess 或用 FTP 軟件修改該檔名)
用法:
1. 密碼保護
.htaccess 內寫上:
AuthName “testing"
AuthType Basic
AuthUserFile “C:/Apache/htdocs/testing/.htpasswd"
require valid-user
AuthName 是當你進入密碼保護時,瀏覽器出現的說明
AuthUserFile “C:/Apache/htdocs/testing/.htpasswd" 是密碼檔案的位置
密碼檔案 (.htpasswd) 內寫上:
user1:password1
user2:password2
但密碼不應直接寫上,即是如果有一使用者是 test ,密碼是 password ,先用 C:\Apache\bin 內的 htpasswd.exe 把密碼加密,用法如下] require group group1 ,因此只有 group1 的使用者可通過,即 john , peter 及 david

2. 自設錯誤報告文件
.htaccess 內寫上:
ErrorDocument 404 /404.html
如果找不到網頁時,便輸出 404.html 的內容,其他錯誤時做法亦然,如:
ErrorDocument 404 “找不到網頁
ErrorDocument 500 /500.html

3. 自設首頁檔案
.htaccess 內寫上:
DirectoryIndex a.html
首頁檔案便是 a.html 了

4. 禁止讀取檔案
.htaccess 內寫上:

order allow,deny
deny from all

deny from all 即所有人皆不能讀取 sercet.html

而 Apache 1.3 以後的版本,更可以用支援 regular expression 的 filesmatch
.htaccess 內寫上:

order allow,deny
deny from all

即所有人皆不能讀取副檔名為 .jpg 的檔案

.htaccess 內寫上:

order allow,deny
allow form all
deny form 202.202

即 ip 是以 202.202 開頭的不能讀取副檔名為 secret.html 的檔案

.htaccess 內寫上:

order deny,allow
deny from all
allow from 202.202 domain.com

即只允許 ip 是以 202.202 為開頭或域名是 domain.com 的讀取此目錄內的任何內容

.htaccess 內寫上:
AuthUserFile “C:/Apache/htdocs/testing/.htpasswd"

require user peter

即只允許 .htpasswd 內列出的 peter 讀取 sercet.html

5. 重新導向文件
.htaccess 內寫上:
Redirect /old http://url/new
當用戶要求 /old 時,伺服器便把其重新導向至 http://url/new ,或在 .htaccess 內寫上:
Redirect permanent /old http://url/new
當用戶要求 /old 時,伺服器便叫瀏覽器把其永遠重新導向至 http://url/new

6. 防止列出目綠內的檔案
.htaccess 內寫上:
Option -Indexes
這便不能列出檔案目錄了
.htaccess 內寫上:
IndexIgnore *.zip *.txt
這便不列出檔案目錄內的 .zip 與 .txt 檔了

註: .htaccess 的大部分內容 (如:密碼保護) 可以寫回 httpd.conf 相應的目錄設定內( )

- See more at: http://0123456789.tw/?p=64#sthash.mj0HpaKg.dpuf

原文網址 http://0123456789.tw/?p=64

文章標籤

AJlin-DES鼎益盛 發表在 痞客邦 PIXNET 留言(0) 人氣()

鼎益盛受邀至深圳參加Joomla China Day 活動-主講Joomla購物車功能分析
簡譯主題:<Joomla!可以量身定制电商平台吗?>
英譯主題:<Is Joomla! ready for an e-Commerce website?>
台譯主題:<Joomla客製化購物車及各大購物車元件功能分析> 

joomla china day 中國joomla活動  

活动当天整个流程

 

 

日程表

 

DON TIAN

Joomlaer

一位joomla粉丝的西游记   

Joomla Fans Journey   to the West

9:00-9:20

KAI LIN (台湾)

Project Manager项目管理

开源平台和CMS的利弊
  Both side of coin Open source & Customized CMS

9:30-9:50

Dinh Viet Hung(越南)
  Joomla! Speaker

如何成功运作一家模板公司
  How to run a successful template company

10:00-10:20

ALLUL HU

Designer 设计师

技术设计两生花

Together, Designer   with Developer

10:30-10:50

LEOPOLD WAN

Intergrator 集成者

浅谈Joomla!快速建站

Website Is Turn Key   With Joomla

11:00-11:20

BILLY LAI

Developer 开发者

实战Joomla二次开发

Joomla Development of   Actual Combat

11:30-11:50

 

活动抽奖领奖和拍照+午休时间Lunch Break

Lucky Draw      +        Lunch Break

12:00-13:30

SURABH SHAH

Joomla! Speaker

什么是Joomla社区?为何加入

What is/Why to/How to   join Joomla Community

13:30-13:50

EMMA TIAN

Project Manager 项目管理

浅谈joomla网站项目管理

How to Manage Joomla   Website Project

14:00-14:20

AJ Lin (台湾)
  Joomla! Speaker

Joomla!可以量身定制电商平台吗?

Is Joomla! ready for   an e-Commerce website

14:30-14:50

 

下午茶&志愿者招募

Afternoon Tea &   Volunteer Recruitment

15:00-15:20

ATEN

e-Marketing互联网营销

基于Joomla如何做优化与排名

Joomla e-Marketing   Tips

15:30-15:50

 

大会闭幕
  Closing Session

16:00-16:30

 

文章標籤

AJlin-DES鼎益盛 發表在 痞客邦 PIXNET 留言(0) 人氣()

鼎益盛受邀至深圳參加Joomla China Day 活動-主講Joomla購物車功能分析
簡譯主題:<Joomla!可以量身定制电商平台吗?>
英譯主題:<Is Joomla! ready for an e-Commerce website?>
台譯主題:<Joomla客製化購物車及各大購物車元件功能分析> 

joomla china day 中國joomla活動  

活动当天整个流程

 

 

日程表

 

DON TIAN

Joomlaer

一位joomla粉丝的西游记   

Joomla Fans Journey   to the West

9:00-9:20

KAI LIN (台湾)

Project Manager项目管理

开源平台和CMS的利弊
  Both side of coin Open source & Customized CMS

9:30-9:50

Dinh Viet Hung(越南)
  Joomla! Speaker

如何成功运作一家模板公司
  How to run a successful template company

10:00-10:20

ALLUL HU

Designer 设计师

技术设计两生花

Together, Designer   with Developer

10:30-10:50

LEOPOLD WAN

Intergrator 集成者

浅谈Joomla!快速建站

Website Is Turn Key   With Joomla

11:00-11:20

BILLY LAI

Developer 开发者

实战Joomla二次开发

Joomla Development of   Actual Combat

11:30-11:50

 

活动抽奖领奖和拍照+午休时间Lunch Break

Lucky Draw      +        Lunch Break

12:00-13:30

SURABH SHAH

Joomla! Speaker

什么是Joomla社区?为何加入

What is/Why to/How to   join Joomla Community

13:30-13:50

EMMA TIAN

Project Manager 项目管理

浅谈joomla网站项目管理

How to Manage Joomla   Website Project

14:00-14:20

AJ Lin (台湾)
  Joomla! Speaker

Joomla!可以量身定制电商平台吗?

Is Joomla! ready for   an e-Commerce website

14:30-14:50

 

下午茶&志愿者招募

Afternoon Tea &   Volunteer Recruitment

15:00-15:20

ATEN

e-Marketing互联网营销

基于Joomla如何做优化与排名

Joomla e-Marketing   Tips

15:30-15:50

 

大会闭幕
  Closing Session

16:00-16:30

 

文章標籤

AJlin-DES鼎益盛 發表在 痞客邦 PIXNET 留言(0) 人氣()

If you are an online marketer, you know that the formula behind an excellent writing involve many more things than just good grammar, decent image. It may includes many things, however, we are here, would like to introduce some most effective tips that if you use in a smart way, we are pretty sure that you will have a better content with higher ranking.

Plan ahead. Use a calendar

Plan is seldom useless , and in content marketing, content calendar is always necessary. You have a plan, you can easily visualize everything you need and want to complete for the year.It lets you plan around important dates, identifies gaps in your strategy, and maintains publishing consistency and forces you to research your keywords and topics.

Use SEO-friendly software

Take a comprehensive approach to developing a high-quality, user-friendly web experience and so on

Audience- Oriented first

Bear in mind that, what you are writing is always supposed to audiences. The best way is that let you in their position to understand what they need ad want from your writing. However, not too concerned, because it can even lead to writers block and stiff content.

Be Elaborate

There should be 1500 words or more upon writing because long, in-depth blog posts seem to perform better than short ones in SERPs.

Be surprising in content

People pretty like surprises, so formulate new things then turn your posts much more amazing.

Telling more stories

It is way to engage more emotional aspects of the human brain. And let your story like a conversation between you and your friends

Effective keyword

Use words that people actually interested in and actively search for, otherwise, you will not gain much traffic.

Break text with sub-heads

Sub-heads from H1 to H6 will help organize your content and highlight most important keyword. It is also means Google check your content.

Use lots of data

Number and static are always catching eyes and easy to remember than word. However, it does not mean that you can use too much.

Add optimized pics

If your images are optimized with  alt text, descriptions, keywords, .. they will result in boosting SEO and traffic

Use more verb in sentences

It is found that verbs seems to perform better than nouns in social media posts and other forms of web content. Use and customize them effectively.

Include enticing snippets.

The meta description, along with your page title, is what makes users click through from SERPs.

Check keyword density

Keep keywords not over 1% of the whole because too much keyword can lead to over-optimization penalties.

Site links

Link within your own site allows search engine to crawl your site easier and better. Besides, link to other trusted external links.

All above are tips that we suppose to be most must-have technique in making web content. If you have any more, share them and help this post more complete!

AUTHOR: LINH THÙY

文章標籤

AJlin-DES鼎益盛 發表在 痞客邦 PIXNET 留言(0) 人氣()

Are you a business owner or a marketer who has a Joomla website? Are you searching for some information on how to best optimize your Joomla website for the latest SEO techniques and methodologies? Then you will greatly benefit from reading this article.

 

Because of our background in both Inbound Marketing, SEO and Joomla, we are constantly being contacted by business owners and marketers who have Joomla websites and are looking to improve their SEO rank of their website.

 

Because this is such a popular topic with many misconceptions surrounding SEO and because of our experience in both SEO and Joomla, I decided to write this blog to help educate Joomla users how to properly think about SEO on their website.

 

The SEO and internet marketing world has been in a dramatic and swift shift over the past few years and what previously worked wonderfully now is ineffective and in some cases will hurt your website! The first thing I would strongly urge you to do is fully educate yourself about how SEO has changed in the last few years. I have put together another blog that outlines the state of modern SEO and has some really great resources to educate yourself. Read my blog "Critical Info You Need to Know About SEO in 2013"

 

Now that you have a better understanding of the shift that has happened in the SEO world, let's zoom in and take a look at some things you can do to help optimize your Joomla website for SEO. Below are just a few of the techniques you can employ to help improve your SEO rankings.

First Preliminary Steps: Create & Verify these important accounts:

 

 

Install SH404SEF: This is our favorite SEO extensions for Joomla and gives you some amazing power in configuring and customizing your on site SEO. There are other options out there, but from our experience, this is the one we prefer. Here are just some of the things SH404SEF will help you with:

 

  • Make your URL's search engine friendly (even more than the stock core Joomla SEF)
  • Give you one central spot to update your entire page meta titles and descriptions. If you're not familiar with writing Meta Descriptions, read this blog.
  • View all 404 pages and easily setup 301 redirects to the new URL

 

Use XMAP & Submit: Xmap is an awesome, free Joomla extension that you can install in order to easily create website site maps. Once created, you can log into Google webmaster tools and submit the website sitemap to be indexed by Google.

 

Create a Blog & Start Blogging: As explained in the article, "Critical Info You Need to Know About SEO in 2013", having good quality content flowing on your website is critical for modern SEO practices. We typically recommend to post a minimum of two times per week with posts being 500+ words, however, the more the better.

 

Find interesting and searched for topics to write content about. This can come from common customer and prospect questions or you can leverage Google auto-compete or Adwords tool to research various blog topics.

 

Optimize Contact Page: Your contact page should have some very key information to help associate your business with other listings around the web. Make sure to include your business Name, Address and Phone number (known as N.A.P.). Then link your NAP to Google+ local and use microdata to help bring more readability.

 

I'd also suggest including an embedded Google Map to your contact page in order to help link your business locally.

 

Expand Your Content: It's very important that you create completely separate pages for each service, product or location your business offers instead of simply lumping them all together on one page. This will give Google/Bing more content pages to crawl that are more specific to what your business is doing.

 

Make sure you diversify all the content as much as possible especially when working with multiple locations. Write specific content that's unique and engaging for each seperate page.

 

Optimize Your Footer: Just like your contact page, including your N.A.P. and linking it to your Google+ local account and including microdata is a great way to give google a very rich reading of your business and the various pages associated with your business.

 

Check Website Speed: Having a quick website that loads in 1.5-2 seconds (or less) is critical for both user experience but also SEO. When I was at Inbound 2012 marketing conference, Rand Fishkin of SEOmoz explained how the popular outdoors shop REI almost doubled their organic search traffic by increasing the speed of their website. This is because Google's bot can crawl more pages with less resources when they are fast and efficient.

 

We experienced the same effect when we switched to a faster server. The number of pages being indexed boosted up because the Google bot was able to crawl quicker. I'd recommend using GTMetrix.com to check both on Google's PageSpeed tool and Yahoo's YSpeed.

 

Look for Duplicate Content: Duplicate content can be a huge optimization killer. The problem is Google can't easily determine which piece of content is the correct one to index and associate with the link credit. This causes your overall page's rank to decrease.

 

You can view duplicate content in Google Webmaster tools or use 3rd party tools like SEOMoz to help audit and manage duplicate content.

 

Much of the duplicate content that occurs in Joomla (due to categories, tags, etc) can be cleaned up with SH404SEF and/or .htaccess rewrites.

 

Titles as H1: Make sure your page titles are all marked as H1's. This is done with most templates in Joomla right out of the box, however, not all of them. I've also see a few some Joomla websites that have been modified where the titles no longer have H1's in them. The H1 tag is used by Google's algorithm to easily detect the subject of the page (along with page title).

 

 

 

There are almost countless other things you can do to help improve both your on-site and off-site SEO on your Joomla website. We've covered just a few of the less commonly talked about ones. If you have specific questions on SEO, you can comment below or post in the Q&A forum on our website.

 

Here are some more resources to check out to learn SEO 101:

 

  文章出處為joomla官網

 

文章標籤

AJlin-DES鼎益盛 發表在 痞客邦 PIXNET 留言(0) 人氣()

Are you a business owner or a marketer who has a Joomla website? Are you searching for some information on how to best optimize your Joomla website for the latest SEO techniques and methodologies? Then you will greatly benefit from reading this article.

 

 

15 IMPORTANT SEO TIPS FOR JOOMLA YOU MUST KNOW

 

Search Engine Optimization or SEO is a must-have skill for web developers, blogger, Web Content Editor, Writer... Every minute, there are hundreds of new sites created. So if you do not make your site appear on search engines, no body may know your site and it’ll be forgotten and useless. This is must be a disaster for kind of ecommerce, blog sites. So Joomla sites is not an exception. A site ranking must be thought out when you are planning to create a website.

 

 01 Jan 2015   Tips & Tutorials

15 important SEO tips for Joomla you must know

Listed below are must-see Seo tips to make your Joomla website place on top in the Google Search:

1. H1 & Alt tags

If you've been around Joomla seo for a while - you will know the importance of the H1 tag. This is one of the most important on-page Joomla and can still be used to directly influence SEO. If you use the H1 correctly, you can have a very postive influence on your search engine rankings. Your page should have only one

As per google algorithm, google spider very much consider on h1 and alt tags for onsite seo, The alt text tags’ purpose is to be displayed when an image is unable to load. Search engines take the alt tag into consideration, so don't forget to add alt tag to your images html.

2. Create your title tags

Tittle is also a very important item for SEO, or could be the most important. Title tag should be unique for every page ( max 60 chars ). It is possible to override the title using the Page Display Options in the advanced options of menu-items. Using this feature, you will have full control about your menu item titles.Menus >> Menu name >> Menu item >> Page display tab

page title for seo

3. Use Meta Description

The meta description is used to describe short summary of a page. So that readers can decide whether the page is what they are looking for or looks interesting. Your meta description will have the most impact if it is 160 characters or less in length, including spaces and punctuation. Make them compelling, concise and informative.

When you're writing your meta description, keep in mind the following tips:

  • Don’t abuse important keywords
  • Do write high quality descriptions.
  • Don't repeat information that is in the page title.
  • Don't include your site name or URL. value.
  • Don't repeat descriptions over multiple pages

4. Don’t do keyword stuffing

Keyword stuffing is now considered as a strictly black-hat SEO technique. It does tend to have some positive short-term effects, but it’s playing with fire and rarely is beneficial in the long run. Ideally, each page of your website will use three to five keyword phrases, specific to that page.

5. Optimize anchor text

Optimizing you anchor text is extremely important, especially for your on-site URL's. When building in internal link structure, this is the most important issue to look at. Your anchor text links should contain keywords that describe your article, not something vague such as, read more, click here, etc.

Some recommended Search Engine Optimization extensions are MijoSEF, sh404SEF, and JoomSEF.

6. www or non-www url’s

If you Joomla site is accessible either with or without a www-prefix is actually also a matter of duplicate URL's. Google ask you to choose one in Webmaster Tools, and it's also important to choose one in Joomla. You can go into Google Webmaster Tools and specify how you want Google to index your site, with or without www. Or you also can set up the redirect in your .htaccess file:

non-www to www redirect:

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

www to non-www redirect:

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

7. Internal and external link

Linking internally is as good as creating backlinks from external websites.

Creating incoming links from other domain is really hard work while for internal links you are able to do it easily – that’s your site. So if you have a page with content relevant to the article you’re writing no wait further link to it internally! - it will improve your rankings.

Linking externally, you might need to usethe rel="nofollow" tag in your links. Too many external links from a page can be bad for SEO, so setting some of them to nofollow can be good.

<a rel="nofollow" href=http://differentdomain.com title=" Text"> Text</a>

8. Good site map to get Google indexed

One you created your site you should create a sitemap.xml file which contains the structure of your Joomla site’s URLs. This helps Google and other search engines to determine the structure of your website and how to reach all parts of it. The file looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" etc. etc.>
<url>
<loc>http://joomlavi.com/</loc>
</url>
<url>
<loc>http://joomlavi.com/another-page</loc>
</url>
..................
</urlset>

9. Use Joomla SEO Extensions

The Joomla Extensions Directory - JED contains a lot of Joomla extensions and plugins for SEO. Using SEO extensions is a useful way to make sure your Joomla website is optimized for search engines. Below are some other widely recommended Joomla SEO plugins:

SH404SEF

SH404SEF is probably the most pupolar SEO extension for Joomla. It has been around for a long time and supported for all Joomla versions. The main features are rewriting URL, avoiding duplicate content and 301-redirect.

X-MAP

This is a free and most extension for sitemap extensions on JED. Xmap creates a sitemap based on the menustructure of your Joomla website. Xmap allows you to create a map of your site using the structure of your menus.

SEO-GENERATOR

This native Joomla 1.5 - 3.x plugin automatically generates keywords and description for each article by pulling text from the title and/or the content to help with SEO. It also gives you the ability to set different title configurations, robots meta tags and Google webmaster verification keys.

HEADER TAGS

The Header Tags plugin gives you more control over the heading tags (h1-h6) in your website. The plugin searches for existing heading tags within the selected content area and handles them according to your specifications. So if want all the H4 tags in your site to be changed to H3

SEOSIMPLE

This Joomla (1.5/1.6/1.7/2.5/3) plugin simply takes the starting chunk of text from the page’s content and applies that as the value for the meta description tag in the page’s head. Search engines often use a Web page’s meta description in the SERPs, and as such it is important that these meta descriptions have relevant text related to the page’s content.

EASY FRONTEND SEO

EFSEO is also a free SEO extension for Joomla. you can control all important metadata manually and automatically.

10. Avoid duplicate URL’s

Any kind of duplicate content in your site could harm search engine rankings. The main reason for duplicates to appear is the wrong structure of the website . First, you need to think over the structure and identify main categories and subcategories.. If you create multiple categories in advance this can prevent duplicate pages from appearing in future. There are many way of getting rid of duplicate URL’s like using 301 redirects, setting up rules in .htaccess, setting up robots.txt, use SEO extension mentioned above, google webmaster tool.

11. Avoid 404-errors

Google recommends building a nice custom 404 page for your case with the quote “A good custom 404 page will help people find the information they're looking for, as well as providing other helpful content and encouraging them to explore your site further."

When someone to click on a link to your website and get a 404 error. Make sure that people can never end up with a meaningless 404 Page not found error message. Especially the default Joomla page for this is very ugly. As it will also completely different from the rest of your site, people will think the site is broken and leave it. If this happens often it can negatively affect your SEO rankingsThe best way is to create a custom 404-page for your template. All our Joomla Templates have custom 404-page to make to they are good for SEO

12. Avoid Flash

If you're serious about SEO, just don't use any content that is invisible to search engines. So, basically just avoid Flash because of the following reasons:

  • Flash is bad for SEO.
  • Flash requires lots of bandwidth.
  • Flash bad impact for user experience.
  • Flash is not accessible.
  • Many Mobile Devices Do Not Support Flash

13. 301 – redirect for old URL’s

As explained above, you should avoid 404 errors as much as possible. When you are migrating from an old site to a new one, or entirely renew your site. Your URL's will change. Also the Google index will take a period of time to update new URL, and it will keep on sending users from the search results to your old URL's. If you don’t do this, it will badly impact your search rankings! You have to determine what your old URL's are, redirect them to the new ones. You can custom redirects by using SEO extension like SH404SEF , or Shin .htaccess with following structure:

RewriteRule ^oldpage1$ "http://newsite.com/newpage1" [R=301,L]
RewriteRule ^oldpage2$ "http://newsite.com/newpage2" [R=301,L]
etc.

14. Google webmaster tools

Google's Webmaster Tools are essential for any strong SEO effort. Once you've created your SiteMap, you will be able to submit it to Google via Google Webmaster Tools. Google Webmaster Tools gives the advanced search expert with following key features:

  • show all sorts of errors with a site
  • Set Site Defaults
  • Analyze Meta Descriptions and Title Tags
  • Top Search Queries
  • Manage Sitelinks
  • Enhance 404 Error Pages

15. Optimize your Robots.txt file to allow images to be indexed

The robots.txt file's purpose is to inform the search engines bots/crawlers/spiders about the files you don't want them to index. Beside content, html structure… you can use images to make your website SEO friendly by removing the Disallow on the images folder in the robots files.

Open your robots.txt file (in the root folder of your Joomla! website) and remove the images line so that now search engines are not denied from indexing your images.

Beside allowing your Robots.txt file for images, you also need to optimize image for site speed improvement. This will help a little for SEO

 

文章標籤

AJlin-DES鼎益盛 發表在 痞客邦 PIXNET 留言(0) 人氣()

找更多相關文章與討論