≡ Menu

How to Configure Cron Jobs in Windows Servers?

To configure or setup a Windows machine to run cron.php at a specific time follow the specific instructions below. This can be useful if you are not familiar with Linux/Unix, or if your web host does not offer the ability to run cron jobs; you can run them remotely from your own computer.

Note: These instructions were written for Windows XP but should be similar in other versions of Windows.

Creating a Scheduled Task

  1. Open Scheduler
  2. Go to Start > Programs > Accessories > System Tools > Scheduled Tasks
  3. Double-click Add Scheduled Task
  4. The Scheduled Task Wizard will appear. Click Next.
  5. Select the program to run. Choose your browser from the list (for example, Internet Explorer or Mozilla Firefox). Click Next.
  6. Give the task a Name, such as Drupal Cron Job, and choose the Frequency with which to perform the task (for example, Daily)). Click Next.
  7. Choose specific date and time options (this step will vary, depending on the option selected in the previous step). When finished, click Next.
  8. Enter your password if prompted. Change the username if required (for example, you’d like the task to run under a user with fewer privileges security reasons). Click Next.
  9. On the final page, select the checkbox Open advanced properties for this task when I click Finish and click Finish.

Configuring the task

  1. Go to the task’s setting page either by checking the checkbox at the end of the last step, or by double-clicking on the task.
  2. In the Run box, after the text that is there now (for example, C:\PROGRA~1\MOZILL~1\firefox.exe), enter a space and then type the address to your website’s cron.php page in double quotations (for example, C:\PROGRA~1\MOZILL~1\firefox.exe http://www.example.com/cron.php
  3. To set a frequency more often than Daily (for example, hourly), click the Schedule tab, then click Advanced. Here you can set options such as Repeat task, every 1 hour for 23 hours. Click Ok when finished.
  4. Change the start time on the task to one minute from the current time. This will allow you to test the task and make sure that it is working.
  5. When all settings have been configured to your liking, click Apply and OK (note: you may be prompted for your password)

Command-line version

Another way to perform the above commands is by using the schtasks (or at in Windows 2000) command from the command line. To duplicate the example above, which runs Firefox hourly to execute http://www.example.com/cron.php, open a command prompt (Start > Programs > Accessories > Command Prompt) and enter:

schtasks /create /tn "Drupal Cron Job" /tr "C:\PROGRA~1\MOZILL~1\firefox.exe http://www.example.com/cron.php" /sc hourly

Enter your password if prompted.

Using wget for Windows to run cron

If for whatever reason you’d rather not deal with a browser window popping up on the machine, you can use wget, the Windows port of which works more or less the same as it does in UNIX. curl and lynx also have windows ports but wget is probably the easiest to set up and use.

Grab a copy of wget from your choice of either the author’s site or from SourceForge. Install it to the location of your choice.

Follow the steps for Creating A Scheduled Task above, except select wget.exe as the program to run (you may need to click the Browse button to locate it if you installed from a .zip file, for example). When you get to the Advanced Properties dialog, paste in the following after the program path:

-O - -q -t 1 http://www.example.com/cron.php

Adjust the rest of the options as described above and test it.

{ 0 comments }

What is Corporate SEO?

This article will discuss about Search Engine Optimization, specifically, how to improve your rankings when you have a large enterprise or corporate web site. Here we will discuss about how to use some of the tips and tricks that would work for a smaller website and leverage that for a larger corporate web site for faster results and trust with Google. Major components in SEO are:

On-page SEO, including:

  • Title Tags, Meta Data an URLs
  • Content
  • Intenal Linking (helping the bots to find your pages)
  • Blogs

Off-page SEO, including: (factors outside your site that affect it)

  • Link-Building
  • Getting New links
  • Link Bait
  • Blogs
  • Social Media

Enterprise SEO: An Entirely Different Game
Keep these in mind if you have a large corporate Web site. (Particularly if the URL has some tenure in the Web world):

  • Large sites tend to have trust and authority. Opposed to a site just starting out, a corporate site that has been around for a few years may already have hundreds or thousands of Web sites pointing to it and it’s already trusted in Google.
  • Large sites have thousands of pages; indexing can be difficult/tedious
  • On-page SEO for large sites is about 80% of ranking equation for a large corporate site; changes to existing pages have tremendous impact on your site’s traffic and overall exposure.
  • New sites take several months to start ranking
  • New/small sites have little authority; on-page SEO is about 20% of ranking equation

ON-PAGE SEO:

IBEE Solutions

IBEE Solutions

Google ranks Web pages, not Web sites—think Wikipedia (see graphic). Every important page is a traffic generator in Google for its own specific keywords. With new sites, on-page SEO is about 20% of the ranking equation; for trusted corporate sites, on-page SEO is about 80% of the equation.

Google looks at two main things to narrow it down when assigning trust to a Web site:
1. The age of the domain. If things look stable, that builds trust
2. Links from other sites are considered votes of confidence

Corporate SEO
Title Tags, Meta Data and URLs

There are several things you can do to increase search engine optimization based on your title tags and other descriptors on your site:

  • Each page should have an unique title and Meta data, specific to the content on that page and featuring the targeted words you want to be ranked.
  • Write titles and meta data with keywords targeted for visitors. The Meta data is what shows up in your Google search. A properly written Meta tag can get more traffic at the number two spot than a poorly written title tag at the number two spot.
  • When possible, each page should have the main keyword for that page in the URL, i.e.: …com/bluewidgets.
  • When dynamic URLs have been created via a database, and are long and messy (with equals signs and question marks, etc.), use code to extract specifics in order to properly construct them with unique Metadata. If you have a PHP Linux-based Web site, you can use things like Mod Rewrite to create searchengine friendly static URLs, which is not only just helpful for Google, but also for the end user because it’s easier to remember a short, static URL. It’s also easy to link to a URL like that.

Remember: When changing URLs to follow these guidelines, use 301 (permanent) redirects rather than 302 (temporary) redirects. A 301 will tell Google that the old URL has been updated and this is the new URL that should be swapped out in your index. That will make sure that your indexing is clean and the new URL gets indexed right away and you hopefully don’t lose any slip in rankings.

How long should title tags be?
Title tags should be short and to the point. You don’t want to stuff them with keywords. It’s best to keep them to about 8-9 words; 4-5 words is even better if you can manage it. Try to keep it as succinct and targeted as possible. Businesses should put the name of their company in the title tag throughout their site. This is an important practice for enterprise companies where talking about their brand is paramount. You want to make sure that your brand stays in all those title tags. If someone types in a key industry term looking for a product similar to yours and they’re familiar with your brand and they see your brand in the title tag, that can bring trust and help that person find you better. Whereas, if they just read the keywords, they might not know who you are and might not trust you.

Title Tags, Meta Data and URLs: Best Practices

  • Title tags must be precise and not be more than 60 characters
  • prefer starting the title tag with your best keyword or service name
  • Example title tag “Supply Chain Consulting by KEOGH” will have more prominance for the keyword supply chain consulting
  • Reduce the usage of special characters in title tags
  • Use Meta tags for adding Keywords and description for all the website pages
  • Choose the URL similar to your service or use full text URLs, for example a supply chain consulting company uses this URL for their services page, http://keogh1.com/supply-chain-strategy.html

Web site Content: Unique Content is King
Google has helped create better quality content on the Web by making it more about the user as opposed to the search engines. It’s not so much about how many times you mention your keyword, where you place it or how many times it’s bolded. Some of those things still can help, as some studies have shown, for instance making the difference of a ranking 3 vs. 4.

Remember:

  • Write content for your visitors (and the goals you have for them), not search engines
  • Mention keywords within content when it makes sense
  • Write for conversions. Have a clear call to action. Be descriptive, not just “click here”
  • Don’t copy content for similar pages, changing only the product name. Each page should be as unique as possible

Internal Links: Building an Infrastructure of Contextual Links
Internal links are one of the most important things a large corporate site can add to help SEO that they don’t have already. Mentioning pages and linking to pages and creating that ‘spider web’ of relevantly linked pages on your site.

  • Think Wikipedia. If a topic is mentioned on one of their pages , and that topic has »» its own page devoted to it, they always link to it.
  • To find which pages are relevant for which keywords, conduct a Google search for: site:www.DOMAIN.com “keyword phrase.” (Be sure to not have a space after the colon.) Go to those pages and link the targeted word to the page that is optimized for it.
  • If your site is hundreds of pages or more, you may need to set up sitemaps and indexes to help spiders find your content. (A good example is Linkedin.com: they have created an alphabetical site map. It also helps them stay indexed in Google.)
  • If you are having a hard time getting pages indexed, set up a Google Webmaster Central Account (www.google.com/webmasters). This creates an XML feed that tells Google when pages are updated.

Note: large sites that have been around a long time and have an easy time getting indexed probably don’t need an XML feed. If you use this, do it strategically; if you have a section of your site that has a hard time being indexed, this might be an instance where this service is very useful. You can also use advanced Web analytics, looking at your log files, to see which pages aren’t being ‘spidered’ by Google at all or those that are being spidered very lightly.

Blogs

Blogs are a valuable way to interact with and respond to your audience on a casual level. This builds trust and brand loyalty. But don’t get caught in the trap of thinking, “If you build it, they will come.” You must generate on-page SEO.

  • Always keep it on your domain, preferably as a subfolder »» (ie: …com/blog)
  • Create blogs to provide value for visitors and customers, not search engines
  • Create layout that is similar to your site, with unique title tags, meta data, URLs and internal links
  • Make it easy to subscribe via a reader and email

Off-page SEO
When a strong brand is linked, conversion rates and loyalty soar
Remember:

  • Google cares more about what others say about you than what you say about yourself
  • Getting references and links from other sources on the net will increase your trust and rankings
  • Links are about quantity and quality

Characteristics of Quality Links

  • One-way links: links coming in without you linking back
  • Anchor text: when the text is the actual link to your page. (Note: Text links which are your key terms are even better!)
  • Contextual: links within the copy (they look the most natural). And the copy around it probably refers to your site as well
  • Links coming in to the linking page: how many links the page linking to you has linking to it

Other characteristics of a page that ranks high is one that has a lot of links to specific pages. As you set up your site to rank for different terms, you should aim for your ranked pages not to always be your homepage. Each of your main product pages and core pages should be getting you targeted traffic that should be turning into conversion and complete whatever goals you have for your Web site.

You need links to all of your sub pages that you want to rank, and that’s why you should be doing the internal linking mentioned above, so you can build links within your site to those pages. You also want other Web sites to reference those pages as that will give those pages more trust and you’ll end up ranking higher.

To look at how many links are going to a site in Google, or page in a site, conduct this special query: link: www.SiteName.com. Google does not return every link to that page—that would open up their algorithm, which obviously, they don’t want to do. Google has said that the links they show are not necessarily the good links; they may be showing links that don’t have anything to do with why you rank—so Google is not always the best place to go look at your links.

Yahoo! and Yahoo! Site Explorer are very good. Go to Yahoo! and type in the “link:” command; (all search engines will recognize that command). Using that command in Yahoo will show you almost all your links and many times it will rank them in order of importance so the several links (depending on the size of your site) will probably be the links that are helping you rank better.

Do Yahoo and Google rank the importance of a link similarly?
No, but more than it used to be. Yahoo typically values the quantity of links; get a lot of links, even from unrelated places and they will help your rankings. (and you can still rely heavily on the meta tags).

Google is the opposite. You can have a page that is not very well optimized as far as content, title tags, etc., but if it has a lot of quality links with the proper anchor text, it will rank in Google.

How and Where to Get Links
Tips for getting links that are based on your keywords, not just your brand:

  • Start with trusted directories: Yahoo, BOTW.org, Business.com, and many more. Don’t just submit yourhome page. If you have sub-pages on specific topics submit those to the directories.
  • Get niche publications and organizations to link to you; search for industry related publications and see if you can sign up.
  • Press: take advantage of online press releases that allow links. Again, link to subpages when possible.
  • Link “bait”: content so good it has to be linked to (breaking news, controversy, how-to, resource guides). Submit your content to social news site.
  • Sponsors or partners. When possible, be proactive and tell the proper sub-pages to link to.

When you partner with another brand, be candid on what page of your site they should link to and in what ways. This lets you control what words the other sites use to link to you, and lets you automate what could become a very powerful tool to increase search engine rankings.

Blogs and Social Media: leverage natural word-of-mouth influence
Help your off-page SEO by leveraging social media and social news and using blogs to create wordof-
mouth influence and buzz.

  • Create content that is viral in nature, (e.g. resources, lists, studies, how-to’s, breaking news etc.) People will link it to Digg and SumbleUpon. Millions of people use those sites, giving you the chance to dramatically increase views by being featured on them.
  • Make content sharable and easy to digest. That has a lot to do with how you lay out your site. For content, use lists and break up paragraphs. Make it easy for someone to scan and digest quickly.
  • Research social news sites as to what type of content typically “goes viral”
  • Pay attention to social media (e.g. comments, feedback, reviews both on your site and the news site where it was shared). It’s important to look (or more importantly, be) legitimate and sincere and not look like it was purposefully meant to be a viral magnet—that turns people off.

Conclusion
It cannot be stressed enough how much potential your Web site has. Just by learning how to
leverage it correctly, you can exponentially increase your traffic, rankings, exposure or sales within a
matter a months.

Remember:

  • Large brands must leverage power and trust already at their finger tips. If they do, they can dominate search rankings
  • Effective SEO is still largely unused in large corporations. Implementing it can give a significant
    competitive advantage
  • Don’t fear the unknown; test, test, test! Try different ideas
  • Track those tactics that have positive affect and focus on those first

Contact IBEE for more information on SEO and SEM at [email protected] or call at 914023326195

{ 0 comments }

What is Google Wave?

Google Wave, a new project getting started by Google next week.
google-wave-invitation
Google Wave is a new model for communication and collaboration on the web, coming later this year.
Here’s a preview of just some of the aspects of this new tool.

More information at http://wave.google.com/help/wave/about.html

{ 0 comments }

Microsoft WebSpark !! What is this?

Microsoft has released WebSpark Program recently to provide Visibility, support and software for professional Web Developers and Designers – at no upfront cost!, This is a program for professional Web Developers and Designers.

More details can be available at http://www.microsoft.com/web/websitespark/default.aspx

{ 0 comments }

How to restore a MSSQL 2005 database with REPLACE?

Simple Tip, Restore Database with replace “MSSQL 2005”

RESTORE DATABASE ibeedatabase FROM DISK = ‘C:\Backupibeedatabase.bak’ WITH REPLACE

{ 0 comments }

Google Apps Vs Host Spark (Microsoft Apps)

Google Apps, an initiative of Google’s collaboration tool to counter the domination of MS Office was released 3 years back and was quite successful in signing up more than a million users. Every day at an average more than 3000 businesses are registering for Google Apps.

IBEE as a Google Apps Reseller in India is a strong advocate of SaaS (Software as a Service Model) see an excellent opportunity to partner with the market leader like Google to provide Google Apps solutions.

Microsoft is starting a program to leverage with hosting solutions providers in india as Host Spark, Though the program name is not confirmed yet due to IP rights issues but Microsoft wants this to run Similar to their BizSpark Program. Microsoft want to release this program in India first. Might need to see how this program (Host Spark) will be received by the Hosting providers in India.

Definetly this is a step Microsoft is taking to counter the increasing popularity of Google Apps in India, Basic reason to launch in India is, we can provide better support at less expense.

{ 0 comments }

How to use FTP in Internet Explorer 6, 7 and 8 versions

[You can use an “FTP client” program to view directory information about the files and folders in your website, and to transfer files back and forth between the website and your local PC. There are many FTP client programs.]

This article describes how to use Internet Explorer 6, 7, 8, or Windows Explorer as not-very-good FTP clients. Their only advantage is that you already have them, as part of Windows.

If you plan to use FTP more than once and you don’t mind spending a few minutes on configuration settings, a much better FTP client is the free Firefox browser add-on called FireFTP. One of its useful features is the ability to compare directories in the local and remote sites, identifying which files don’t match. Another is that file and folder permissions, “rwxrwxrwx”, are displayed in a column in the main window; you don’t have to click on anything to see them.

Your website’s FTP address
To log into your site by FTP, you need to know the correct FTP address. It is different at different web hosting companies. It is usually something like: ftp://yourdomain.com/ or ftp://ftp.yourdomain.com/. You should find the address in the Welcome and informational email your web host sent you when you opened your account, or on a FAQ page at your host’s website, or you can ask them.

FTP access by Windows Explorer, directly
This is the most direct way to do it because when you use Internet Explorer to initiate an FTP session, you eventually end up in Windows Explorer, anyway.

Windows Explorer has the ability to display an Address Bar just like a browser does. If you don’t see it, you’ll need to make it visible:

  1. Go to View > Toolbars > Address bar
  2. Uncheck “Lock the toolbars”
  3. Check “Address bar”
  4. When the Address bar displays, you can click on the grayed-out word “Address” to drag it around the screen and resize it. A convenient location is in the menu bar just to the right of “Help”.
  5. Check View > Toolbars > Lock the toolbars

Having the Address bar visible has a useful benefit unrelated to what we’re doing now: there are some locations such as Command Prompt where you may need to navigate to a folder by typing its path. Path names are so long in Windows that this can require a lot of typing without making any mistakes. Instead, navigate to the folder in Windows Explorer. The path displays in the Address bar, from where you can copy the text and paste it wherever you need it.

Now you’re ready to open your site in FTP view.

  1. In the Address bar, type the FTP address for your site and click Go.
  2. At the “FTP Folder Error” dialog box, click OK.
  3. Click the menu item “File > Login As…” to get a login prompt.
  4. Enter your userID and password, and click Log On.

FTP access by Internet Explorer 7 and 8
Help for this is available in IE7 Help (F1) > Contents > FTP.

  1. Open Tools > Internet Options > Advanced
  2. Make sure “Enable FTP folder view (outside IE)” is checked.
  3. Another option that can be relevant is “Use Passive FTP (for firewall and DSL modem compatibility)”. Regular FTP involves a two-way connection between the two computers. If your firewall blocks the inbound connection from your remote server, the FTP connection can fail. You can resolve it either by creating an exception in your firewall, or by using Passive FTP, which puts your computer in control of both sides of the “conversation” so there is no inbound connection for the firewall to block.
  4. Click OK.
  5. In the IE7 Address bar, type the FTP address for your site.
  6. Ignore the error page.
  7. In the toolbar in the upper right side of the screen, click Page > Open FTP site in Windows Explorer
  8. At the FTP Folder Error dialog box, click OK.
  9. Click File > Login As… to get a login prompt.
  10. Enter your userID and password.

FTP access by Internet Explorer 6
As I recall, IE6 launches Windows Explorer on its own initiative after you enter your FTP address, without the extra steps required in IE7 and IE8.

  1. In the IE6 Address bar, type the FTP address for your site.
  2. If you don’t get a login prompt, click File > Login As…
  3. Enter your userID and password.

What you can do in Windows Explorer FTP
By clicking folders in the lefthand navigation pane, you can view their contents in the righthand pane. You can sort the listings by the various columns. The “Modified” column allows you to easily find recently changed files.

You can view and change file and folder permissions by right-clicking the filename and selecting Properties.

You can copy files between your local PC and the website by highlighting the filename and dragging it to the folder (local or remote) where you want to put it.

Troubleshooting
If Windows Explorer seems to become confused about what are the correct folder/subfolder directory hierarchy relationships in the remote site, or if it seems unable to keep you logged in and prompts you to log in again before every action, it can be because your firewall is blocking part of the connection. You will need to create firewall exceptions to allow incoming and outgoing FTP connections to and from Windows Explorer, or switch to using passive FTP as described above.

{ 0 comments }

Steps to avoid “This site may harm your computer” note in Google Search Results:

  1. Clean your computer with any Good Antivirus software (NOD 32, Norton or Microsoft One)
  2. Change the FTP password of your website and other sensitive data
  3. Download the website and clean it antivirus and upload or reload the unaffected website from backup’s, if you are using any third party CMS, upgrade with the latest patches
  4. Check if any forms in your website is accepting special characters, if so disable special characters insertion, Examine your own PHP or ASP.NET code for security holes
  5. Change the FTP password after the upload
  6. Register at http://www.google.com/webmasters and submit your website for reconsideration
  7. Allow 24 to 48 hours to respond for your reconsideration request to Google

More information: http://www.google.com/support/webmasters/bin/answer.py?answer=35843&hl=en

{ 0 comments }

How to avoid script injections, XSS and CSS attacks?

Did you ever experienced anytime that your website is acting weird by loading other website URL’s like http://imeanit.cn:8080 when you type your website address in the browser? if so, your website is compromised !!

Type 1:

Compromised? my website? YES, it is, from past one year hackers are targeting the medium and small web hosting companies using exploits and injecting worms into the servers. The virus will deface all the websites index pages in the server by leaving no trace. Solution is to secure the server, clean the server with any good antivirus. sometimes virus will be injected from the your computers also into the website. If your computer is affected by a malware, it will monitor the FTP traffic and send reports to the hacker about your FTP and other sensitive information, Hackers will use bots to inject third party links into others websites using the hacked FTP information. MHACK is the Application which were used earlier to deface many websites.

Type 2:

When you allow Special Characters insert into your contact, search or any web based forms in your website, that is it, your website is vulnerable for CSS attacks. It is important to understand the HTML tags that are most commonly used to carry out code insertion tags. However, it is important to note that alternative “in-line” scripting elements may be used and interpreted by the current generation of web browsers, such as javascript:alert(‘executing script’)

Beware of these XSS, CSS and Script injections into your websites.

Some of the tips to avoid script injections:

Do not click on any executable files received from unknown persons, Secure your computer using good antivirus. monitor outgoing traffic and incoming traffic, enable firewall in your local server, do not take shared internet connection from small vendors.

More Information: http://www.owasp.org/index.php/Testing_for_Cross_site_scripting

{ 0 comments }

Do the Little Things in SEO Make a Big Difference?

Many companies and professionals in the SEO sphere often make “best practices” recommendations to clients that include items like:

* Switch from underscores to hyphens to separate words in the URLs
* Employ the H1 tag for page headlines
* Use H2s and H3s for subheadlines
* Use the keyword you’re targeting on the page in bold/strong at least once
* Change your internal links to contain the anchor text you’re targeting on the page
* Move the keywords to the front of the title tag
* Reduce the code to content ratio
* Apply relevant alt tags to images & photos
* Nofollow links to pages like login, register and legal disclosures

These “little” tweaks are often at the bottom of the list of priorities and, in many organizations starved for dev & implementation resources, don’t make the final cut when the SEO recommendations are applied. The discussion goes something like this:

Client: We have the bandwidth to do some of these; which ones should we perform?

Consultant: Ideally, you should do all of them – that will give you the maximum opportunity to rank well.

Client: Not gonna happen – give me the top 3.

Consultant: OK, do X, Y & Z.

Client: And we can skip (all that stuff in the bullet points above)?

Consultant: Well, no. Not really. Individually, they won’t have a huge impact, but taken together, there’s the potential for a serious bump in traffic.

The problem comes from quantifying the value of individual “little” tweaks. We all know that canonicalizing duplicate content, setting up scalable link acquisition strategies and improving the keyword targeting across a site can have massive SEO and traffic results, but when it comes to the “little” things, tracking value and making the case to a busy dev team, an overworked client or a skeptical CMO can be extremely challenging.

How have you dealt with getting clients/devs to go that extra distance? What “little” changes have you seen make a big impact? Or, are these kinds of slight improvements even worth the trouble?

p.s. I’m not suggesting that all of the bullet pointed items above are “little” and not worth the effort – in my experience, a few of those I mentioned have had a real impact on SEO for certain sites. I’m simply using them as examples of recommendations that don’t make the “final cut.”

{ 0 comments }