-
Book Overview & Buying
-
Table Of Contents
Magento Search Engine Optimization
By :
Apart from the in-built URL rewrite system in Magento, we can use the .htaccess file to perform complex rewrites on any URL that's requested through our website.
A key part of performing well in search engines is to provide consistent URLs. When we alter our categories/products/pages or even when we migrate from an older website to the Magento format, we must try to redirect users to the new URL path using 301 redirects.
A few common problems that we can resolve through modifying our .htaccess file are:
Domain consistency: Ensuring that our domain is always displayed with or without the www prefix (depending on preference)
Forcing the removal of index.php and /home from our URLs
301 redirecting old pages to their newer equivalents—both static pages and ones that once contained query strings
It is important to choose whether we wish to publically display our domain name with or without the www prefix. Websites such as...
Change the font size
Change margin width
Change background colour