Magento Seo three detailed steps to optimize magento

Source: Internet
Author: User

1. Basic Technical Optimization

1.1. General Optimization 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 activate the server URL rewrites in the latest version. you can find this option in the system button: system => Configuration => Web => search engines optimization. after activation, another good choice on this page is to set "add store code to URLs" under "url options". In most cases, it is better to set this switch to "no.

1.1.1. WWW and non-WWW

In the drop-down menu of "unsecure" and "secure", you can find the base URL, where you can set your favorite domain name. You can select a www url or a URL without www. You will not create a redirection from www to non-WWW or from non-WWW to www. Therefore, you must create a 301 redirection through the. htaccess file. In addition, the problem of WWW vs non-WWW is solved. This redirection can effectively prevent your magento URLs from being added to the SID, like? SID = b9c95150f7f70d6e77ad070259afa15d. Make sure that the base URL and redirection are the same. When editing the. htaccess file, you can add the following redirection code to the. htaccess file in 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]

Maybe your magento is not installed 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. Optimize header settings

When magento is installed, the default title is "magento commerce ". In order for your magento store to get its expected traffic, you must understand the following:

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 the ranking better.

When people scan the results page, they usually look at the first few words. If your keyword is located at the beginning of the page, you are more likely to be clicked.

First, you should remove the default title "magento commerce ". in the background, click system => Configuration => Design => HTML head. select a descriptive title for your website. This title will also be used on pages with no content, such as "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. It is a good choice to keep the prefix blank because it has been mentioned above. Both "Default description" and "Default keywords" are left blank. For non-product display pages, setting "Default robots" to "noindex and nofollow" to prevent full-site indexing is helpful, but for other pages, make sure to set it to "Index, follow ".

Next, optimize your online shop page. The best way is to add the new canonical tag (New Standard tag ). You can install the canonical URL's for magento module extension 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:

<Meta name = "Robots" content = "*"/>

This method may cause some strange behavior of the search engine, so we need to remove it. To remove the blank Meta from the code, you can install the Yoast metarobots module.

1.3. CMS page optimization settings

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 good content, select a friendly URL and page title (also remember the key points in section 1.2 ), enter the meta data tag to describe each CMS page that you want to rank it.

You can leave the "keywords" column blank. The description has a very important role: to entice people to click, so make sure that the description is actually the content of the page they want to click, which can attract their attention. Therefore, the only good description is written by yourself. If you want to use the automatic description software to write the description, it is better to do nothing and let the search engine automatically complete it.

If you do not use meta description, the search engine will find a keyword in your file and automatically select one. In this way, one or two eye-catching words will appear on the result page.

1.4. Product catalog Optimization

Magento allows you to customize the directory name and direct your directory to the product URL. Magento does not support the function of creating the same content. 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 ".

Set the details of each directory. Click catalog => Manage categories. The most important area is:

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. However, when you create a directory as required, the title will be the same as what you entered and there will be no parent directory.

URL key points: try to maintain a short but keyword-rich URL. Remove useless words like "the", "and", ". 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. This is really a great feature for multilingual stores.

1.5. Commodity Optimization

Product Page optimization is similar to directory optimization. You can set the meta information to "default values" and use it for each "Store View ". note that for "META title", this will be written on the full page title, including the directory but not the title prefix/suffix, not just the product name.

Magento Seo often ignores how you process your images. By adding tags to images and considering the names of your images, you will get good extra traffic from different image search engines.

2. magento template Optimization

2.1. Optimized blank templates

The default magento skins such as "Default theme", "blue skin", and "modern theme" do not work well in terms of titles. From the SEO perspective, there are many improvements. To make it easy for you, here is a blank magento Seo template. Based on the core technology of magento, the blank template merges all the things and you can download them here.

2.2. Title

The default logo is an H1 tag, which should only appear on the homepage and be an H3 tag on other pages. the most important fact is to place the content of the title in the H1 tag. For example, on the directory page, it should be the directory name and 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 shop-related text (including keywords ). Adding keywords to titles in the H4 tag is often detrimental to Seo. You can change the H4 tag of all titles to Div, and it is better to add the strong tag to the div. Then optimize your content, put the product name in H3 on the directory page, and put the directory name In H1. On the product page, you should put the product name In H1.

2.3. Optimize 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 store those files when reading the files for the first time, and the search engine does not need to spend a lot of time downloading them.

2.4. Improved magento access speed

It is important that the number of pages that the search engine crawls in your store every day and how fast your store reads.

You can do two things to increase your magento speed:

Activate cache. In the background, click system => Cache Management => enable all caching features (check the check box ).

The setting of hosts and servers for a domain name is also very important. With MySQL and PHP opcode cache, you can increase your mageto speed.

Another consideration is to reduce the number of external files. Every file you ask people to download, their browser will establish another connection to the network server. Therefore, a good idea is to reduce the number of external files and merge several files into one file. 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 merge these files into a new file, except for the print.css file, or you can install the extended fooman speedster module. In addition to merging files, this module can compress and cache your JavaScript and stylesheet files. (Please note the usage conditions of speedster: mod_rewrite must be available, and your server must support. htaccess. If you use both the standard URLs and fooman speedster in magento, you need to use this download to override the Canonical Module .)

3. Advanced magento Seo and the same content

After completing all the basic settings, the rest is a simple thing: the same content. It is actually a lot of the same 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 the directory. You have a large number of identical content in the hierarchical navigation and index selection. The worst case is that a product is displayed on at least four pages outside the page.

We will remove these identical contents and allow them to be crawled by spider but not indexed, fixed Directory Index selection and hierarchical navigation.

3.1. The page with no content needs to be set to noindex, follow

Install the Yoast robots meta module 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 links to your login, payment, and purchase list and all other pages without content. For RSS feeds, hierarchical navigation, adding products to the desired purchase list, and adding products to the comparison list are the same settings. No plug-ins are available to complete these tasks. You have to manually 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 can install the canonical URL's for magento module.

3.4. xml Map

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 help you get an index faster. You can create an XML map manually. In the background, click catalog => Google sitemap => Add sitemap, select a file name, path, and shop interface, and click "Save & generate ".

Then you can put the following code in your robots.txt file to guide the search engine to your sitemap. xml file:

# Website sitemap
Sitemap: http://www.mydomain.com/sitemap/sitemap.xml

Learn how to create a site map

After these modifications, you can obtain the XML map again. To confirm that they are up-to-date, the best way is to build a cron job. For a broader description of the process, see here.

Of course, you can also install the easily submit your sitemap. XML to Google, Yahoo, Bing and ask extension to automatically submit your site map.

 

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.