content top
you are browsing category: Coding Redirecting Old Wordpress Site to New Wordpress Si...
I have been asked this a few times. How do I redirect my old wordpress web site to a new domain but maintain all the same pages? I dont want to lose my serps because of the domain change. Here is a nice seo friendly 301 redirect which will redirect all the...
View the Full Article Here
SQL Injection and Sanitising User Input...
I think the comic below sums up the issue perfectly. ALWAYS sanitise the users inputs otherwise expect your database to be corrupted. Thanks to XKCD for the clip See http://xkcd.com/327/
View the Full Article Here
Execute a remote page using VB Script...
Quite often I need to execute a remote page on a web server somewhere, maybe to trigger an update or send an email on a timely basis. The easiest and simplest way I have found is by using Microsoft.XMLHTTP. You can use it to execute php pages, asp or .net...
View the Full Article Here
Tinyurl API and Classic ASP...
Tinyurl API and Classic ASP
If you wanted to link to the tinyurl.com api in order to create tinyurl’s with ASP then here is the code I am successfully using with my ASP twitter updater. Function GetTinyURL(url) ’set the url url=”http://tinyurl.com/api-create.php?url=”...
View the Full Article Here
3 Web Design Tips to Help You Sell...
3 Web Design Tips to Help You Sell
You can increase your share of mouse clicks when you put enough attention to web design. However, having brilliant content or amazing products is not enough. Site traffic dwindles when users find it difficult to visit and navigate your website. Countless products...
View the Full Article Here
How CSS Makes Your Site Google-Friendly...
How CSS Makes Your Site Google-Friendly
Cascading Style Sheets (CSS) is a simple and convenient tool for web developers. CSS allows developers to separate the aesthetic elements of a page including color, fonts, and layout, from the page’s content such as body text and images. Separating content...
View the Full Article Here
ASP Date Formats and Functions...
ASP Date Formats and Functions
Here are some useful code snippets for ASP dates. 1/21/2001 <%= FormatDateTime(theDate) %> Sunday, January 21, 2001 <%= FormatDateTime(Date, 1) %> Time: 5:53:39 PM <%= FormatDateTime(Now, 4) %> 1/21/2001 5:53:39 PM <%= FormatDateTime(Now)...
View the Full Article Here
ASP 301 Redirect...
ASP 301 Redirect
A “301 redirect” is more commonly called a “301 moved permanently” status. It tells a visitor or search engine that the page has been moved elsewhere and no longer exists in its previous place but has been moved somewhere else. You...
View the Full Article Here