-
Domain Name Extensions + SEO
With a slew of new TLD (Top Level Domain) extensions being launched in the first quarter of 2004 in addition to the hundreds already available how many of us actually take time to consider that when we register a .com, .net or, .org domain how will these sites help or hinder us with our search engine work? This is what we will take a closer look at in this article.
Domain Name Extensions – What Are They?
First of all, before we look at how the extensions of our domain names can assist us in running our search engine optimization methods we need to understand what the TLD’s themselves are actually for. Domain name extensions are essentially a way to recognize specific locales via the usage of domain names so for example, the domain name extension .com were primarily set up as commercial domain names however, with the commercial use of this extension it has also become, without a doubt the most popular extension for individuals or companies registering new domain names. In addition to the TLD extensions there are also a selection of domains extensions ranging from industry specific extensions such as .aero to country specific extensions such as .co.uk.Domain Name Extensions And Search Engines.
Now we understand what the domain name extensions were put in place for we can now start to look at how they may benefit us in terms of SEO (search engine optimization) for example, head across to http://www.google.com and do a search on something such as ‘penis pills’ you can see from the results shown (01/01/04) that the first 10 results are evenly spread across a range of domain name extensions ranging from .com to .net and also some smaller .go.ro domain extensions. This would lead us to assume that at the current time, Google specifically is not paying to much attention to the extensions of the domain names we are using however, given the recent updates of the last month or two across Google this has also cleaned up a lot of the results that were present 2 months prior to this search in which the .biz extension was highly populated in the rankings.Domain Name Extension Abuse + Spam.
With this slew of new domain name extensions being launched what seems like yearly this also opens up a whole lot of new problems for the webmaster primarily that of the domain name spam. Because domain names can be registered for as little as $5 per year many webmasters have taken to purchasing them, using them to spam the search engines and then, once the search engines discover the spam and remove the offending domains, the webmaster then moves on to new domains in effect, making domain names a disposable commodity to them. Whilst this method will certainly garner traffic for the search engine spammer it will also in turn mean that the traffic that honest webmasters receive from the search engines will be lower.Domain Name Extensions And Optimization.
Hopefully this brief article has given you a little insight into how domain name extensions can both benefit and also detriment your business, by choosing your domain name extensions carefully and, making sure you do your best not to spam the search engines you can make some serious income from pure search engine traffic however, once you start to buy domain names with lesser known extensions to purely spam the search engines you are not only wasting your own money but, are also potentially wasting other hard working webmasters money too.Article written by Lee
-
Why Go Adult?
When choosing a hosting company why choose an adult host over a mainstream one?
Simple, They provide above other things, a better quality of service, affordability and, most importantly, reliability.
Adult hosts face a variety of technical and support issues, this coupled with the points mentioned above makes them a far superior choice to standard mainstream hosting providers. This is one of the main factors why more and more mainstream internet based companies are now turning to the adult business forum to provide their hosting solutions.
Mainstream going adult? Yes that’s right, more and more mainstream companies are turning to our industries hosting providers for the fast speeds, security and, reliable infrastructures they can offer after all, adult sites are amongst the most prolific on the internet on average gaining more daily hits to their sites than mainstream websites so, they need to be cost efficient, not only to the hosting companies but, also to their clients, the webmaster.
Our industry strives on the use of heavy graphics, coupled with streaming media files to secure sales and longevity, this is why the adult hosting companies need to be able to provide not just a single, heavily laden server but tens of them, sometimes even hundreds all producing gigabytes of traffic on a daily basis.
Adult hosting companies are constantly upgrading their equipment in order to improve not just their servers, connectivity but also the smaller things that are often overlooked by webmasters, hubs, routers, switches and the likes along side the not so technical aspects of running a host, The staff.
Along with all of this technical equipment they also need to maintain a high level of technical knowledge, after all, not just anyone can install operating systems capable of running multi-million dollar industries. They need the knowledge to maintain, upgrade, repair and sell their services to the best of their capabilities.
What does this mean to you? Well, we all want to make money and, through the use of faster servers, e-commerce solutions and the technical support your hosting provider can give you, you will be fattening your wallet on a daily, weekly, monthly basis.
Adult hosting, quite simply, is the crème de la crème of the hosting world, they offer solid, solutions whether you are starting in the adult industry or, operate a mainstream e-commerce site.
So how do you choose a host that is right for you?
You need to ask some basic questions of the host and, do your homework. Not only should you find out what hosting solutions they can offer you but, you need to find out what their support service is like, how affordable they are in comparison to other companies who can offer similar or the same service. Whilst on the subject of hosting support, before you sign on the dotted line, give your host a call out of office hours, if they answer, then you can almost be certain they are a good hosting provider.
Of course, not all hosts will have 24 hour phone support, however, that said, some offer 24 hour icq support, email support and more.
Another sure fire way to find out if a hosting company is any good is to ask on the heavily traveled webmaster message boards, after all, you are not the only webmaster out there who will have tried this company, if they are no good, someone will know about it and point you in the direction of a reputable host like http://www.webair.com.
Hopefully, this article will have given you some insight into the world of adult hosting companies and, will assist you in making the right choice of host for your site, whatever type of website you might be hosting.
Article Written By Lee
-
Robots.txt – Control The Robots That Crawl Your Sites
By writing a structured text file you can indicate to robots that certain parts of your server are off-limits to some or all robots. It is best explained with an example:
# robots.txt file for general use on web servers.
User-agent: webcrawler
Disallow:User-agent: googlebot
Disallow: /User-agent: *
Disallow: /cgi-bin
Disallow: /logs
The first line, starting with ‘#’, specifies a comment.The first paragraph specifies that the robot called ‘webcrawler’ has nothing disallowed: it may go anywhere.
The second paragraph indicates that the robot called ‘googlebot’ has all relative URLs starting with ‘/’ disallowed. Because all relative URL’s on a server start with ‘/’, this means the entire site is closed off.
The third paragraph indicates that all other robots should not visit URLs starting with /cgi-bin or /log. Note the ‘*’ is a special token, meaning “any other User-agent”; you cannot use wildcard patterns or regular expressions in either User-agent or Disallow lines.
Two common errors:
Wildcards are not supported: instead of ‘Disallow: /tmp/*’ just say ‘Disallow: /tmp’.
You shouldn’t put more than one path on a Disallow line (this may change in a future version of the spec)
Ultimately, without the use of robots.txt files on your servers/domains, you are risking a variety of potential problems including, unauthorized access to your cgi directory, unauthorized viewing of your site stats, possible spamming of the search engines by accidental crawling of doorway pages.One distinct advantage however of having a robots.txt file on your server is that, quite simply, you will be able to tell when and where your site has been indexed or potentially indexed as, all robots will automatically call for the robots.txt file BEFORE any other page on your server so, as long as you keep an eye open for any calls of this file, you can see who is knocking at your site for indexing purposes.
Below is a robots.txt example that you can copy and paste into a text document to use on your own server:
<!–Start Copy Below This Line–>
User-agent: *
Disallow: /cgi-bin
Disallow: /logs<!–End Copy Above This Line–>
The above will allow all spiders to crawl all of your site except the subdirectory’s ‘cgi-bin’ and ‘logs’ which, may be altered to suit any subdirectory’s you do not wish the spiders to crawl on your server.
Article written by Lee
-
The Web Safe Color Palette
The “Web Safe” palette is a bit controversial. It is a set of 216 colors that are, supposedly, guaranteed to appear as intended on all graphical displays when used in HTML, CSS, and images embedded in Web pages. Many Web developers believe that sticking to these colors is one of the holiest commandments in the Web design scripture.
This was mostly a concern when most computers had 8-bit color displays; these days, most people run at 16-bit or 24-bit color. Although these bit-depths render the Web Safe palette pointless, dithering and quantification bugs in browsers and operating systems still cause problems in 16-bit displays (16-bit display, also known as “High Color” mode or “Thousands of Colors,” is generally problematic). Extensive testing has led to a new palette, called “Really Safe,” whose colors are guaranteed to appear correctly on all displays and all browsers.
If you use different colors than these, you might see images and backgrounds of the same color appear at a slightly different tint, so that a “box” will be visible around them if the background extends beyond the image’s edges.
Below is the table of ‘Web Safe’ and ‘Really Safe’ colors, you will see some of the color hex codes are in red, these are ‘Really Safe’ colors.
Code Color Code Color Code Color Code Color Code Color Code Color 000000 000033 000066 000099 0000cc 0000FF 003300 003333 003366 003399 0033cc 0033ff 006600 006633 006666 006699 0066cc 0066ff 009900 009933 009966 009999 0099cc 0099ff 00cc00 00cc33 00cc66 00cc99 00cccc 00ccff 00FF00 00ff33 00FF66 00ff99 00FFCC 00FFFF 330000 330033 330066 330099 3300cc 3300ff 333300 333333 333366 333399 3333cc 3333ff 336600 336633 336666 336699 3366cc 3366ff 339900 339933 339966 339999 3399cc 3399ff 33cc00 33cc33 33cc66 33cc99 33cccc 33ccff 33ff00 33FF33 33FF66 33ff99 33FFCC 33FFFF 660000 660033 660066 660099 6600cc 6600ff 663300 663333 663366 663399 6633cc 6633ff 666600 666633 666666 666699 6666cc 6666ff 669900 669933 669966 669999 6699cc 6699ff 66cc00 66cc33 66cc66 66cc99 66cccc 66ccff 66FF00 66FF33 66ff66 66ff99 66ffcc 66FFFF 990000 990033 990066 990099 9900cc 9900ff 993300 993333 993366 993399 9933cc 9933ff 996600 996633 996666 996699 9966cc 9966ff 999900 999933 999966 999999 9999cc 9999ff 99cc00 99cc33 99cc66 99cc99 99cccc 99ccff 99ff00 99ff33 99ff66 99ff99 99ffcc 99ffff cc0000 cc0033 cc0066 cc0099 cc00cc cc00ff cc3300 cc3333 cc3366 cc3399 cc33cc cc33ff cc6600 cc6633 cc6666 cc6699 cc66cc cc66ff cc9900 cc9933 cc9966 cc9999 cc99cc cc99ff cccc00 cccc33 cccc66 cccc99 cccccc ccccff ccff00 ccff33 CCFF66 ccff99 ccffcc ccffff FF0000 FF0033 ff0066 ff0099 ff00cc FF00FF ff3300 ff3333 ff3366 ff3399 ff33cc ff33ff ff6600 ff6633 ff6666 ff6699 ff66cc ff66ff ff9900 ff9933 ff9966 ff9999 ff99cc ff99ff ffcc00 ffcc33 ffcc66 ffcc99 ffcccc ffccff FFFF00 FFFF33 FFFF66 ffff99 ffffcc FFFFFF Hopefully, you will find a use for the two different color palettes that are now available and, you can begin designing for your surfers, regardless of which browser they use.
Article written by Lee
-
Golden Rules For Finding A New Domain Name
We all know by now that domain names are being registered at an unbelievable rate and, whilst the vast majority of ‘decent’ domain names have already been registered there are still some god domains to be registered and, this article will give you some insight into how you can choose an effective domain for your business purposes – regardless of what they are.
Avoid Play On Words.
Whilst sitting at a bar you come up with an idea for a domain www.4play.com and, at the time this might seem like a great domain name to buy however, before you head to your favorite register and purchase the domain stop to think about the long term implications.Let me explain this a little more using the example www.4play.com lets think about this, every time you mention the domain in a conversation people are more likely to head across to www.foreplay.com or www.fourplay.com first as a type-in. This is also true of the other abbreviation styles of ‘internet slang’ remember the days of the ‘dot com’ registrations, you know domains such as www.dotsex.com looking back now, these seem ridiculous to have been registered however, at the time they were popular but they died their death years ago.
Think Investment.
A good ‘commercial’ domain must be able to distinguish itself from the competition, there are several ways to achieve this for example:Consider Your Target Audience.
Aim your domain at a specific, yet broad market audience. use tools to narrow down what your customers (surfers) are looking for, narrow this list down to a select few domains and then, narrow the list down some more.Follow Trends Or… Create Them.
If you are serious about picking a good domain name or two then be prepared to invest the time required to get a good domain name. Research the latest trends on the internet, see what products or services are ‘hot’ and will be around long term and also see which domains are just a flash in the pan.A good example of ‘long term’ domains would be www.europeanwebmasters.com which i registered several years ago when, in all honesty, the foreign markets were not even thought about however, you cant go to any forum nowadays without someone asking about the international marketplace.
Act On A Whim.
In complete contrast to my opening statement in this article, if you think you have a solid business idea, act on it, the chances are someone else will also think of the same idea as you and, if you don’t get the domain name first, they will.Alternative Buying.
So you have decided that you do want to buy www.4play.com before you make your purchase have a look at what other variants of this domain are available, for example, you might like to check registrations of www.4-play.com, www.for-play.com, www.forplay.com, etc etc.If you have a great business idea, make sure you have all of your bases covered, just because you are starting a new craze, that doesn’t mean the domains will be available for registration tomorrow or next week.
By purchasing all the variants of the high quality domain you have thought of you are, in effect, eliminating all of the competition you could face long term.
Don’t Cyber-Squat.
If you are a serious domain buyer, avoid tailgating on other peoples domain names unless of course, it has enormous potential for example, if someone has registered a generic domain such as www.123456.com but failed to register www.123-456.com why not register the available domain? You are not impeding on anyone’s property rights and, you might benefit from some mis-typed traffic at the same time. As with any type of mis-typed domain, before you register it, seek legal advice, a few dollars spent before registering the domain could save you thousands afterwards.Fools Rush In.
Don’t automatically buy the first domain name you think of, think on it some more, sleep on it if you have to, ask your family and friends on their opinions. Although the really good domain names have virtually almost all gone, its better to carefully think out each and every domain name purchase you make and save yourself some money long term than to rush in and buy a domain that wont be any use and have to register a new domain to take the place of the first.In addition to the above don’t sit on a really good domain name idea forever because, forever comes a lot sooner than you may think.
Hopefully this article has given you some useful information in respect of registering new domain names and you can put this information to good practice when buying domains. Article written by Lee
-
Message Boards – Getting The Postings
There are plenty of free scripts available on the web which will enable you to start your own online discussion forum.
However, having the most sophisticated and advanced features in a forum does not mean it will be successful by any means. It is the people who post on the forums that make them good not the scripts used to maintain them. This article is dedicated to getting people posting on your forums.
It can be really quiet on your forum especially at the beginning when there are no real discussions going on, this is because people don’t want to be the first to post. They want to see some topics that interest them already being discussed, they want to be able to read through some posts first before having to post themselves. With this in mind, you should also be aware that just because a forum doesn’t seem busy, it can in fact get thousands of hits a day. Lurkers make message boards what they are, and, for this reason alone you should act professionally and courteously when making posts on any forums, one day, you might have to do business with one of these so-called ‘lurkers’ and, if they have seen you in a bad light on a forum, the chances are they wont want to know you. So what do you do to get your message board off the ground? There are a number of things actually and, some of these are as follows.
First of all, make sure the signup process is as simplistic as possible, even better, ensure if the user doesn’t want to register, they don’t have to! To attract people to post on your boards why not get a few of your friends together and start some discussions of your own, you could even register a couple of different usernames so that your forums look busier than they actually are thus cementing the thought that your forums are active and will have worthwhile discussions taking place.
To find some current topics for your forums why not visit some of the other message boards and see what people are discussing, if a topic is receiving a lot of interest, post about it on your forums. This is especially a good idea if your forums are specific to one area after all, if your competitions forums posters are interested in this topic, your forums users will be too.
Another great way to get people to start talking on your discussion forums is to use a contest. For example, currently on European Webmasters we have a content giveaway whereby for each post you make you gain a point and, once you have reached a certain level of points you will be able to download exclusive content sets. If you are going to start a competition then make sure people are aware of it, post some information about it online and get something to giveaway that everyone wants.
One other method to get additional posts is to put up subject lines and links to the topic threads from your main website page. Again, if you publish articles on your site create a link to your discussion forums and invite people to openly discuss the articles in question, not only will you get people posting on your message board but, you will also gain invaluable information from your user as to what they look for and want in articles you write.
If you publish a newsletter, again, this is another great way to build interest in your message board. Simply ask them to post, tell them you are building up a great resource and, you need their help as much as you need theirs to make this happen. If you have provided them with high quality information in your newsletter the chances are they will repay you by posting on your message board.
In conclusion, you should basically try and plug your message board wherever you can by doing the above, create banners for it and display them on your website, place a note in your signature file encouraging people to visit and post if they require assistance with anything. Its hard work but, once you have a few regular posters it will take off.
Article Written By Lee
-
Adult Webmaster Conventions
Networking Overload
Adult Webmaster Conventions – Networking Overload.
As the industry changes more and more another thing that has been overdone to the extreme in recent times is that of the webmaster convention, there used to be two or three of these webmaster conventions a year with the biggest being the Internext Expo – Las Vegas. Now however it seems there isn’t a month that goes by without a new webmaster convention being announced.Webmaster Networking.
Adult Webmaster Conventions however offer all types of webmaster (for the most part) something useful, interaction with other webmasters in a relaxing and friendly atmosphere however, with so many of these conventions to choose from how do you judge which of the monthly shows you should attend and, which of the shows you should not?Webmaster Shows – The Top Three.
In all honesty and, remember these are my own feelings based on attendance at a variety of shows over the last four years I would say if you stick to the main shows then you cant really go wrong, so the must attend shows list from me would include the following.Internext Expo – Las Vegas – January.
Phoenix Forum – Arizona – April.
Internext Expo – Florida – August.By attending all three of these shows you will get the opportunity to not only meet the people and companies you have been doing business with but, also get to meet new webmasters to further develop your business from a range of levels including new webmasters right up to the industry old timers.
Webmaster Conventions Advice.
When you consider attending your first adult webmaster convention you should keep one thing in mind, the shows themselves can often be costly so far as airfares and hotel accommodations so, you should book early to enable you to plan your budget for the shows and, also to ensure that you get the best deals available.Many of the larger shows are held in hotels such as The Venetian in Las Vegas which is directly next door to the convention center itself as is the Doubletree La Posada at the Phoenix Forum and the Westin Diplomat at the Florida show however, don’t be afraid of booking a hotel down the block from the one where the show is actually being held, often you will find people staying at hotels outside of the convention location and this means you can often relax with them away from the hustle and bustle of the show itself.
Webmaster Conventions Overview.
With so many webmaster conventions being held each year one thing is for certain, webmaster want to network at new places and often, these conventions can yield more business by themselves than a simple phone call or email however, be careful of the conventions or parties you choose to attend, just because a lot of people appear to be going to a specific party, it dos not mean you will get any business done there, choose your webmaster show attendance wisely and more importantly, make sure you have a set list of goals to achieve once you actually get to the convention itself.Article written by Lee.
-
Penis Enlargement Pills
Well if you’re a guy who had to shower after gym class, or woman with a boring husband or a gay man looking for Mr. Right we all know SIZE Matters!
Do I a have your attention? Good! Now, let’s get on with it!
Like many people, I have always experimented with secondary or even tertiary sponsors for my free sites. In my case most of them do not only pertain to a site membership. I have found success with things like, Viagra online; security programs to remove you net affairs; sex toys and videos; and, today’s’ latest a greatest is penis enlargement remedies.
I’m finding some astonishing success with these herbal penis enlargement products. I’m SELLING it not USING it! LOL. Some of us don’t need it <wink>. But I’m finding lots of my surfers do need it, or at least want it.
A couple of months ago after seeing an influx of email to Gay Wide Webmasters for hints on selling penis enlargement medications, I decided it would only benefit my member and myself to experiment. I used a sponsor on Gay Wide Webmasters, Albion Medical who boasted great returns and high payouts. Well what I was in store for was BETTER than I expected. By the way, here’s a little secret; I do sign up for my own sponsors but under my real name, so unless they really look hard, they do not know it’s me. I don’t go boasting with out proper backup = )
Amid my salesmanship attempts for surfers to “Sign Up!” I sprinkled my secondary ads for Penis Growth among the pics with lines like “Become Mr. Right – turn your dick into a DONG” or “Make your manhood massive… Even straight guys will look!” And to my surprise, it worked wonders. I know there is an attitude in the gay male community to seek perfection physical most of all. And it definitely came clearer to me with the number of sales.
It’s funny how many different ways you can approach selling things that will enhance a person. To me, telling me I need something to make me better pisses me off. Don’t try selling something to me by TELLING ME I’m not right. Or what I have is wrong. I’m definitely a person who marches to the beat of his own drum. And then there are people who NEED to be told they are not everything society expects them to be. That they are doing or have something wrong but it can be fix and you have the solution.
Like the examples above, “Become Mr. Right…” I took the effect that I was letting the surfer make up his own mind. Does he have an issue? It was entirely up to him to decide. Let me tell you, it works well on gay traffic. Let the gay surfer decide yes or no.
NOW, I tried a different approach and gauged the success/failure. I popped in text links like “Aren’t you upset by how small your penis is?” “Remember the guys making fun of you in the showers after gym?” or “Are you sick that you don’t fill up you the front of your briefs?” Well let me tell you the number of Emails I rec’d was “enlarged”! For the most part I was getting mail from men who felt I was exploiting them, even making fun of them. I made them feel inadequate and they lost their hard-on. My site was meant to entertain not disdain them. All I could say was WOW! I didn’t expect that kind of response. I will tell you that I was very happy that I didn’t do it across all of my sites and only a few. So I moved everything back to my “Let him decide” campaigns.
The affect of the sales on the “insulting ads” was evident. According to my traffic program it was apparent that these ads were NOT getting clicks. Instead the surfers clicked on my email link to voice their disgust.
The bottom line of all this? With the proper motivation, the right marketing approach, surfers enjoy the seclusion of buying penis enlargement aids online. It is a great addition to your web site income among other avenues.
Article written by Gary-Alan
-
Barter For Business – Cost Free Trading
Whether you are a designer, traffic broker, content provider or, web host the one thing that will connect your business in some form is that other webmasters at some point, will want the services and products that you offer. With this in mind, you are instantly at an advantage the reason for this advantage will become apparent in this brief article.
Bartering Goods And Services.
Bartering is a business practice that is as old as mankind itself, from the stone age right up to the present day individuals have been trading their goods and services for other goods and services of like value. This is where your advantage comes into play. Perhaps you are a web hosting company in need of design work or, perhaps you are a designer in need of traffic, either way, there will always be other webmaster who want the services you offer and, in return they will offer services that you require. This is the absolute fundamental basis of the barter system, trade one product or service for another in order to improve the way in which you do things.Finding A Company To Barter With.
The problem that so often arises when bartering is involved however is finding a vehicle for you to start the bartering process. More often than not you can find someone on a message forum that will be willing to barter your services however, this is not always the case and so, you should turn to email to instigate the initial contact.Asking For A Barter – How To.
First and foremost, before sending an email or making a post asking to barter your services or products you should compile a list of items that you need, this could be content, advertising, graphics work or even web hosting, either way, by having a clear concise list of what you are in need of and, more importantly, what you can offer in return prior to sending an email will help you out immensely.Now that you have your list of services you require and what you can offer in return it comes to the initial contact, the first thing you should do is explain what it is you are proposing as clearly as possible, explain why a barter with you will become a win/win situation for the both of you as well as making sure you drop a compliment or two about their company in the email. Also, you should prove why offering your services in exchange for theirs will be a fair trade, by doing all of this at the first point of contact you stand a much better chance of them accepting your trade proposal.
Bartering – Recap.
Bartering is a strong tool that can help you build your business from the very second you start it however, with this strong tool also comes the opportunity for it to become a strong negative when running your business. To much time concentrating on bartering services can take away from running your business to its fullest, rather than trying to barter services all the time, ensure you build a good capital up so you are able to invest in services to build your business. Either way, whether you choose to barter or not, this method has been proven in success for thousands of years, why not try it out for yourself?Article written by Lee.
-
Using .htaccess Effectively
The .htaccess file is an ASCII text document that can be placed in any directory on your site. It can be used to control access to files and directories, and customize some server operation in your site. A .htaccess file can be created in any word processor but must be saved as text only. You must use FTP software in ASCII mode to upload or edit your .htaccess file. For the examples provided here, place the .htaccess file in your root directory.
There are a variety of functions that you can control using .htaccess some of the more useful of these are explained below:
Custom Error Messages.
Add the following to the .htaccess file::
ErrorDocument 404 /notfound.html
After “ErrorDocument” specify the error code, followed by a space, and then the path and filename of the .html file you would like to be displayed when the specified error is generated, each specific error code is detailed below with the recommended codes to be used in the .htaccess file in bold :
200 OK
206 Partial content
301 Document moved permanently
302 Document found elsewhere
304 Not modified since last retrieval
400 Bad request
403 Access forbidden
404 Document not found
408 Request timeout
500 Internal server error
501 Request type not supportedUsing the codes above your error section of the .htaccess file should look like this:
ErrorDocument 301 /notfound.html
ErrorDocument 400 /notfound.html
ErrorDocument 403 /notfound.html
ErrorDocument 404 /notfound.html
ErrorDocument 500 /notfound.html
ErrorDocument 501 /notfound.htmlRedirect to a Different Folder.
Add the following to the .htaccess file:
RewriteEngine on
RewriteRule ^/oldfolder(.*)$ /newfolder/$1 [R]This redirects the user from /oldfolder/anyfile.html to /newfolder/anyfile.html, when the .htaccess file is uploaded to the otherwise empty “/oldfolder” directory.
Denying User Access.
Add the following to the .htaccess file:
<Limit GET>
order allow,deny
deny from 000.00.00.
deny from 000.000.000.000
allow from all
</Limit>This is an example of a .htaccess file that will block access to your site to anyone who is coming from any IP address beginning with 000.00.00 and from the specific IP address 000.000.000.000 . By specifying only part of an IP address, and ending the partial IP address with a period, all sub-addresses coming from the specified IP address block will be blocked. You must use the IP addresses to block access, use of domain names is not supported
Redirect a Machine Name.
Add the following to the .htaccess file:
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
# Rewrite Rule for machine.domain-name.net
RewriteCond %{HTTP_HOST} machine.domain-name.net $
RewriteCond %{REQUEST_URI} !machine/
RewriteRule ^(.*)$ machine/$1This will redirect requests for the machine name machine.domain-name.net to the directory machine on the site domain-name.net.
Different Default Home Page.
Add the following to the .htaccess file:
DirectoryIndex filename.html
Then a request for http://domain-name.net/ would return http://domain-name.net/filename.html if it exists, or would list the directory if it did not exist.
To automatically run a cgi script, add the following to the .htaccess file:
DirectoryIndex /cgi-local/index.pl
This would cause the CGI script /cgi-bin/index.pl to be executed.
If you place your .htaccess file containing the DirectoryIndex specification in the root directory of your site, it will apply for all sub-directories at your site.
Preventing Hot Linking.
Add the following to the .htaccess file:
# Rewrite Rule for images
RewriteCond %{HTTP_REFERER} <URL of page accessing your domain>
RewriteRule ^(.*)$ http://<same as above URL>You would replace the <URL of page accessing your domain> above with the domain name and path of the page that is referring to your domain. For example: www.theirdomain.com/users/mypage/
The RewriteCond directive states that if the {HTTP_REFERER} matches the URL that follows, then use the RewriteRule directive. The RewriteRule directive will redirect any reference back to the referring web page.
Using the above you should, safely be able to publish your sites on the internet knowing that you will not be privy to bandwidth thieves via hotlinking and also, that you will not lose any traffic through pages that are ‘not found’.
Article Written By Lee
Premium Sponsors
Categories
- 2257
- Billing Solutions
- Blogging
- Branding
- Content
- Domain Names
- Employment
- Forms & Contracts
- General
- Hosting
- Link Lists
- Opt-in Mail
- Paid Traffic
- Pic Posts
- Promotion
- Scripts
- Search Engine Optimization
- Sponsors
- TGP
- Traffic
- Tutorials
- Viral Marketing
- WebDesign
- Writing