-
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
-
10 Killer Advertising Sentences
10 Killer Advertising Sentences.
Tell your readers what they are probably thinking, feeling or doing as they read your ad copy. This strategy will usually trigger their own subconscious mind to bring out these feelings or actions.You can add these sentences into any ad copy. You may have to change one or two words so it relates more to the product or service you’re selling.
1. As you keep reading this ad copy, you are feeling more and more compelled to experience all the benefits of our product.
2. The more you understand just how valuable our product could be to your life, the less you think about delaying this important purchase.
3. After you read this short ad you will feel like your problems are almost completely solved, all you will have to do is order.
4. As you’re skimming through this, you’re beginning to think you have nothing to lose and everything to gain by trying out our product.
5. As you’re scanning over this ad copy, you are beginning to imagine using our product and enjoying all the benefits it brings.
6. The more you keep reading our ad the more you feel it would be a waste to let this opportunity slip by.
7. The more you review our ad the more you begin to find yourself getting very excited about our product and starting to feel the urge to buy now.
8. You don’t know it yet but, at the conclusion of this ad, you will feel driven to order and experience all the benefits of our product.
9. You don’t realize it yet but, in a few short minutes you’ll realize that you can’t put off this vital purchase and then you’ll be yanking out your credit card.
10. As every word you read travels from this ad to your brain, you start to understand just how much our product could benefit your life.
I hope this article has given you some insight as to how we, as webmasters, can actually ‘manipulate’ the surfer into doing what we want them to and, ultimately, into making us money.
Article written by Lee.
-
International Billing Alternatives – Premium Phone Billing
In the last article i wrote in respect of international billing options we took a closer look at the SMS Billing method and its pitfalls and benefits when charging our surfers for access to our sites. In this article we will take a look at another option we can offer our international surfer base – Phone Billing.
Phone Billing – What Is It?
Phone billing, as the name would suggest is a method of applying a ‘charge’ to a surfers normal land-line telephone. This charge is often around the cost of $35 (US).Once the surfer has called the premium rate number displayed on your websites join page, they are given a code to enter into a form, again, this form could be on your join page or on a separate site.
Phone Billing – What Are The Costs.
To be perfectly honest with you this is all dependant on to many variable factors to give you a good solid answer. However, as mentioned above the standard cost would seem to be in the region of $35 (US) but, this can often vary depending on factors such as the country in which the surfer is calling the premium rate line from, How much the surfers telephone company charges for a call, How much the paysite charges for access, How much the premium rate phone line provider charges, etc etc.Generally speaking however, the cost to the surfer is almost always made into profit in your pocket, if a call costs $35(US) you will almost certainly make $35(US) from that surfer minus a small percentage (depending on the provider) again however, this figure may vary slightly.
Phone Billing – Overview.
As with SMS Billing, Premium Rate Phone Billing offers a good alternative for your international surfers to access a paysite however, this doesn’t come without its drawbacks. Unless your members area is updated regularly and is of high quality you are going to make $35(US) approximately of each surfer unless, that is, they decide to call the premium rate number again for access to your site for another month.That said, if you do not want to offer your foreign surfers the option of having credit card or debit card access to your sites Premium Phone Billing would almost certainly be my second choice to make money from them at the present time.
Article written by Lee
-
Resource Forums – The Changing Face Of The Adult Industry
Online adult webmaster resource sites are becoming a thing of the past instead, we have witnessed a new breed of resource site being birthed in the adult industry, the resource forum. It seems like almost every major adult sponsor and webmaster has their own resource forum as of the current time however, what is making these forums stand out from one another and, more importantly, can you actually learn anything valuable from them.
Webmaster Resource Forums.
Back in the day there were only a handful of resource forums made available for adult webmasters to educate themselves further, these included such sites as Ynot Masters, Netpond (then The Condom Chronicles) and Porn Resource, however, to date there are no less than 200 webmaster resource forums floating around the internet for adult webmasters to post on.With this amount of resource forums available to webmasters it seem impossible that many webmasters cant be making a profit however, upon closer inspection a disturbing trend seems to be taking place.
Resource Forums – Webmasters Posts.
With the sudden surge of webmaster resource forums in the last 6-12 months there is one thing that is apparent, most of, if not all of the resource forums to have spawned during this time have one thing in common, the webmasters who post on them, often, these webmasters are posting for a single reason, to get other webmasters to click on their signatures, nothing more, nothing less.It would appear that the adult industry is heading towards a meltdown of the adult resource forums, with more and more webmasters grabbing free scripts such as phpbb to load onto their domain and launch their own resource forum it would appear at first glance as if the industry is a thriving community of webmasters all willingly helping each other out however, this is not the case, instead, we find post after post duplicated across multiple resource forums in the effort of making the longest thread, getting the most page views and, ultimately, getting the most signature clicks.
Webmaster Resources.
So with all of this going on what’s happening to the actual resource sites? Well they are still around and, they are still being used however, these have now become second place to the message forum, often as mentioned above, webmasters will post the same message on several message boards and get several replies of exactly the same answer from exactly the same people. Whilst this in itself is a good thing (the exchange of information) my personal feelings are that we are heading towards an excess of resource forums and, whilst communication is needed, there also becomes a point at which you can get an information overload, new webmasters entering the adult industry will see the variety of forums made available to them and start posting however, in doing so they forget the one thing that they actually should be doing, working.Webmaster Resource Forums – Overview.
I think within the next 12 months we are going to see one of two things start to happen, either the resource forum phenomenon will continue as it is doing now or, the resource forum will become a thing of the past whilst a new medium takes its place, one thing is certain though all these webmasters posting on forums to get sig views and post counts are not doing the one thing they should be, making money and, this becomes all to apparent after watching the same old posts, make the rounds to the same old forums time and time again.Resource forums can be great help to the adult webmaster however, at the same time, they can also become a webmasters biggest downfall, remember why resource forums are there, to help you when you need it and to socialize when you have to, at what point to do you stop getting help and start becoming a post whore? Well only you can answer that question.
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
-
Records Keeping Compliance Checklist for European Content Providers
More and more European Content Producers are choosing to do business with American. webmasters. While citizens of foreign countries cannot be compelled to comply with United States’ restrictions on the creation of adult material, business realities are forcing foreign content producers to consider voluntary compliance. American webmasters, painfully cognizant of the increasing need to focus on legal compliance, consistently reject foreign content that is not produced in compliance with 18 U.S.C. §2257. Non-compliant content not only increases the risk that an underage model could slip through, but failure to strictly comply is itself a federal felony, exposing those involved to a 2-year prison term. Given the substantial compliance motivations involved, foreign content producers are expected to adopt the U.S. requirements as the global standard for creation of sexually explicit imagery. The following constitutes a bare minimum checklist for compliance with the requirements of Section 2257:
1) Assume that all erotic images require Section 2257 compliance: While the law only applies to actual “sexually explicit activity,” it is ill-advised for the content producer or the webmaster to attempt to guess which images require compliance, and which can be safely distributed without compliance. Since child pornography does not require the depiction of sexual activity to meet the federal definition, such distinctions can be risky business. And, in any event, a release given by a minor normally is not enforceable.
2) Obtain a signed compliance form created by a competent attorney: Section 2257 requires that certain records be created containing certain information. The right form is the best place to start.
3) Obtain, at a minimum, the following information from each model:
a. Date Of Birth
b. Legal Name
c. All other names, aliases, nick names, stage names, and maiden names
d. Social Security Number
e. Copy of Government-Issued Identification containing a picture; preferably 2 pieces of identification. Note the requirement that the producer actually examine the identification document, not just the copies.
f. Address, phone and other contact information
g. The model’s signature
4) Require the model to execute a binding model release prepared by a competent attorney. The images are only as legal as the model release backing them up. If all relevant rights have not been transferred and released by a valid model release, both the webmaster and the content producer are subject to claims once the content is displayed on a Web site.
5) Maintain the records so that they are cross-indexed by the models’ legal names and stage names and by web page. Alternatively, provide copies of all records to the webmaster if the webmaster will act as Records Custodian. You need to discuss the particulars of this with an attorney, because each circumstance may be unique.
6) The Records Custodian should maintain an off-site backup copy of the records: What happens if there is a fire or a government seizure?
7) Include a conspicuous records custodian disclosure on all CD’s / DVD’s containing erotic imagery, including the full legal name of the custodian and physical address where the records are kept. The disclosure should also certify that all models are over the age of 18, and include the date when the content was first created, published or republished. Placement of the disclosure on the product should be reviewed by an attorney.
Only through strict compliance with the mandates of Section 2257 will American webmasters fully embrace content produced overseas. The right compliance procedure will open profitable markets for foreign content producers, and result in a wider variety of adult content for both webmasters and consumers.
Article written by Lawrence Walters
-
Redirecting To A Different Page Using JavaScrip
There are times when a simple JavaScript redirection from one page to another can come in handy and, the following JavaScripting will enable you to do this.
When a page contains this javascript, it will be redirected to another page that you specify in the “window.location=”. You can change the number of refresh seconds by changing the “move()’,1000 to the number of seconds you’d like.
Example:
1000 = 1 second
2000 = 2 seconds
3000 = 3 secondsPlace this JavaScript code between the <head> and </head> tags
<script language=”JavaScript”>
<!–hide from old browsers
var time = null
function move() {
window.location = ‘http://www.yourdomain.com’
}
//–>
</script>Place this JavaScript code in your <body> tag
<body onload=”timer=setTimeout(‘move()’,1000)”>
You should now have a page that will redirect to a new url when it loads in the surfers browser window.
Article written by Lee
-
Saving Time Online – Shortcut Keys
The one thing that i have started to do just lately is use shortcut keys. These are actually very easy to get used to and, will save you a lot of effort over a period of time.
Below you will find a list of the more common shortcut keys in both Windows and Internet Explorer.
Even if you get used to using one or two of these shortcut keys you will notice the time you start save over a week, hell, i don’t even type the whole domain into my IE address bar anymore!
Here are the shortcuts for Windows along with the description of what they do:
Alt + F – File menu options in current program.
Alt + E – Edit options in current program
F1 – Universal Help.
Ctrl + A – Select all text.
Ctrl + X – Cut selected item.
Shift + Del – Cut selected item.
Ctrl + C – Copy selected item.
Ctrl + Ins – Copy selected item
Ctrl + V – Paste
Shift + Ins – Paste
Home – Goes to beginning of current line.
Ctrl + Home – Goes to beginning of document.
End – Goes to end of current line.
Ctrl + End – Goes to end of document.
Shift + Home – Highlights from current position to beginning of line.
Shift + End – Highlights from current position to end of line.
Ctrl + Left – Moves one word to the left at a time.
Ctrl + Right – Moves one word to the right at a time.
Ctrl + Backspace – Delete word to the left of cursor.
Ctrl + Del – Delete word to the right of cursor.
Alt + Tab – Switch between open applications.
Alt + Shift + Tab – Switch backwards between open applications.
Ctrl + Esc – Bring Up start button.
Alt + Esc – Switch Between open applications on taskbar.
F2 – Renames selected Icon
F3 – Starts find from desktop
F4 – Opens the drive selection when browsing.
F5 – Refresh Contents
Alt + F4 – Closes Current open program.
Ctrl + F4 – Closes Window in Program
Alt + Enter – Opens properties window of Selected icon or program.
Shift + F10 – Simulates right click on selected item.
Shift + Del – Delete programs/files without throwing into the recycle bin.
Holding Shift – Boot safe mode or by pass system files.
Holding Shift – When putting in an audio cd will prevent CD Player from playing.The following list are shortcut keys when using Internet Explorer:
Alt + Left – Back a page.
Alt + Right – Forward a page.
F5 – Refresh current page / frame.
Esc – Stop page or download from loading.
Ctrl + Enter – Quickly complete an address.
Ctrl + N – Open New browser window.
Ctrl + P – Print current page / frame.Hopefully this list of shortcut keys will get you saving some time even if its just a few minutes a day. After all, we all know the one thing webmasters need more of is time.
Article written by Lee
-
Adult Exit Traffic
How Do You Use It?
I honestly do not think there is a webmaster working in the adult industry to date who has not seen a warning page for a free or avs site with both an enter and an exit link, the enter link goes to the main body of the site in question whilst the exit link goes to some other link, normally disney.com or google.com or some other url where the webmaster in question is quite literally throwing their traffic and money away.
Instead of wasting your exit link traffic to a site that doesn’t make you a cent why not utilize this traffic to feed additional revenue streams, for example, most of the larger adult sponsors now have penis pill programs or dating sites, you could include your affiliate id in the exit link and send your traffic there, after all, the surfer you have on your site isn’t looking for porn so, offer them an alternative which, can still add to your bank balance.
So What Are The Alternatives?
The alternative types of sponsors you should be using on your exit links can vary widely however, the best type of site to send them to would be a sponsor offering products and services such as penis enlargement programs, online pharmacies, history eraser type products or, even a link to a site like amazon.com if the program you use allows for that.Basically you should try to maximize all the traffic you get to your site whether that be by using exit consoles or links, make sure that for each and every surfer you send to the front page (warning) of your site that if they decide to back out or click on a link to leave that you send them somewhere to give them the option of spending money and ultimately earning you revenue.
Article written by Lee.
-
How To Use ALT Tags On Your Sites
One simple technique can improve your search engine rank, make site navigation easier, and increase the accessibility of your site to disabled visitors. Yet, as many as 78% of sites don’t use it! Boost your site’s profile with human visitors and search engine spiders with the <ALT> tag.
Inserting ALT Text
Adding <ALT> descriptions to your <IMG> tags is quick and easy. You don’t have to do any complex HTML coding. If you can describe your image or link, then you can add ALT tags to your code.
We’ve used some examples below:
<img src="thumbnails/porn.jpg" width="100" height="78" ALT="Explicit Teenage Sex Pictures">
You can also include an ALT tag when your image is a link:
<a href="porn.html"> <img src="thumbnails/porn.jpg" width="100" height="78" ALT="Explicit Teenage Sex Pictures"></a>
Ideally, your ALT text descriptions should be complete sentences, rather than a list of keywords or obscure phrase like “company logo small 2.” Remember that all visitors are likely to see (or hear) some version of your ALT text so be sure that it’s meaningful.
Optimize ALT Descriptions For Search Engines
Besides helping human visitors, ALT descriptions help you rank higher in some search engines. AltaVista and Google are two of the search engines that use ALT descriptive text when they rank Web sites. The growth of search engine/directory partnerships means that a high rank in one engine can often translate into an improved rank on its partner sites.
Search engine algorithms calculate the number of times keywords are repeated and give higher rank to pages that use them often. Keywords in the ALT descriptive text help you increase their frequency on the page. Search engines assume the terms are more relevant and important if they’re used in the page content, not just listed in the META tag.
For instance, the descriptive text in the example code uses keywords and keyword phrases from the META keyword tag: Explicit Teenage Sex Pictures. Since these are relevant to the site’s content, they’re easy to include as descriptive text.
If you’re having problems choosing relevant, targeted keywords, refer to this article, How To Pick Your Keywords. It provides helpful tips about selecting keywords and using them to improve your search engine ranking.
Make Your Web Site Sticky
ALT tags help you promote your site in another way too: they help make it “sticky.” Sticky means that visitors stay at your site longer so they see your advertising and purchase your memberships. Visitors who feel comfortable at a site will stay longer – and hopefully return more often to make further purchases.
Disabled visitors who use text-only or spoken word browsers rely on the ALT text for clues about the image’s content and function. This can be a lucrative audience: they represent a worldwide audience of 750 million and spend twice as much time online as the average user. But it isn’t just a disability issue: ALT tags make your site more accessible to everyone.
Visitors see your ALT text while the images are downloading or when they mouse over images. The descriptive text helps them decide if they want to wait for an image to download or move on to a different page. If your image is also a link, then visitors can read the explanatory text and quickly jump to the section they want.
Site navigation is easier, so impatient visitors are less likely to leave the site.
Don’t Follow The Crowd
ALT tags are a small addition to your HTML code that can make a big impact on your site. Since many of your competitors don’t use them, give your site and edge and include them on all images.
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