-
HTML Page Load Times – Making Them Quicker
Surfers on the web are here for one thing and one thing only, they want information, they want it to be correct and, more importantly, they want it now. We cant always help when it comes to getting the information however we can help them so far as making sure that when one of the surfers clicks on our pages they load quickly.
Taking Control Of Speed.
For many webmasters hand coding their HTML pages is an often timely and costly method and, because of this they turned to the WYSIWYG (What You See Is What You get) editors such as Dreamweaver and Frontpage to create their pages for them however, even this in itself requires some manually intermission on the webmaster part. Many of the older style WYSIWYG Editors added a fair amount of un-needed code to the HTML so, spending a few minutes after you have your pages created to physically go through the HTML code and clean up the junk html can in effect, cut down your page size by up to 25% in some instances.HTML Quotations And Hyphens.
In addition to un-needed HTML tags you may also want to consider removing any quotation marks or hyphens from your HTML code, both of these can quickly clutter up a page and laden it down with more code than is actually required.For example, ‘HTML Coding’ makes just as much sense as me telling you HTML Coding when read in sequence. The trick with using quotations and hyphens is actually knowing at what point in your text you can ‘get away’ with removing them and, this is only something you will know yourself after proofing your completed page.
Hyperlinks.
If you are only going to provide links from one page of your site to another then, why use absolute paths? http://www.domain.com/linking.html is the same as /linking.html when you use it in a link from one page on your site to another and, well, in all honesty you have increased the load time of your page by only linking to the relative url instead of the absolute and that’s what we are trying to do here right? Make our pages load faster.White Space.
White space on a web page can be a good marketing tool however, white space in your HTML code is a bad thing, placing spaces between certain parts of your HTML code can quickly bog down your load times instead, try to use the tab key to separate certain parts of code likewise, keep the use of   to a minimum, this can quickly become the most relevant term on your page if used in excess.One other benefit of making your pages as small as possible is that a webmaster wanting to steal your HTML code is going to have a harder time finding the exact piece of coding if the HTML is all on a single line than they would if the code was laid out nicely however, this in itself is only a deterrent and it wont stop those webmasters determined to steal your HTML code.
Page Load Time Overview.
Hopefully this brief article has given you some idea of ways in which you can practically reduce the load time of your pages without affecting the overall look and feel of your site and, who knows, if your page loads quicker, then you have a better chance of your surfer getting to your sponsor quicker.Article written by Lee
-
Fonts – Everything You Wanted To Know
All web browsers use standard fonts. Mostly two types, one for proportional, one for mono spaced fonts. Proportional (or variable width) characters adapt in width, an “m” uses more space than an “i”. Mono spaced (or fixed width) characters are all equal in width, typewriter style.
Most browsers use “Times” for proportional fonts. This font was originally developed by the London Times news paper. “Courier” is used for mono spaced. This was a very popular font used for mechanical typewriters. Both are normally set to 12 points (1/72nd of an inch).
Serif And Sans Serif.
Both these fonts are so called serif fonts. The French word serif indicates the little strokes at the outer ends of the characters. They are very old, you see them in old gothic handwriting, or Greek and Roman buildings. Partly used for ornamental reasons, partly because the characters are easier distinguished.
It’s a little odd they are used on computer screens. These are by nature quite coarse, which makes serif characters quite grainy and ugly. Sans serif characters generally display a lot better on screens. Sans serif literally translates to “without stroke”. Probably the most popular sans serif font is Helvetica or derivatives like Windows’ Arial.<FONT FACE=”Arial”>…</FONT>
The FONT Tag.
The html tag for fonts is a somewhat crude instrument. Most word processors let you use any font you like, as long as it’s on your system. And that’s the first big problem in web browsers. You have no control over other systems’ fonts. So you will have to choose a font which is likely to be on any system out there.<FONT FACE=”Arial,Helvetica,Sansserif”>…</FONT>
Typeface.
The font tag accommodates this by letting you specify several fonts in the FACE attribute. If the first one is not available, the second is used, and so on. The set above is often used. Arial is on all Windows systems, Helvetica on Macintosh, Sans serif on UNIX. The same is true for mono spaced fonts in the line below.<FONT FACE=”Courier New,Courier,Mono”>…</FONT>
Size.
Word processors let you specify font sizes in points exactly. No such luck in web browsers. There are seven sizes to choose from, denoted 1 (smallest) through 7 (largest). If this SIZE attribute is not used it defaults to 3. I think the default 12 point size is a bit big, so I use 2 for size, which gives you about a 10 point character. Some browsers let you set the overall font size smaller or larger. Which makes this issue even more awkward.<FONT SIZE=”2″>…</FONT>
There is a nasty bug in some browsers. When using a block of text with size 1, the last line skips a line. This bug can be squashed by putting a <BR> tag immediately after the block of text. If your browser has this bug it will show in the second text below.
There is a nasty bug in some browsers. When using a block of text with size 1, the last line skips a line. This bug can be squashed by putting a <BR> tag immediately after the block of text (with break).
Color.
Fonts can have any color you like, much like the colors in the body tag. Keep readability always in mind, avoid clashing colors and little contrast. You can create nice shading effects. But don’t make a Christmas tree out of your page by using too many colors.<FONT COLOR=”red”>…</FONT>
Style Sheets.
There is a chance all this soon will be replaced by style sheets. They do let you specify exact point sizes, even use downloadable fonts. But for now I would advise against that, since not all current browsers understand them. You could however use a combination of both, should you want to.Article written by Lee
-
International Billing Alternatives – Online Check Payments
In my previous article i discussed the value involved with Premium Rate Phone billing as an option for your adult surfers and, staying on the topic of payment processing this article will take a closer look at the Online Check payment method or, ACH as it is commonly referred to.
ACH (Online Check Payments) – What Is It?
An online check payment is a method of allowing your customers to pay for their goods using their check’s online, in order for your customer to pay via a check they need to have available certain items these are, a current checking account, a valid routing number (found on the check) and, an account number. Funds paid via online checks are automatically debited from the customers bank account.Online Check Billing – How It Works.
Online check payments are processed in real-time, surfers are automatically accepted and authenticated via their current billing address, social security or, driving license number, once they have been authenticated their payment details are then sent to the ACH (Automated Clearing House) system where this information is automatically accepted as long as the details provided are verified as correct.Online Check Payments – What Are The Costs?
Utilizing the online check method of billing your customers is actually just as, if not more, cost effective as using online credit or debit cards, in effect, you are guaranteed the funds of the check once they clear as, in all reality, the surfer will not have such an easy time declaring the purchase as a ‘charge back’ because the information needed to pay via an online check is information that in reality, only they have access too.So, as with our previous articles, lets say your paysite membership fee for one month is US$35, a surfer signs up to your site using an online check, you make, approximately, US$33 from this membership for each and every month the customer (or surfer) chooses to renew their membership.
The one main advantage with online checks however is that, surfers will often feel more ‘secure’ in using them to pay for 3 or 6 month memberships and, as long as their check clears your account, you are almost certainly guaranteed the funds.
Online Check Billing – The Main Benefits.
As mentioned above already, the primary benefit of the ACH payment method is that the customer will almost certainly have funds available in their online checking account to be able to meet the cost of the paysite membership, after all, they wouldn’t give out their banking details if they were not sure the payment would go through. In addition to this advantage there are also several other advantages to using Online Checks as a payment method for example:Increased Sales.
Reduced Order + Billing Costs.
Faster Payment.
Reduced Credit Card Charge Backs.ACH Check Payments – Overview.
Whilst ACH check payments are a good alternative for US surfers the one major drawback is that, in today’s global market place they are not a method of payment for international surfers unfortunately, at this time, there are no companies who can offer this service to my knowledge to the ever growing global population.That said, there is a place in the industry for check processing for adult payments and, with Visa breathing down our collective necks more and more, now would be an ideal time to take an in-depth look at this processing method.
I hope this article has provided you with some useful information regarding the online check payment method.
Article written by Lee
-
Adult Webmaster Conventions – Remember When?
Most webmasters who have been working in the adult industry for a year or two have attended an adult webmaster convention of some sort and, those of us who had the privilege of attending our first webmaster show three to four years ago will know one thing that many others don’t, there used to be a time when you could attend a webmaster show for example, the one held at Disney World (how many of you remember that?) when apart from being relaxing, you would also get a lot of business done alas, times have changed.
Fighting, Drug Taking, Getting Drunk, Rape Accusations, Theft and Criminal damage would be the headline in the national press should one of these reporters attend today’s webmaster convention, instead of a relaxing atmosphere in which you can get business done you find a slew of webmasters who, well, lets be honest here, are only attending these shows for one reason, to get drunk (for free) and to have a laugh.
Of late there seems to have been an influx of people (notice I used the word people and not ‘adult webmasters’) joining the adult industry who would appear to think that our business model is one of all night partying, sordid sex sessions and drug taking, whilst, I will be the first to admit this has gone on in the past it would certainly seem that the last 2-3 years has seen more than its fair share of the negative events happening at these conventions.
Take for example the recent Hollywood Internext Expo show, one incident that comes to mind was the fool who decided it would be a good idea to smash the mezzanine canopy above the hotel lobby, to my knowledge the culprit was never found however, I am sure there are those out there who knows who it was and well, lets be honest, they quite possibly you could be reading this article.
So what happened? How did these shows change so drastically? Quite simply I think it was the sudden onslaught of press coverage about how the adult industry makes so much money for everyone and, whilst there is a lot of money to be made in the industry, it takes a lot of work to achieve making the reported figures by the press.
To many people are entering the adult industry thinking that the ‘norm’ is that of what you can find on your average day of visiting GFY and whist, this is perhaps true for the circle of webmasters who do frequent boards such as GFY for the vast majority of hard working webmasters in the industry, the behavior of those webmasters couldn’t be further from the truth.
So where is all the business being done at the shows? It would appear that event after event the open invite list of parties are being cut down to be taken over by more intimate and sociable private parties in fact, as a company we our ourselves holding several smaller invite only parties for those people that we actually want to do business with on both a personal and a professional level.
So what does the future have in hold for the adult industry events, in all honesty I do not know however, one thing is for certain, if things continue on their current route, things are going to become a whole lot worse before they get any better.
Article written by Lee.
-
How To Claim Back European V.A.T
With the recent legislations requiring US businesses to charge Value Added Tax to EU Member state customers for purchases of digital product / image downloads there are many new questions going around enquiring how companies and small business owners can claim the VAT back this is what we will look at in this brief article – The basics of claiming back your VAT from Europe.
What Is V.A.T?
Value Added Tax (VAT) is a consumption tax levied on goods and services in many countries across the globe. Over the last decade, legislation in the tax systems of Europe, Canada, Japan and South Korea allow for a refund for the majority of non resident entities, worldwide to a refund of VAT in most instances however, especially in the business world, registration must be achieved prior to claiming back your VAT and, preferably before the purchase of Vat able goods takes place.Who Is Entitled To A VAT Refund?
Most businesses will be entitled to receive a VAT refund however, as the laws vary from country to country, the best way for you as a business owner to find out the laws as they affect you is to contact your company accountant who, should be knowledgable enough to inform you of what you need to claim back from each of the EU member states where V.A.T has been charged.What Products Can I Claim V.A.T Refunds For?
Most typically value added tax recoverable expenses can take form as one or more of the following items:Business Property Expenses.
Transportation Costs.
Inter-company Billing.
Marketing + Promotional Services.
Exhibitions, Conferences + Business Meetings.
Importation V.A.T.
Digital Downloads (Business Related).How Do I Register For V.A.T?
When a company inside the domestic US conducts transactions in the EU countries where value added tax registrations may be required the registration for the VAT refund should be done prior to the transaction taking place however, on occasions which vary from individual EU member states this registration process may be done retroactively. By becoming registered to claim your VAT back the company is legally required to d the following:1) Register for the VAT in the EU country where the transaction takes place.
2) Account for VAT on all invoices or receipts issued to your European customers.
3) Deduct the V.A.T incurred from your European suppliers of goods or services.Value Added Tax – An Overview.
When all is said and done, other than the obvious need to increase your pricing structure for certain global markets registering for and, charging value added tax actually has a great deal of benefits. You now get to claim addition refunds from any expenses that you incur from the day to day running of your business, your promotional activities become vat’able so you can now increase the level of global marketing you do and, claim full value back from the EU member states (where applicable). basically, registering in the EU member state will enable your business to grow on a global scale and, at the same time, afford you the luxury of being able to market your goods and services to a greater client base at virtually no cost to yourself this is a good thing especially when you take a look at the growth that international internet usage is making each month.Article written by Lee
-
Mirroring Adult Sites – Stage Two
Ok, in stage 1 of this tutorial we learnt the basic ‘setup’ for our multisite generation now we have to start putting the rest of our puzzle together.
At this stage in the tutorial we should now have a 50 pic free site, all of the images are in the appropriate folder on our HD along with the HTML in their own folder. If you have not already done so, you need to ensure that when you add/added the links to your individual HTML pages that you call the images like this:
/FreeSite/Images/pic1.jpg
The Thumbnails like this:
/FreeSite/Images/Thumbs/thumb1.jpg
The gallery links like this:
/FreeSite/Galleries/gallery1.html
And the FPA from the warning page like this:
/FreeSite/FPA/fpa.html
Why are we calling the links like this and not like, http://www.mydomain.com/FreeSite/Galleries/gallery1.html I hear you ask, well the answer is simple, in order to use this site TEMPLATE over and over again, we need to ensure that there is a standard way of calling the links, this way, once we decide duplicate this site on a different domain, all we do is upload the folder to our server with a different set of images and we have another set of sites built.
Ok, we now have our free site but, we have some empty folders that need filling up, here is how we are going to achieve that.
What we now have to do is re-open the Gallery Pages, DO NOT change the image calls or the thumbnail calls however, what you will need to do is select 15 TGP’s that you would like to submit to, download the recip buttons for these TGP’s and save them in the /FreeSite/Images/Recips/ folder.
Now we have the gallery pages open we need to modify them like this..
Take the top text link that you created and replace that with a 3 cell table. In this table for the first gallery, you need to call the first 3 recip links for the TGP’s you want to submit to and link them to the appropriate recip url for each of the TGP’s again, calling the recip images like this, /FreeSite/Recips/recip1.gif. Also, you will need to modify the text link at the bottom of your gallery pages, I would suggest creating an 8 cell table, containing 8 niche text links, four of which should go to your Single-Site FPA’s (as created for the surfer trap) and the remaining 4 text links should go directly to your sponsors site tour page.
Now save this newly created page as tgp1.html in the /FreeSite/TGP/ folder. Do the above again for the remaining 4 gallery pages but calling a different set of recip links each time. each time you modify a gallery page save it in the /FreeSite/TGP/ folder so gallery2.html would be renamed to tgp2.html, Gallery 3 would be called tgp3.html and so on.
What you should now have is a single 50 pic free site with 5 galleries of 10 pics, all pics going to the larger image on a HTML page and, 5 TGP galleries.
This is as far as we go with the tutorial today however, in the next stage we will continue to fill in the rest of the puzzle pieces.
Article written by Lee
-
Obscenity – Put It To The Test
Regardless of how long any of us have been an adult webmaster we all need to be
aware of obscenity laws and, in particular how they affect our businesses
whether we think a hardcore photoset is ‘obscene’ or not ultimately, if you get
taken to court on obscenity charges the one thing you should be aware of is how
the courts will decide whether the images you are using will be classified as
obscene or not.Testing Obscenity – The Miller Test.
The Miller test was developed in the 1973 court case of Miller vs. California
and in comprises of three parts ALL of which MUST be satisfied on order for
something to be deemed obscene by the courts. The Miller test is the ‘official’
method used by the United States Supreme Court for determining whether an
expression or a speech can be determined as obscene and, if deemed obscene, it
is not protected under the First Amendment and is therefore prohibited by law.The Miller Test – Part One.
Part one of The Miller Test states something may be obscene if ‘the average
person, applying contemporary adult community standards, would find that the
work, taken as a whole, appeals to the prurient interest’ In essence, this
means that if the ‘average’ person on a jury or on the bench finds the work to
be deemed obscene then, it is. However for the court to rule something as
obscene it also has to be deemed obscene by the standards set in part two and
part three below.The Miller Test – Part Two.
Part two of The Miller Test states that something is potentially obscene is
‘the average person, applying contemporary adult community standards, would
find that the work depicts or describes, in a patently offensive way, sexual
conduct’. Basically this is saying that if the images or speech is something
which is not practiced in a manner befitting your local community standards
then again, it may be obscene. However, as with part one of The Miller Test for
a court to find something obscene it needs to fall below the standards in part
three below.The Miller Test – Part Three.
Part three of The Miller Test states that something is potentially obscene if,
‘a reasonable person would find that the work, taken as a whole, lacks serious
literary, artistic, political, or scientific value.’ This is pretty much where
you could potentially come unstuck after all, everyone has different sexual
tastes and because of this, just because something that may be widespread such
as ‘bare backing’ (to use as an example) could potentially be considered as
obscene if you happen to have a jury who are devout practicers of safe sex.The Miller Test – Overview.
In essence The Miller Test is a useful guideline for webmasters when it comes
to operating our sites and specifically, when it comes to choosing the types of
content we utilize on them however, for the most part The Miller Test itself is
outdated. Since the early 70’s when this test was devised there have been many
sexual practices that were once deemed obscene that have become more a part of
everyday life and accepted in to society as whole thus, what once would (or
could) have been deemed obscene would no longer be in the same sense as
something that may be deemed obscene today could be found not to be in 5 years
time.Article written by Lee
-
Building A Surfer Trap – Stage 1
The last 2 weeks I have had a LOT of webmasters email and ICQ me regarding traffic and, not getting any sales.
So, I thought it would be a good idea to make a step by step tutorial on building your own surfer trap.
Now these are some of the arguments I have heard why people haven’t already built one over the last few weeks…
* To complicated to follow.
* I want surfers returning to my site.
* Don’t have the time.The first two however seem to be the ones that I hear over and over again.
First of all, a surfer trap IS NOT complicated, in fact, it is probably one of, if not THE easiest type of site to build.
Secondly, Why get a surfer visiting your site over and over again if they are not paying for trial memberships? All you are doing is wasting your bandwidth.
Thirdly, A surfer trap can be built over a period of time, my very first trap was built within 1 hour my next was built in a day and my next one was built in a week.
So onto the start of building our surfer trap…
The first thing that I want you to do is to look at the Multi-Site FPA’s that ARS in the marketing section and choose ONE of them.
Download it, optimize the keywords on the FPA, make sure you add meta tags, titles descriptions and Alt tags on all images.
Once you have done this, you now need to search through ALL of the single site FPA’s and download and optimize one for each of the ARS sites that you have on your Multi-Site FPA. (Even the gay sites!)
This should take you 2-5 minutes for EACH FPA, any longer than that and you are doing TOO much work!
Once you have all of the single FPA’s downloaded, optimized and uploaded onto your server that is the first stage completed.
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
-
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