Page is a not externally linkable
HyperGeek - 3:28 pm on Nov 24, 2004 (gmt 0)
It's the & that can cause pages not to be spidered, but even that is not a given. This url should not cause problems: [example.com...] Even better... There are ways to alleviate the whole "page.php" query altogether. We've created a CMS that publishes database-managed content as an individual page based on keyphrase criteria defined for that page. This may be helpful for those of you that can code ASP or PHP. The administrative "add content" form has several of the basic fields for content data entry: Title, head, foot, article, link, etc. Then I have a keyphrase field which you would enter a hyphenated keyphrase. Now you create a template for the articles. You can even have multiple templates which you can choose via a drop-down box in your CMS add content form. In the template, you design <<<*A_Unique_Tag_Style*>>> to replace with the article ID, which is now defined -inside- the document as opposed to in a url querystring. (In ASP you would load the entire template inside the Replace() as a variable - don't know the equivalent in PHP.) --- TEMPLATE EXAMPLE: <% --- When you add your content to the database, there should be a simple administrative page which allows to to view, add, edit, delete, or PUBLISH each article on an individual or group basis. In ASP, this is accomplished using the File System Object (FSO). Once you publish a page, it should load the template, replace the <<<*A_Unique_Tag_Style*>>> with the ID that was autonumbered inside the db table, and output it as a keyword-oriented page. EXAMPLE: --- OUTPUT EXAMPLE: <% --- Now, you're positioning "http://www.example.com/keyword-phrase.asp" instead of "http://www.example.com/page.php?var=keyword+phrase". You can even go a bit further and use the keyword-phrase convention to pull up "keyword-phrase.gif", keyword-phrase.jpg" within the page layout, create a "print.asp?page=keyword-phrase.asp" type link, or whatever else you choose to enhance or promote the page.
[example.com...]
(/templates/template_content.asp)
'Open database connection
dim article_ID
article_ID="<<<*A_Unique_Tag_Style*>>>"
'Open content recordset using ID
%>
<html>
<body>
<p><%=RS("article_head")%></p>
<p><b><%=RS("article_title")%></b><BR>
<b><%=RS("article_link")%></b></p>
<p><%=RS("article")%></p>
<p><%=RS("article_foot")%></p>
<body>
</html>
(keyword-phrase.asp)
'Open database connection
dim article_ID
article_ID="42"
'Open content recordset using ID
%>
<html>
<body>
<p><%=RS("article_head")%></p>
<p><b><%=RS("article_title")%></b><BR>
<b><%=RS("article_link")%></b></p>
<p><%=RS("article")%></p>
<p><%=RS("article_foot")%></p>
<body>
</html>