• Utilizing All The Content You Use On TGP Galleries!

    Date: 2011.02.24 | Category: TGP | Response: 0

    Utilizing All The Content You Use On TGP Galleries!

    For the last few months i have been experimenting with a few new (but old, if ya see what i mean) ideas.

    Basically i have adapted Voltars 3x3x3 project slightly and incorporated it into the TGP/TGP2 game.

    The results have given me some of the best sales ratios ever! We’re talking under 1:60 almost consistently across all sponsors!!

    What you did is thus….

    Design a NICE 15 pic tgp gallery in a table preferably four rows high and 5 columns across.

    In the first row place one thumb in each cell (5 pics).
    In the second row place one odd sized banner in the first cell and merge cells 2,3 , 4 and, 5.
    In the cells you have merged place some descriptive text about the pics you are using in under two paragraphs and include a line of text where you MENTION the sponsors site name.
    In row 3 place one thumb in each cell (5 pics).
    in row 4 place on thumb in each cell (5 pics).
    under the table place a juicy text link.
    below this juicy text link leave a line or two and add a money bar (one row by three columns using a contrasting color to the background of your gallery page).
    ALL pics go on html pages using the same layout as your main TGP page but, without the table included.
    Repeat this process 4 times once for four different niches, saving each niche in their own sub folder for the main site i.e:

    url/sub folder/niche 1
    url/sub folder/niche 2
    url/sub folder/niche 3
    url/sub folder/niche 4

    You should now have 4 TGP galleries using 15 pics on each in four niches (60 pics in total).

    At the top of each of these main pages place a three cell one row table.

    in this table use text links to describe each niche i.e:

    Teen
    Gay
    Lesbian
    Mature

    in the template for the teen niche you use text for the gay, lesbian and, mature templates and link these to the appropriate TGP template.

    This is where the fun begins…..

    Take all four TGP niche galleries you have just made and do the following….

    Delete the first row of cells (including pics) on all TGP galleries and save the new page layout in another folder using the same navigation structure as the original ie:

    url/sub folder 2/niche1
    url/sub folder 2/niche2
    etc
    etc

    You should now have the following:

    four TGP templates consisting of 15 pics each.
    four TGP templates consisting of 10 pics each.

    Again, link these new 10 pic templates to each other in the same way as you did the 15 pic templates.

    Repeat this procedure to make the 10 pic TGP page using the original TGP page BUT, this time, delete the bottom row of cells.

    You now have the following:

    4 niche 15 pic TGP pages
    4 niche 10 pic TGP pages
    ANOTHER 4 niche 10 pic TGP pages

    Still with me?

    Its gets better….

    Take your original 15 pic TGP template and do the following…

    Delete the first and the third row of cells including all the pics and save them in ANOTHER folder using the same structure as before i.e:

    url/sub folder 3/niche 1
    url/ sub folder 3/niche 2
    etc
    etc

    Again link these in the same way as before using the text links at the top of the pages.

    What do you have now?

    4 TGP pages using 15 pics
    8 TGP pages using 10 pics
    4 TGP2 pages using 5 pics

    Can you guess what’s next?

    Take that original template again and…

    Remove the first and fourth row of cells do the same when you save it as you have done above…

    What do you have?

    4 TGP pages using 15 pics
    8 TGP pages using 10 pics
    8 TGP2 pages using 5 pics

    Do it once more using the original templates but removing the final set of 2 rows of cells you now have…

    4 TGP pages using 15 pics
    8 TGP pages using 10 pics
    16 TGP2 pages using 5 pics

    In the root of the domain where you are going to upload these pages do the following…

    Create a simplistic warning page… link this to a multi site FPA… this multi site FPA links to each of the niche (15 pic) TGP templates you have made.

    On this same fpa place an email erotica collection box, banner exchange code and a toplist counter code along with an exit console going to a MC POTD program.

    Now, what you need to do is start submitting these pages to the TGP/TGP2’s submit one a day or as many as you can until you have submitted them all.

    Ok still here?

    Next you have to duplicate ALL of the above again.

    Place the duplicate of the above into a separate set of folders/sub domains etc.

    On the new root you have created, link to another multi site FPA AND the first root index.html page.

    You now have the makings of an EXCLUSIVE 3x3x3 TGP hub which, you can leave alone and submit all of the pages intermittently to any TGP/TGP2 you wish for LIFE!!

    All the time you are adding new sections to it and building your link pop in the search engines because you are continually interlinking to each of the separate niche and relevant sub niche folders.

    Of course, you NEED to get the meta’s sorted on the first main template for this to work but, if you change all subsequent meta descriptions etc you’ll have a very reasonable listing in Google for the relevant search terms :)

    Article written by Lee

  • Time Management – Organizing Your Content Purchases

    Date: 2011.02.24 | Category: Content | Response: 0

    From time to time it is inevitable that as adult webmasters there will be two things that will happen:

    1) You will buy some licensed content.

    2) You will use this content for a gallery.

    However, unless your content is organized you can end up spending to much time to make a 10 pic gallery page. This article is going to offer you some sound advice on how to organize your content from the second you take delivery of it which, will save you a lot of time long term.

    So we have taken delivery of our adult content either by download or, on cdrom what next, we could just file it away on cdrom but, by taking a little extra time to organize your content from the start you will end up not only building sites MUCH quicker but also saving time all round.

    Here are some helpful hints to get you on the way to content organization.

    1) Unzip all your content sets and, if applicable, separate them into model and niche sets.

    2) Create folders for each model and, each set of 10 images within the main model sets.

    3) Rename all your images in the 10 pic sets starting from pic1.jpg through to pic10.jpg.

    4) Crop, compress and thumbnail each image within each set of 10 that you have.

    5) create a html page that calls your thumbnails and main pics using relative urls i.e. /set1/gallery1/image1.jpg for the larger image and /set1/gallery1/thumb1.jpg for the thumbnail image.

    6) Inside each of your 10 pic/thumbnail folders place this HTML page you have just created.

    7) Burn each of the gallery folders to cdrom.

    Lets now look at what an hour spent has enabled us to do.

    Instant Galleries.

    Say we want to build a 10 pic gallery to add into a free site or an AVS site that we are building, we know we have all the galleries already made, its just a case of finding the correct gallery and uploading it to our server.

    Image Swapping.

    What happens if we need to swap an image from one of our pages to a more appropriate one for the niche we are marketing to, simple, you go to the image set you want, look for the image name and simply change the image without having to upload it as, you will now know the EXACT location on your server of the image you are changing to e.g., /set6/gallery8/image9.jpg would change to set24/gallery2/image2.jpg.

    There are of course other ways this can benefit you for example, you can plug in your galleries to any site you own if you have them all uploaded to a central content location domain.

    The benefits of organizing your content from the instant you take delivery are endless, the above is just a sample of how I have successfully saved time and effort by becoming more organized, the only limitations you have with your organizational skills are those that you impose on yourself.

    Article written by Lee

  • Niche Marketing – What Is A Niche?

    Date: 2011.02.23 | Category: Promotion | Response: 0

    The first step as webmasters we must take to become successful is to discover what our niche specialty is however, many webmasters still do not realize exactly what a niche is.

    In fact, from the webmasters I have spoken to it would seem that a ‘niche’ is just another word for the main topics of pornography, Teen, Asian, Fetish, Gay, Straight, the list goes on and, whilst this list is never ending they are all niches in themselves however, you need to look beyond the top level niche and start to develop a feel, a stance of your own as to what niche you will work on for example, Asian Midgets, you probably cant get more niche than that in this day and age however, realistically, the chances of you a) being able to find the content for this niche and b) Being able to find a sponsor are remarkably thin.

    That said, if you can find a niche that you like personally, whether that be she-male, midgets, straight or, gay, this will give you a solid foundation to market your sites on especially if you build on your already vast knowledge of what turns you on.

    Now, onto breaking down the niche you are comfortable working in..

    Lets say for arguments sake that you have chosen to concentrate on the ‘Gay’ market,, within this market (as with any other) there is a remarkable amount of ‘sub-niches’ and, these are what you need to build your business around whether you want to or not, the ‘sub-niches’ of any given adult market is where the $$$ can be earned.

    Now using the gay market as an example the first few niches that come to mind are:

    Twink’s – Young looking hairless 18 – 20 year olds.
    Bear’s – Hairy men over the age of 20.
    Hunk’s – Muscular looking guys in the age group of 20 – 30 .
    Straight Guys – Yes, that’s right, gay men get off on looking at straight guys.

    As you can see from the above four examples we can now start targeting our market audience a lot better.

    The next thing we need to do now that we have found the niche and the sub-niche we will be working is to look for a sponsor that complements the niche of our choice, this is the hard part. Many webmasters will go directly to the highest paying sponsor and throw links up to their ‘sub-niche’ pay site not even looking at the sites tour or members area. This is a huge mistake, the first thing you NEED to do is to look over the sponsors paysites and, more importantly, the sponsors site tour AND members area. What point is there sending your surfers who are after Twink’s if, your sponsors tour has images of a load of guys over the Twink age bracket?

    From this point on and, after you have chosen a suitable tour to send your traffic to you need to build up a flow of ‘niche’ traffic the chances are, if you submit your TGP gallery to an ‘all gay’ TGP that you will receive a substantial amount of unfiltered traffic making your hard work in choosing your sponsors tour worthless.

    So how do you choose a traffic source that is right for you? Simple, you need to experiment, start of with your niche TGP’s, Top Lists, Links Lists etc and see what happens, how much traffic are you being sent from your chosen traffic source and, more importantly, how much of this traffic is actually clicking through to your sponsors tour. Once you can get an idea of what traffic you are being sent from what traffic source you have won more than half of the battle already.

    Record EVERY possible detail about your traffic sources that you can, how much traffic they send a day, how many visits your sponsor gets, how many sales you made, what content you were using etc, etc.

    Once you have a working list of data to use you can start to abuse and filter your traffic like you would have not thought imaginable, if one of your sponsors has a higher payout on Bear traffic, then you instantly know what traffic source gives you traffic for that niche and, you can utilize that information to your benefit.

    The most important thing to remember however when marketing a niche is that you need to have patience, you need to use a process of trial and error and, more importantly, you need to experiment, just because TGP A sends you 100,000 hits of Twink traffic one day, it doesn’t mean you will get the same quantity of niche traffic the next.

    Article written by Le

  • JavaScript Know How

    Date: 2011.02.22 | Category: Scripts | Response: 0

    JavaScript can be one of the most useful additions to any web page. It comes packaged as standard in Microsoft’s Internet Explorer and, Netscape Navigator and allows webmasters to perform field validations, mouse-over’s, pop ups and a whole entourage of other nifty little features on our sites.

    In this article we will show you how to:

    – Display the browser name and version number
    – Change the text in the status bar of the browser
    – Use an input box to get text from the user
    – Use a message box to display text to the user
    – Change the title of the browser window

    Before that, however, we need to know how to setup our web page so that it can run the JavaScript. JavaScript code is inserted between opening and closing script tags: <script> and </script>, like this:

    <script language=”JavaScript”>

    –> JavaScript code goes here <–

    </script>

    These script tags can be placed anywhere on the page, however, it’s common practice to place them between the <head>and </head> tags. A basic HTML page that contains some JavaScript looks like this:

    <html>
    <head>
    <title> My Test Page </title>
    <script language=”JavaScript”>

    function testfunc()
    {
    var x = 1;
    }

    </script>
    </head>
    <body>
    <h1>Hello</h1>
    </body>
    </html>

    For the examples in this article, you should use the basic document format I have just shown you, inserting the JavaScript code between the <script> and </script>tags. When you load the page in your browser, the JavaScript code will be executed automatically.

    Displaying the browsers name and version number.

    The “navigator” object in JavaScript contains the details of the user’s browser, including its name and version number. They can be displayed in a browser using the document.write function:

    document.write(“Your browser is: ” + navigator.appName);
    document.write(“<br>Its version is: ” + navigator.appVersion);

    I run Windows 2000 and Internet Explorer version 6, so the output from the code above looks like this in my browser window:

    Your browser is: Microsoft Internet Explorer
    Its version is: 4.0 (compatible; MSIE 6.0b; Windows NT 5.0)

    Changing the text in the status bar of the browser.

    To change the text in the status bar of a browser window, just change the “status” member of the “window” object, which represents the entire browser window:

    window.status = “This is some text”;

    Using an input box to get text from the user.

    Just like in traditional windows applications, you can use an input box to get some text input from the user. The “prompt” function is all you need:

    var name = prompt(“What is your name?”);
    document.write(“Hello ” + name);

    The prompt function accepts just one argument (the title of the input box), and returns the value entered into the text box. In the example above, you get the users name and store it in the “name” variable. You then use the “document.write” function to output their name into the browser window.

    Using a message box to display text to the user.

    You can display a message box containing an OK button. These are great when you want to let the user know what is happening during their time on a particular page. You can use a message box to display the “name” variable from our previous example:

    var name = prompt(“What is your name?”);
    alert(“Your name is: ” + name);

    The “alert” function takes one argument, which is the text to display inside of the message box.

    Changing the title of the browser window.

    To change the title of a web browser’s window, simply modify the “document.title” variable, like this:

    document.title = “My new title”;

    One bad thing about the “document.title” variable is that it can only be manipulated in Microsoft Internet Explorer. Netscape’s implementation of JavaScript doesn’t allow for modification.

    In Closing.

    As you can see from the examples in this article, JavaScript is a powerful scripting language that can be used to enhance a visitor’s experience with our site. However, you shouldn’t use JavaScript too much because in some cases it can annoy visitors and send them packing before your site even loads!

    Article Written By Lee

  • Designing A 404 Error Document

    Date: 2011.02.21 | Category: WebDesign | Response: 0

    Designing A 404 Error Document.

    Now that we know how to use .htaccess let’s get into how exactly to effectively design a 404 error document page. Here are a few tips when building your document:

    Keep The Design Constant.

    That is, whatever design your web site supports, consider keeping that design when building your error document. This is not mandatory, however. If you have a good reason to stray from your design, then do so. Otherwise, keep it constant.

    Use Attractive Dialog.

    Do not use the word error. Error signifies something is terribly wrong, and while that may be so, you should give that information to your visitor in a very friendly way. Instead, consider writing “Sorry, the page you were looking for is not available at the moment”.

    Include Contact Information.

    Obviously, you want to fix the error, so give the user every opportunity to e-mail you about the error. Some users will not bother to do so, but you still need to give them the opportunity.

    Keep The Visitor Moving.

    Often, 404 error pages are like road blocks, or brick walls that the user cannot pass through. You need to break through the barriers and allow the visitor to keep traveling through your web site. If your web site supports a search capability, include a form on your error document to let them search for the information they were originally seeking. At the very least, include a link to your home page.

    Give Them A Site Map.

    When the user clicks upon a page that is no longer available, or was mistyped by the webmaster, consider adding a link to a site map page, or include your site map right on your 404 error document, so the user can get their bearings within your site, and can locate their desired content quickly and easily.

    Give Them Help.

    List tips on your error document page to help the visitor diagnose the error. For example, ask them to double check the URL in their browser’s address bar. If it’s correct, politely ask them to e-mail you to report the error. Also suggest that they visit your home page (or search utility) to find the information they are after.

    List Some Popular Links.

    Provide the user with a few links to your most popular content areas of your web site, as it is more likely they were searching for that content than anything else.

    As you have seen, error documents are more important than you may think. Merely having a custom error page shows you have put forth effort on your web site and want to help the user find the information they need. Error documents are easy to create and adds professionalism to any web site.

    Article written by Lee

  • Making Money From Adult Webmaster Referrals

    Date: 2011.02.21 | Category: General | Response: 0

    One method of income generation that is very rarely talked about in the industry is that of the webmaster, from the new webmasters to the adult industry right up to those who have been in the biz some time.

    One of the easiest ways to generate ‘long term’ income is by referring webmasters to programs using your own linking (referral) codes.

    However, this is for some a huge step out of their everyday site building even though it shouldn’t be.

    This is what we will investigate in this article.

    By now we should at least have a fair few sites online and getting surfer traffic but, how many of us get traffic from other webmasters and don’t even know about it?

    The chances are, if you submit a site to ANYWHERE you will at least get one webmaster hit to it regardless of whether it is a webmaster of a TGP, Links List, Dmoz Editor etc these are all potential money makers for you.

    One of the easiest ways to make money from other webmasters is to simply have a link on each and every site you build in text that says ‘webmasters’ this should be linked to a single page on your domain with a listing of various affiliate programs you use or can recommend.

    Often placing a button or a banner on this page for each of the referral programs will work much better for you as the webmaster can actually see a little more information about the sponsor you are trying to make them join.

    We all know of some of the big sponsors like ARS, Topbucks, Sic Cash etc etc but, what about the smaller programs that, perhaps not many webmasters know about, these would be the ideal types of sponsor to use on your webmaster page.

    However, in addition to the affiliate programs you could also recommend hosting companies, content providers etc etc for example, the following companies have referral programs that you could use on this page:

    Content Providers:

    http://content.xphotography.com
    http://matrixcontent.com
    http://pixmasters.com

    Hosting Providers:

    http://webair.com

    Message Forums:

    http://arsresources.com/forum/
    http://xnations.com

    Traffic Generation:

    http://adultbuttonexchange.com
    http://pornclient.com

    As you can see from the small list above, you could have more than one way for webmasters to make you some additional profits in the form of either, cold hard cash or, from some of the places, additional traffic to your sites.

    Hopefully list brief article will have given you some ideas as to how you can make some additional money from webmasters visiting your site and, don’t forget, once you have the page linked on your site, it will, inevitably get into the search engines, so keyword the page up and you might start generating more webmaster traffic than you could imagine.

    Article written by Lee.

  • The Ins and Outs of European Domain Name Registration

    Date: 2011.02.22 | Category: Domain Names | Response: 0

    A domain name is more than just your online adult business address; it’s a crucial aspect of your online adult business. It is closely linked to the way a surfer thinks of and, more importantly, remembers your site. In many European countries, domain names that end with a country code carry more weight with the Internet-surfing public than dot.com domain names. So, if you want to have of a chance of selling to a foreign adult surfer in a European country you might consider registering a European country code top-level domain name (ccTLD) for your site.

    Obtaining a ccTLD could potentially:

    • Increase your chance of getting listed on a national search engine. Many national search engines require a company to be local, however that may be defined, to be listed with them.
    • Get you a higher ranking with a local search engine.
    • Make your business more accessible to customers and vendors in a specific country.
    • Make your business seem more local and thus help overcome any fear local customers might have of buying from a non-European outfit.

    What Is a ccTLD, Anyway?

    Generic top-level domains (TLDs) are not linked to any geographic area. They include the well-known and familiar .com, .org, and .net domain names. In contrast to these generic TLDs, there are ccTLDs: Each country and territory in the world has its own TLD. They include, for example, .at for Austria, .be for Belgium, and so on.

    Essentially the domain name policies regulate who can register what type of a domain. In principle, nearly anyone can register a generic TLD.

    It is important to keep in mind that you might lose a domain name you recently registered in Europe if another company can prove in court that the name is rightfully theirs. If the court decides that the plaintiff has a right to it, you will lose that domain name however, I am assuming that nobody reading this is going to be considering registering ccTLD’s for the purpose of cyber squatting.

    Each country or region has its own rules, policies, and regulations about who can register a ccTLD, and how. Common restrictions include the requirement to be a local registered company or to have registered the company and/or company name as a national trademark in a specific country. However, some countries are less strict about who can register. As always, it depends on the country and its particular rules.

    The table below is meant to give you easy access to the information you will need when you are ready to register a European domain name for your site.

    Here is an explanation of the categories used in the domain registration table:

    • Country: Name of the country you might want to obtain a domain name for your business in.
    • Name of domain: The ccTLD (a two-letter abbreviation).
    • Must be local: This can mean that your business presence, your company’s physical presence, or your trademarks must be local.
    • More domains possible: Some countries limit the number of domains that you can register.
    • Same name as owner: Some countries require that the registered name be the same name as the owner’s company name or trademark.
    • Signed contract: Some domain name registration agencies demand a written, signed declaration or contract to be sent in. If in doubt, read up on specific rules relative to the specific domain name registrars you will be using.
    Country Name of Domain Must be local More domains possible Same name as owner Signed contract
    Austria .at No Yes No No
    Belgium .be Yes Yes No Yes
    Denmark .dk No Yes No No
    Finland .fi Yes No Yes No
    France .fr Yes Yes No No
    Germany .de Yes Yes Yes No
    Greece .gr Yes No No No
    Iceland .is Yes No Yes Yes
    Ireland .ie No Yes No No
    Italy .it No Yes No Yes
    Luxembourg .lu No Yes No No
    Netherlands .nl Yes Yes No Yes
    Norway .no Yes No Yes Yes
    Portugal .pt Yes Yes No No
    Spain .es Yes No No No
    Sweden .se Yes No Yes Yes
    United Kingdom .uk No Yes No No

    Now you can see the possibilities available in respect of registering more than just dot.com addresses perhaps you might like to find a country you would want to gain some extra traffic from and see about registering a ccTLD and developing it.

    Also, you could improve your chances of gaining additional traffic to your new ccTLD domain by having some country specific language on that domain, again, how your site comes across to the surfer is just as important than the domain and, there are plenty of Adult Site Translation companies out there who can assist you with this part of the ccTLD development.

    There are, of course, other ways to gain additional foreign surfers other than just registering a ccTLD for example, on European Webmasters we have a domain name registration section that will allow you to translate specific text in order to gain type in foreign traffic on dot.com TLDs perhaps, if you don’t want to or, cant register a ccTLD in the country of your choice you might like to take this approach at gaining additional foreign traffic to your sites.

    I hope this article has given you a little insight into the varieties of domain names available in and around Europe and that you might just register a domain and see for yourself how profitable the European markets are.

    Article written by Lee

  • What Is The Golden Ratio?

    Date: 2011.02.24 | Category: Sponsors | Response: 0

    Its a little known marketing technique that say that, as long as the longest side on any oblong is 1.6 times the length of the shortest side of the same oblong people will be more likely to prefer that shape over any other shape.

    Why do they prefer this size? Because it occurs naturally and, subconsciously EVERY LIVING PERSON is attracted to this trait.

    An example of this is as follows:

    1) Stand Up
    2) Measure the distance from your head to your feet and write this measurement down
    3) Measure the distance from your Navel write this figure down.

    The length of your ENTIRE body is 1.6 times longer than from your Navel to your feet!!

    The same is also true for the length of your arm from shoulder to finger tip, then from elbow to finger tip.

    The same is true for credit cards, the longest side is 1.6 times longer than than the shorter side!

    Think about this for a second, banner ads, what shape are they? Oblong except, they don’t employ the ‘golden ratio’ what if, just what if, you used some banner ads that employed this ‘golden ratio’ who says banners have to be 468×60 in size?

    Why not try making some ‘basic’ banners in paint or a decent graphics program utilizing the 1.6 rule and see if your click thru’s increase, personally, I will bet my earnings last month that they will.

    On the same way of thinking towards marketing, table ads, money bars, etc, why not incorporate this idea into them also? It cant hurt and who knows it may just work.

    the math to work this ‘golden ratio’ out is as follows for Image a above:

    shortest side (60) x 1.6 = (90) Longest side

    You don’t even need to be a genius to make your own ads using this method as the people at Microsoft supplied you with a calculator.

    Article written by Lee

  • Using .htaccess Effectively

    Date: 2011.02.24 | Category: WebDesign | Response: 0

    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 supported

    Using 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.html

    Redirect 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/$1

    This 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

  • Robots.txt – Control The Robots That Crawl Your Sites

    Date: 2011.02.24 | Category: Search Engine Optimization, WebDesign | Response: 0

    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

Premium Sponsors















Categories

Site Links