วันเสาร์ที่ 15 สิงหาคม พ.ศ. 2552

Defend your hypothesis Thanks URL

If you sell downloadable products, you'back to get a thank you page (a URL, if the buyer is redirected after the sale). With only a few lines of code htaccess you can use this waterproof case. You should't that a buyer, a request to download versions of the product. You have already paid for it immediately and offer the opportunity to "opt-in" for the latest updates. Otherwise, you'll be a lot of support from a growing number of e-mails from people asking if the product is that they are paid. C's always smart for your site, thank you for something with a number - as a name or is using postorder735.html-9987.html. You just impossible to guess. When it's, like me, for sales of the download page, so I stash in a folder called something like "Download" or "for". Problem: If you separate file, the URL, you can guess the contents of them. The obvious solution is an index.html file in the custody of its content is not to find ... But what happens if you have, say, 25 of these cases? You need 25 index.html file? No, and the's, where htaccess: Open a new text file in Notepad and precisely in this text: Options-Indexes Then, save the file. Htaccess (currently) Get in the root directory of your site. Now, if you try for the contents of a folder's lack of an index.html file the browser is a "403 Forbidden" error. Don't care, this won ' t block all files. It is simply guess a list of files in a specific folder. If you don't want to see that horrible generic verbotene you can create your own using this line. Htaccess is: ErrorDocument 403 / sorry.html You can now create their own message in an HTML file (perhaps a link on the main page of your site), put them in a file with the name and sorry.html download. You'll have a friendly remark, which indicates that all you want. A final Board of bonus for you. If the message is not extremely short, don't even need a HTML document. When it's possible for your message to all on one line, it is possible that your ErrorDocument line. Htaccess and approximately as follows: ErrorDocument 403 "I'm sorry ... I'm aware that this is the offer, and not the end of quote. La's, such as the type of data. If you are in a quote at the end is in your HTML document. I know it is strange, but it works. Remember that "Sorry ... " is the HTML text, you can on-line, link, tag fat H1, H2 tags, and so forth. C's all about you.

0 ความคิดเห็น:

by TemplatesForYou-TFY
SoSuechtig, Burajiru
Distributed by Free Blogger Templates