Web Special Files

Create these Web Special Files in the root folder


Contains the permanent 301 redirect to unify your website with and without “www” + Names the Error page + Redirects pages

RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain.com : Unify URLs
RewriteRule (.*) http://www.domain.com/$1 [R=301,L] : Unify URLs
ErrorDocument 404 /error-page.html : Error page Name
redirect permanent /old.html http://www.domain.com/new.html : Redirect pages
: (repeat for more redirects)


Generate your .htaccess


File that lists the URLs for your website

<?xml version=”1.0″ encoding=”UTF-8″ ?>
<urlset xmlns=”http://www.google.com/schemas/sitemap/0.84″>
        <loc>http://www.domain.com/page.html</loc> : Existing page
        <priority>0.9</priority> : Page Priority 0 to 1
    … : (repeat for more pages)


Generate your sitemap.xml


File that lists files and folders that Google Spider should not crawl + Names the Sitemap

User-Agent: * : Applies to all Robots
Disallow: /folder/ : Folder
Disallow: /file : File
: (repeat for more foldres/files)
sitemap: http://www.domain.com/sitemap.xml : Sitemap Name



File containing the 404 error page message

favicon.icon and favicon.gif

Small Icon to appear on top of the pages with this code in the head

<link rel=”shortcut icon” href=”favicon.ico” type=”image/x-icon” /> : favicon.ico
<link rel=”shortcut icon” href=”favicon.gif” type=”image/gif” /> : favicon.gif


Generate your favicon.ico


Contact me about: Web Special Files, by:

  WhatsApp    Email