Flash Seo is not a common problem. Using Flash to create a website has a good visual effect, but flash is invisible to search engines, therefore, it is very difficult for flash websites to Optimize search engines, and there are also many methods. Because there are a lot of adjustments that need to be made and the assistance of website developers is also needed, we recommend that Seo be taken into account when making the whole site flash again, instead of modifying it after it is done.
The following describes the most popular flash Seo methods, including JS (Java code), PHP, and as (Action language)
The following information is from the network.
The steps for standard flash Seo are as follows:
1. Use the swfobject method. Please take a look at this before proceeding to step 2.
2. enable Flash to support deep connections
Use PHP (or other server-side languages) and as
Www.yoursite.com/index.php? A link like page = contact can be accessed. As may be as follows
If (page! = Undefined ){
Gotoandstop (PAGE );
}
Tags key frames in flash, such as contact and about.
In this case, you need to use the 'page' variable in PHP and write it to flashvar (created by swfobject). The Code is as follows:
VaR so = new swfobject ("movie.swf", "mymovie", "200", "100", "7", "#336699 ");
So. addvariable ("page", <? PHP echo $ _ Get ['page'];?> );
So. Write ("flashcontent ");
3. Perform Google sitemap and add the previously created independent URLs.
4. Dynamic Content substitution
By the last few steps, the replacement content remains unchanged during flash browsing. Now we need to create a content page that matches the flash page. We need to write code so that when users enter different key frames, the alternative content also changes. Otherwise, all the previously defined pages are the same content in se.
It is relatively simple to dynamically read The Flash content of XML. if the content is static, it is much more necessary to maintain the content in PHP and flash.
However, you must note that the dynamic alternative content may be regarded as cloaking by search engines and must be consistent with the content in flash and the alternative content.
How can we change the content instead of dynamic content? Dynamic Content is hard to be included.
5. Add inner links to alternative content
Google sitemap is good, but it is very tired to maintain. The actual method is to convert the link in flash into HTML format. We usually use XML documents to describe each flash page, convert it into HTML format, and convert the links in XML into HTML format. This completes the HTML flash website.
6.html-based page refresh and website favorites
Use the same link URL in the alternative content and flash, click the 'contact 'button in flash, and the URL in the address bar will also change, so that each page can be added to favorites, in addition, movie can be saved in the cache. The as code is as follows:
Contact_btn.onrelease = (){
Geturl ("index. php? Page = contact ");
}
JS can also achieve this, but not all browsers can.
This complete set of Flash Seo is complete. Of course, general optimization methods should also be used as follows:
1. the key words in a tag (Deion description) contain the most important keywords. Visitors cannot see the content in the tag, but the search spider can read the content, however, many search engines have begun to ignore tags, so this alone is not enough.
2. Increase the link popularity of Flash websites
1) Select websites with a PR value greater than 4 as much as possible;
2) The link text contains keywords so that the search engine can know the subject of the web page to be opened;
3) Submit the website to the directory website, submit press releases, and publish articles, and try to create one-way link for the website.
3. Optimize other non-flash pages.
Create some non-main pages in Webpage format, such as about us and contact information. Optimize the homepage and its relevance to supplement the shortcomings of the whole site flash on the homepage.
4. the whole site content is XML to facilitate the indexing of other content search engines.
The above Flash Seo method can be used to optimize the search engine of the entire website. Be careful when the optimization is excessive!