Most popular SEO troubleshooting tips for webmaster
Management and optimization of sites you will inevitably collide with the resolution of problems Seo, problems that can affect work hours due to small details, seemingly insignificant, but of great weight in the case of optimizing a site.
One of these problems can be tied to the hostname Mirror reported that the ability to access a site not only by adding www in the address bar, but omitting the reference to the World Wide Web.
In particular, this mirror can cause problems as it may be to check for duplicate cases and problems in the indexing of the site.
To resolve this problem Google has released a specific patent, but made year-old “free” only now.
Furthermore, there are the tricks to get to have the so-called Canonical
HostName.
The process by which to act within your site is as follows:
In PHP to do the redirect from www to the www site, which you must enter the code in the. Htaccess is as follows:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
RewriteRule ^(.*)$ http:// www.domain.com/$1 [L,R=301]
IIS7 or IIS6 or you must enter this code:
<rule name=”Add WWW prefix”>
<match url=”(.*)” ignoreCase=”true” />
<conditions>
<add input=”{HTTP_HOST}” pattern=”^domain\.com” />
</conditions>
<action type=”Redirect” url=”http://www.domain.com/{R:1}”
redirectType=”Permanent” /> redirectType = “Permanent” />
</rule>
After the changes have to reset the setting for our website on Google within the space devoted to tools for webmasters.
In short, a small change, however, can bring great benefits in terms of SEO.
Popularity: 2% [?]




Recent Comments