Solved

seo and include files

Posted on 2014-02-28
6
244 Views
Last Modified: 2014-02-28
I use tons of include files in my asp pages. But i don't want to have them indexed by seo's
if i put this tag (<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">) in the include files how it will be placed in the asp page i do want indexed.
How do i do this ?
0
Comment
Question by:isnoend2001
6 Comments
 
LVL 58

Assisted Solution

by:Gary
Gary earned 300 total points
ID: 39895537
Unless there is a direct HTML link to the page then they will never be indexed.
Search engines don't know anything about the files you include in the page.
0
 
LVL 52

Assisted Solution

by:Scott Fell, EE MVE
Scott Fell,  EE MVE earned 100 total points
ID: 39895564
The include file is rendered as if the html was there in the first place.
0
 
LVL 51

Assisted Solution

by:Julian Hansen
Julian Hansen earned 100 total points
ID: 39895650
Rendering of pages by script is a one way function

master page + include page [+ include page [..]] = rendered html page

Open in new window


Spiders index the rendered html page only - there is no way for the spiders to work out how that page was constructed or where the component parts came from - all they see is the html as it is sent to the browser - and that is what they index.
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

Author Comment

by:isnoend2001
ID: 39895907
2 example include files:
Folder: GoogleAds
In the page
<!-- #include virtual = "GoogleAds/tallSkyScraper160x600.asp" -->
<script type="text/javascript"><!--
google_ad_client = "ca-pub-$$$$$343";
/* wideSkyScraper160x600 */
google_ad_slot = "3424857368";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>



Folder: Includes_ASP
In the page
<!-- #include virtual ="/Includes_ASP/footer.asp" -->
Footer.asp contents
<div style="text-align: center;">
<a href="http://mysite.com/index.htm">Home</a>
| <a href="http://mysite.com/aboutmysite.asp">About Us</a>
| <a href="http://mysite.com/support.asp">Contact Us</a> |
<a href="http://mysite.com/links.htm">Links </a>
|
 <a href="http://mysite.com/Privacy.htm"> Your Privacy</a> |
 <a href="http://mysite.com/SiteMap.asp">Site map</a> |

<script type="text/javascript">
var _u = "Rob";
var _d = "mysite.com";
var _l = _u + "@" + _d;
var _m = "E-mail Us";
var _a = "<a href=mailto:";
var _e = "<\/a>";
document.write(_a+_l+">"+_m+_e);
</script>
<br>
Copyright &#169; 2002-2014 mysite All rights reserved.<br>
This page last updated 02-28-2014
0
 
LVL 58

Accepted Solution

by:
Gary earned 300 total points
ID: 39895925
Things like this
<!-- #include virtual = "GoogleAds/tallSkyScraper160x600.asp" -->

do not show in your HTML, they are processed at the server.
0
 

Author Closing Comment

by:isnoend2001
ID: 39895971
Thanks
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
Creating a CSS block that only applies to printing By default, all of your CSS applies to every possible view of your page - whether on screen, printed, landscape, touch-screen, or whatever.  You can, however, add CSS that only applies under certai…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now