Forum Moderators: open
i have read quite a few posts on this board as well as a few other boards and have a good idea of peoples thoughts behind cloaking, and have found it all very interesting - thanks everyone :)
The script in question, and I am using coded language here a some people don't always want there script to be named is, what you do to a dog + and arachnid. any one who has come across this will know what I am talking about. anyway, if you have used this script and have any thoughts about it I would lovwe to hear from you.
digitalghost thanks for your post about dos and don'ts, this is why I like coming here, there seems to be poepl from every level all trying to help each other out, thanks for the community.
J
anyway would be very rateful if you expanded on the bit about
php/mysql to gen the pages
I assume you have a db that holds keywords titles and blocks of text that you then use to create pages, but do you do this just once or do you create the pages on the fly.
The script I mentioned in my first post allows me to enter these details although stores them in a file once the page in questions has been rendered,
My question I suppose is,
Is it better to manually create the content on all the pages I want to have or could I rely/build myself a system that uses a db containing kw and text to create the page automatically for me?
J
I assume you have a db that holds keywords titles and blocks of text that you then use to create pages, but do you do this just once or do you create the pages on the fly.
Just once. Store all the 'pages' in the db. Which is a mixture of both ways really. It's dynamically generated pages (using templates) but the text is created once and stored...
Nick
dog leashes
flea collors
dog balls
dog food
worming
then enter these words in a db and create pages named like
dog_leashes.htm
flea_collors.htm
dog_balls.htm
dog_food.htm
worming.htm
I assume as well as the keywords, in each row there would be further blocks of text and links?
then using a template take each row of a db and dynamically create a page from it.
Are these pages dynamically created every time a SE bot follows a link to the page name.
Cloak your 'junk pages' as 404's to fool the casual visitor and be prepared to lose everything eventually...
Nick
In answer to your question about the .htm/.html filename extension for cloaked pages... being an author of a commercial cloaking software package I might be able to provide a little insight into this... it's a totally arbitrary decision. It really doesn't matter which extension is used.
Depending on the method of cloaking (meaning how do you get a *.htm page to be treated like a CGI script by the server instead of a HTML document), using one extension for cloaking (.htm for instance) will force you to use the other (.html) for all your HTML documents. What I did was pick my favorite (.html) and use it for my HTML documents, and that left the other one for the cloaked pages.
Methods of getting a file with one filename extension to behave in a non-default manner include:
* Reassigning the MIME type
* Adding the filename extension to the server-parsed MIME type classification, either for SSI, PHP or ASP parsing
* Using Mod_Rewrite to rewrite URLs, such that a call to http: //www.yourdomain.com/cloaked.html is internally rewritten to http: //www.yourdomain.com/cloaked.cgi
* probably others that I haven't thought about
Failing one of the above, you could just use a .shtml, .php, .asp, .cgi, or .pl filename extension for the cloaked page.
Dan
<urls de-linked - Dan>