SEO Language Tags

Language Meta Tag <head> <meta http-equiv=”content-language” content=”en-gb” /> </head> Language HTTP Response Header Content-Language HTTP/1.1 200 OK Content-Language: en-gb Link Link: <http://praison.com/file.pdf>; rel=”alternate”; hreflang=”en”, <http://de-ch.praison.com/file.pdf>; rel=”alternate”; hreflang=”de-ch”, <http://de.praison.com/file.pdf>; rel=”alternate”; hreflang=”de” Language <html> Tag Attribute <html lang=”en-gb”> … </html> Language Hreflang Tag <link rel=”alternate” hreflang=”en-gb” href=”https://praison.com/en-gb/” /> XML Sitemap Tag <?xml version=”1.0″ encoding=”UTF-8″?> <urlset xmlns=”http://www.sitemaps.org/schemas/sitemap/0.9″ xmlns:xhtml=”http://www.w3.org/1999/xhtml”> […]

Permanent 301 Redirect Setup in .htaccess

Redirect old domain to new domain RewriteEngine on RewriteCond %{HTTP_HOST} ^example.com [NC,OR] RewriteCond %{HTTP_HOST} ^www.example.com [NC] RewriteRule ^(.*)$ http://example.org/$1 [L,R=301,NC] Force Redirect to NON-www version RewriteEngine on RewriteCond %{HTTP_HOST} ^www.example.com [NC] RewriteRule ^(.*)$ http://example.com/$1 [L,R=301,NC] Force Redirect to WWW version RewriteEngine on RewriteCond %{HTTP_HOST} ^example.com [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301,NC] Redirect from HTTPS to HTTP […]