Domain names are important to your business, brand and purpose. It is important to have a good, relevant domain name and it is important to promote that domain around the internet. The popularity of your domain, and the relative size of your niche or competition will determine where your domain “ranks.”
Domain names are a commodity, sometimes cheap, sometimes expensive. Base domains registered through a domain registrar can range anywhere from $1 – $100 per year. The average is more like $7-$12. However, people who own great domains names often put them up for sale, and domains in this situation have sold for over a million dollars, although many domains are available for purchase from private parties at a more reasonable price – anywhere from $10 – $25,000 depending on how good the domain and niche is.
Your registrar – most likely GoDaddy – is where your purchased your Domain Name. It’s very important to keep your GoDaddy account secure, because if an unauthorized user gains access to your account, they can transfer your domain to a different owner, and it can be exceedingly difficult to regain control of your domain, so here are some tips to keep your domain and your business safe: (more…)
For websites that come up in a Google search, you might notice that sometimes Google displays links directly to a few subpages of the site. This is usually about 2-6 subpages.
It’s kind of a mystery as to how Google chooses which subpages to display, and many people wonder “How can I choose which subpages Google displays?”
That’s not an easy answer, but we’ll give you a few hints: (more…)
A SLD or “Second Level Domain” is all often called the “domain” or “base domain.”
Most of the time when people buy a domain, they are buying a Second Level Domain. To get even more specific, they are buying a SLD + TLD combination.
When a ccSLD – or “country code Second Level Domain” – is used, then a user will actually be buying a third level domain.
ccSLDs can make it difficult for developers to deal with domains, in the sense that many developers have to parse out URLs for many reasons, but there is no hard set rule on how to parse a domain out. You just have to have a comprehensive list of all ccSLDs and their corresponding ccTLDs in order to properly distinguish the users “base domain” from their “domain extension.”
A “domain extension” is slang for “Top Level Domain” or “country code Second Level Domain + country code Top Level Domain”.
In other words, if you buy “example.com” – “example” is your “base domain” and “.com” is your domain extension. In this case, your base domain is your “Second Level Domain” and your domain extension – “.com” is your TLD.
On the other hand, if you buy “example.co.uk” then “example” is still your base domain but “.co.uk” is your “domain extension”. In this case, your “base domain” is your “Third Level Domain”, and your “domain extension” – “.co.uk” – is your SLD + TLD.
A “TLD” or “Top Level Domain” is also commonly known as a “domain extension.”
We actually just prefer the term “domain extension.”
Examples of TLDs are:
Examples of ccTLDs are:
A ccSLD – or country code Second Level Domain, is often mistaken for a TLD, however they are actually two separate domain levels. For example “.co.uk” is two domains: “.co” os a ccSLD and “.uk” is a ccTLD.
See SLDs and ccSLDs.
How do I use PHP’s parse_url() function to separate out the base domain from the domain extension?
How do I use PHPto extract the domain from a URL?
How do I extract the domain when it is using a ccSLD, or “country code second level domain”, such as .com.au and .co.uk?
PHP’s parse url function is quite handy, but not all powerful, and it cannot distinguish between domains and subdomains. (more…)
Here is a quick PHP snippet to show the copyright date and keep it current. Starting next year, it will display the year range, such as 2011-2012. However, for the current year, it will only display 2011.
It’s almost as easy as copy-and-paste, there is just one extra step:
- Copy-and-paste the code into your page
- Set $startYear manually to the current year.
PHP error reporting can be simple or difficult depending upon your application. Many sites and applications change the settings, either via the php.ini file, an .htaccess file, or directly in the PHP code. In fact, setting the values directly in the PHP code of your application is probably the most common method.
So which settings are you actually supposed to change? Try these for starters:
The following example contains the syntax:
ini_set('error_reporting', E_ALL & ~E_NOTICE);
“Mobile standards” cropped up several years ago, but even today there is a struggle to gain following. There is a vague overall definition, as various different pieces of web development have taken different approaches.
First of all, your HTML web standards remain the same, although you can find a variety of extra possible settings (Google Search: Mobile Doctype). You can leave your website in it’s current HTML form and allow the mobile browser to resize it accordingly, or you can “detect” when a mobile user is accessing a page, and server up a custom mobile-friendly page. Even if you choose the simple approach and just let the mobile browser work it’s magic, you will probably need to make some minor adjustments anyway too your website’s layout, font sizes and a few more things. (more…)