Magento's first stable layout has been around for nearly a year, but there is still no magento SEO "authoritative manual ".
In magento forums and blog posts, a large number of articles have mentioned this topic, but none of them
Topic provides a complete overview. Now it's time to make all the knowledge and experience public.
Magento Seo authoritative manual.
1. Basic Technical Optimization
1.1. General settings
Magento is one of the most friendly commercial platforms for search engines, but there are a few points of attention to optimize your magento Seo.
The first step is to use the latest version, 1.2.1. Then, activate the server URL rewrites when you start running. You can find
Under the system button, choose system => Configuration => Web => search engines.
After optimization. activation, another good option on this page is to set "add" under "url options ".
Store code to URLs. In most cases, it is better to set this switch to "no.
1.1.1. www vs non-WWW
In the drop-down menu of "unsecure" and "secure", you can find the base URL, where you can set
Favorite domain name. You can select a www url or a URL without www. You will not create
Set up a redirection from www to non-WWW or from non-www to www, but only the one you like
. Therefore, it is a good idea to establish a 301 redirection through. htaccess with mod_rewrite. In addition,
Solved the problem of WWW vs non-www. This redirection can prevent magento from being added to your Sid.
? SID = b9c95150f7f70d6e77ad070259afa15d. Make sure that the base URL and redirection are one
. When editing the. htaccess file, you can add the following code to the redirection index. php under the root directory.
About 119 rows:
Rewritebase/rewritecond % {the_request} ^ [A-Z] {}/index. php HTTP/
Rewriterule ^ index. php $ http://www.mydomain.com/[R = 301, l]
Woo tidy http://www.woowotrade.com
Or, when you install magento, it is not in the root directory but in a subdirectory.
Http://www.mydomain.com/magento /:
Rewritebase/magento/rewritecond % {the_request} ^ [A-Z] {}/magento/index. php
HTTP/
Rewriterule ^ index. php $ http://www.mydomain.com/magento/ [R = 301, l]
1.2. Set the header
When magento is installed, the default title is "magento commerce ". For your magento store to get it should
You must be aware of the following traffic:
The search engine focuses on the starting words, so if your keywords are close to the beginning of the page title, you are more likely to make
Better ranking.
When people scan the results page, they usually look at the first few words. If your keyword is at the beginning of the page, you are clicked
Is much more likely.
First, you should remove the default title "magento commerce". click Configuration => Design => in the background.
HTML head. Select a descriptive title for your website. This title will also be displayed on several pages with no content
For example, "Contact Us" and "popular search terms ".
Add the page title to your store name, including the Directory and product, and put your store name in the "title suffix. Leave the prefix empty.
White is a good choice, as mentioned above. Keep "Default description" and "default"
Keywords "blank. For non-product display pages, set "Default robots"
"Noindex, nofollow" will be helpful, but for other pages, make sure to set it to "index,
Follow ".
Now we can optimize your online shop page by adding the new canonical tag (New Standard tag ). You
You can install canonical URL's for magento module to add them to your head to improve your
Magento Seo.
For some reason, magento converts an unconfigured meta robot into a meta tag using the following method:
Woo tidy http://www.woowotrade.com
This method may cause some strange behavior of the search engine, so we need to remove it. Remove these white spaces from the code
You can install the Yoast metarobots module.
1.3. CMS page
At first glance, magento seems to lack the gorgeous CMS function, but this is enough for most users.
One of the benefits of a Simple CMS is that you can control every aspect of the page. Once you give each CMS page some
Select a sef url authenticator and page title (also remember the key points in section 1.2 ).
The data tag field describes each CMS page that you want to rank it.
You can leave the "keywords" column blank. Description has a very important role: to entice people to click, so make sure it
The description is actually the content of the page they want to click, which can attract their attention. Therefore, the only good description
It is manually written by yourself. If you want to use the automatic description software to write the description, it is better not to do anything, let the search engine
Responsible for this part.
If you do not use meta description, the search engine will find a keyword in your file and automatically select one.
The results page contains one or two eye-catching words.
1.4. Product catalog Optimization
Magento gives you the right to add a directory name and direct your directory to the product URL. Because the magento pair is the same
The content function is not supported enough. A good way is to disable it. Set it and click system => Configuration
=> Catalog => Search Engine Optimization and set "use categories path for product URL's
To "no ".
Now it is time to set the details of each directory. Click catalog => Manage categories. The most important area
Yes:
Meta Description: put an attractive description here. Remember that people will see this description on the search engine result list page.
.
Page title: Leave the page title blank and use the directory name to include the parent directory. But when you make a directory as required, the title will
As you entered, there is no parent directory.
Woo tidy http://www.woowotrade.com
URL key points: try to maintain a short but keyword-rich URL. Remove useless words like "the", "and", "for" and so on.
Note that you can only set it under "All store views". For multilingual stores, you should keep the language independent.
For each store interface, you can specify the name, description, page title, and meta data. For multilingual stores
This is really a great feature.
1.5. Commodity Optimization
Product Page optimization is similar to directory optimization. You can set the meta information to "default values" and use
For each "Store View", note that for "META title", this will be written on the full page title, including the directory
It does not include the title prefix/suffix, not just the product name.
Magento Seo often ignores how you process your images. Write tags and consider
What is the name of your image? You will get good extra traffic from different image search engines.
2. magento template Optimization
2.1. Optimized blank templates
The default magento skins include "Default theme", "blue skin", and "modern theme" in terms of title
The job is not doing well. From the SEO perspective, there are many improvements. To make it easier for you, we
Developed a blank magento Seo template. Based on the core technology of magento, the blank template combines all
Download and discuss it here.
2.2. Title
The default logo should appear only on the home page and be the most important fact.
The content of the title should be placed in the label. For example, on the directory page, it should be the directory name, the product name, or the product name.
The next step is to clear excessive titles. A good idea is to clear the title of the sidebar or make a store-related text (Package
Including keywords ). There is no reason to add the title of "static" and no keyword in. Yes, for example, put all
To label is better. Now it's time to optimize your content. Put the product name in the directory page and set the project
Put the recording name in. On the product page, you should put the product name in.
Woo tidy http://www.woowotrade.com
To learn more about why the correct title is important, read this article semantic HTML and SEO.
2.3. Clear your code
Keep your template fresh and move all JavaScript and CSS in your template file to external javascripts
And CSS files, because they are not good for your magento Seo. This ensures that your users
When files are read for the first time, the search engine does not need to spend a lot of time downloading them.
2.4. Speed assistance
It is very important that the search engine crawls many pages in your store every day, and the reading speed of your store is high.
Fast.
You can do two things to increase your magento speed:
Activate cache. In the background, click system => Cache Management and enable all caching features, like
This.
It is also important to set the number of hosts and servers. Cache with MySQL and PHP opcode. You can play
Improves your mageto speed.
The number of 20 external files to be considered. Every file you ask people to download, their browsers will create
The other is connected to the network server. Therefore, a good idea is to reduce the number of external files and merge several files into one
Files. By default, magento has merged almost all JavaScript files into one file.
But the stylesheets file is not merged: the default template has 6 different stylesheet files. You can put these files
Merge into a new file, except the print.css file, or you can use this fooman speedster module.
In addition to merging files, this module can compress and cache your JavaScript and stylesheet files. (Note:
Speedster usage conditions: mod_rewrite must be available, and your server must support. htaccess. If you
To use both the standard URLs and fooman speedster in magento, you need to use this download in
Write on the Canonical Module.
3. Advanced magento Seo and the same content
Woo tidy http://www.woowotrade.com
Once you complete all the basic things, you will find that the rest is a simple thing: the same content. Actually
Is a large number of identical content. The product has the same content. at least, the following URLs have the same content:
Domain.com/product.html
Domain.com/category1/product.html
Domain.com/catalog/product/view/id/1/
Domain.com/catalog/product/view/id/1/category/1/
In addition, the product review page has almost the same content. Another problem is that you have a large number of identical contents in the directory
Navigation and indexing selection. The worst case is that a product is displayed on this page, at least outside of this page.
.
We will remove these identical contents and allow them to be crawled by spider but not indexed, fixed Directory Index selection and Layer
Level navigation.
3.1. NO content page noindex, follow
Install the Yoast robots meta module and make sure to set it to Prevent Indexing of all non-content pages, as shown below:
Now, the search engine will visit these pages through all links, but the pages will not be indexed.
3.2. nofollowing non-essential link
Another simple step to improve your magento Seo is to stop linking to your login, payment, and purchase list and
All other pages with no content. For RSS feeds, add the product to the desired purchase list and add the product
The same settings are used in the comparison list. No plug-ins are available to complete these tasks. You have to enter your template
File.
3.3. Standard URLs
To help search engines understand the same content on your page, you can use your favorite URL on each page and use the new
Canonical URL tag (Standard URL tag), you should install this canonical URL's
Magento module.
3.4. xml Map
Woo tidy http://www.woowotrade.com
An XML map is a simple way for search engines to know where your content is. It does not help you increase your ranking, but it can
To help you get an index faster. You can create an XML map manually, and click catalog => Google
Sitemap => Add sitemap, select a file name, path, and shop interface, and click "Save & generate ".
Then you can simply put the following code in your robots.txt file to guide the search engine to your
Sitemap. xml file: sitemap:/sitemap. xml
After these modifications, you can obtain the XML map again. To confirm that they are up-to-date, the best way is to establish
Cron work, more extensive descriptions of the process here.
Conclusion: The development of magento Seo
This article covers all aspects of magento Seo. If you have any feedback or additional comments, let us
Know, We can improve this article. We work with the magento core development team to improve magento.
In various aspects of Seo, we are trying to get some ideas and suggestions through this article to use the core of magento.
.
Article Source: http://www.bagenet.cn/post/193.html
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.