How to… Look Up an IP Address in Windows (and deal with content scrapers)
Posted by Joe Hauckes
If you're new here,
You may want to Subscribe to my RSS Feed or if you prefer ... Subscribe via e-mail. Thanks for visiting!
I received an e-mail the other day fom a client asking this question…
How do I look up a DNS(Domain Name System/server) name or IP(Internet Protocol) address from my desktop?
(You must be connected to the Internet to look up a DNS name or IP address even though you are using Windows.)
- In the Start Menu, Open the Command Prompt.
- At the Command Prompt, type nslookup, a space, and the IP address or name (eg. nslookup microsoft.com)
- Then press ENTER.
- You get Your Result
- When finished type exit, then press enter
Pretty simple, but…
What to do if you are scraped?
- Try contacting the author through their about or contact page (if they even have one)
- Leave a comment on your post (that’s on the offending blog)
- Look up their IP address on http://allwhois.com/ and report them to the host
- Send a DMCA (Digital Millennium Copyright Act) complaint
- If they are running Google Ads (and the probably are) click the Google Ads link and report them as scraping your content
Other than that, you might consider doing what I did on my Working at Home on the Internet blog (click the link for my alternate solution). It worked for me!
Related Posts:How To Put AdSense Ads After A Single Post per Page
Posted by Joe Hauckes
Do use AdSense on your Blog? Do you want to put some Ads after your posts but are limited by the fact that you can only have 3 instances of AdSense per page? Do you want to know how to show AdSense Ads after a certain post and not others to be sure you stay within Googles guidelines and not be banned?
Here’s how you can set up an AdSense campaign to show after one post per page. The example has the Ads showing after the second post, but you can set it up after any post number you like. And this also works on Category and “Next” pages without any other changes being made to your code.
Go to your index.php in the Presentation folder of your WordPress Dashboard.
And look for:
<?php if (have_posts()) :?>
<?php $postCount=0; ?>
<?php while (have_posts()) : the_post();?>
And IMMEDIATELY BEFORE it put this bit of code:
<?php
$postnum = 1;
$showadsense1 = 2;
?>
Go a little further down in the code and look for this (at the end of the content statement)
<?php endwhile; ?>
And place this bit of code RIGHT BEFORE that statement:
<?php
if ($postnum == $showadsense1)
(your AdSense code goes here)
$postnum++;
?>
It’s as simple as that. There should be no need to make any changes if and when you update your WordPress version, but you will have to remember to redo the code if you change your Theme.
You should be able to copy/paste the above code with no problems, just remember to put YOUR AdSense code in place of “(your AdSense code goes here)” or it will never work.
Questions or problems can be left in comments and I will answer them there so others will know the answer to your question too.
Related Posts:How to Insert Titles Instead of Previous/Next Links
Posted by Joe Hauckes

When your readers stop by on an individual post you probably would like them to read some of your other posts. But when they get to the end of your article the only thing they see is <- Previous or Next ->.
Why not give them an idea of what your “Previous post” is by adding the Title of the Article they would be reading?
First look in your Single Post php for your navigation class, it looks something like this:
<p class=”pagenav”><?php previous_post(’%',’« Earlier’, ‘no’); ?> | <?php next_post(’%',’Newer »’, ‘no’); ?> </p>
Using the same class designation (ie p class=”pagenav instead of div class=”navigation”) insert the following code:
<div class=”navigation”>
<span class=”alignleft”><?php next_posts_link(’& la quo ; ‘. __(’Earlier Entries’)) ?></span>
<span class=”alignright”><?php previous_posts_link(__(’Newer Entries’).’ & ra quo ;’) ?></span>
</div>
Save the code and go look at the navigation links at the bottom of a post, it should give you the Titles of the “previous” and “next” posts. You may have to make some minor adjustments to get the look you want, but it should work just fine. (Be sure to remember, there are no spaces in (& ra[la] quo ; )
If you don’t have a single post php, look for the navigation code in your Index php right after your content info.
Related Posts:



