Web development

Friday, 12 August 2022 13:56

Technical SEO Consultant Profile

Technical SEO Consultant Profile

Although the profiles of consultants with prior technical knowledge such as web programmers or engineers have an easier time understanding the methodologies of technical SEO, in general, most consultants can become good technical SEOs as long as they learn disciplines such as the following:

Published in SEO
Saturday, 15 October 2016 16:56

How to fix - URL Canonicalization Test

You must consider using a 301 re-write rule in your .htaccess file so that both addresses (http://example.com and http://www.example.com) resolve to the same URL. 

- If you want to redirect http://www.example.com to http://example.com, you can use this:

RewriteCond %{HTTP_HOST} ^www\.example\.com$

RewriteRule ^/?$ "http\:\/\/example\.com\/" [R=301,L]

- If you want to redirect http://example.com to http://www.example.com, you can use this:

RewriteCond %{HTTP_HOST} !^www.example.com$ [NC]

RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]

Note that you must put the above lines somewhere after RewriteEngine On line.

Published in SEO