PPC & SEO

directions

Use Mod Rewrite to append www to URLs

0


This is how to add www to the start of all your URLs in your website.
Simply edit your .htaccess file…


# Redirect adding leading www to root domain if not subdomain specified
RewriteCond %{HTTP_HOST} ^domain\.com
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

You can also add a trailing slash to URL’s to increase performance. When a trailing slash is added to the end of a URL that does not end in a file extension, it tells the server to look only for that directory name.

rewriteCond $1 !/$
rewriteCond %{REQUEST_FILENAME}/ -d
rewriteRule (.+) http://www.domain.com/$1/ [R=301,L]

Create a robots.txt file for your website

0

After you’ve created an xml sitemap, create a new text file in notepad and add the following to guide the google bot to your sitmap. this robots file also disallows the indexing of paths to the pdf and word docs on your site as well – this helps stop out of date links appearing in Google.

User-agent: *
disallow: /*.pdf$

disallow: /*.DOC$

User-agent: Googlebot

disallow: /*.pdf$

disallow: /*.DOC$

SITEMAP:  http://www.domainname.co.uk/sitemap.xml

Reduce Spam by encoding your email address and mailto: links on your website

0

This website allows you to convert email addresses into an encoded form suitable for inclusion on a web site. Simply add email.js to your site’s top-level javascript folder, remember to call the file email.js

Next you need to call the script in the head of your page with this line of code…

<script src="/scripts/email.js"></script>

Then encode your email address with this automatic encoder and use the encoded link code rather than your usual mailto: link.
-pete

The Free Keyword Niche Finder – WordStreams Niche Keyword Research Tool

0

The Free Keyword Niche Finder – WordStreams Niche Keyword Research Tool.

Great keyword generator tool that separates out niche long tail keywords groups. Sign up for an account and you can export the generated list as a CSV file to a designated email address!

Go to Top