Tag Archives: htaccess

How to Add www. – or Remove www. – From Your URL

This has been done many times by others, but just a quick tip on how to add or remove www. from your website’s address. This is helpful for URL canonicalization and user experience consistency. You can also achieve SEO-friendly canonicalization … Continue reading

Posted in QuickTip, Web Development | Tagged , , , , , , , , | 5 Comments

WordPress Comment Form 404 Error – Now Fixed!

Disabling the Cookies for Comments plugin broke the comments form. On the recommendation of Matt Cutts, I added the Cookies for Comments plugin to this blog, and also added their recommended .htaccess modifications: RewriteCond %HTTP_COOKIE !^.*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.*$ RewriteRule ^wp-comments-post.php – [F,L] … Continue reading

Posted in Blogging, WordPress | Tagged , , , , , , , | 3 Comments

SEO & Switching Domains

Goodbye old friend. Hello shiny new domain! Recently I moved my company’s domain from KatzWebDesign.net to KatzWebServices.com to reflect the change of the business name (over one year ago) from Katz Web Design to Katz Web Services, Inc., to reflect … Continue reading

Posted in Domains, SEO | Tagged , , , , , | 3 Comments

Redirect a Website in ColdFusion – Add www. or Move to New Domain

Redirecting a website in ColdFusion (.CFM) I have been working on a ColdFusion website, and I wanted to find a way to require ‘www.’ in the URL (to consolidate all pages on www. for SEO). I normally work with PHP … Continue reading

Posted in Tutorial, Web Development | Tagged , , , , , | 3 Comments

Use .htaccess to make all your HTML files PHP

Note: the following will not work on all server configurations, which may be why you’re using SSI in the first place. Call your server administrator/tech support and see if the following techniques are supported. Escape static HTML If you want … Continue reading

Posted in Code | Tagged , , , , , | 11 Comments