Changing File Permissions via FileZilla

File Permissions affect the capability of users or group of users to Read, Write or Execute files. They define who or what can read , write or execute the files or directories.

Different files need different file permissions to do the work they are programmed to do.

The File Permissions can be easily changed by using FTP Clients such as FileZilla.

The steps to change File Permissions using FileZilla

Changing File Permissions using the Interface:

  1. Install and configure FileZilla, if you haven’t done it yet.
  2. Open FileZilla and browse to the directory/file, of which you want to change the File Permissions.
  3. Right-click on it and click on “File Permissions…

    Selecting File Permissions
    Selecting File Permissions
  4. An interface would pop-up asking for the required File Permissions. Fill the box with the required File Permissions. If you are changing the File Permissions of a directory, choose the option “Recurse into Subdirectories“and then select the preferred sub-options.

    Entering the Required File Permission
    Entering the Required File Permission
  5. Then click “OK“. You can see the status of the process of changing File Permissions in the Status Bar on top.

Changing File Permissions using the Command Line:

Here, I’m just showing how to use the command line to change the FPs of a single file, there are some extra commands that are used to recurse FPs into subdirectories.

  1. Run FileZilla and connect to your server.
  2. In the Menubar, click on “Server” and choose “Enter Custom Command…
  3. A dialogue box would pop-up asking for the FTP Command.

    Raw FTP Command Dialogue Box
    Command Line Dialogue Box
  4. Enter this command:”chmod *** DIR“; where “***” is the numerical value of the required FPs and “DIR” is the location of the file to be modified. “chmod” stands for “Change Mode

    Changing File Permissions using Command Line
    Changing File Permissions using Command Line
  5. Click “OK” and you would get a message in the top Status bar informing that the command was a success.

SEO: Get your blog indexed at all major search engines

SEO (Search Engine Optimization) is a must to-do if you want to drive a lot of traffic to your blog.

In this post you will be learning how to get your site in the index/directories of the top 4  search engines:

  1. Google
  2. Yahoo
  3. Windows Live/MSN
  4. Ask

Google

The simple first steps to get your site indexed:

  1. Fill up the Site Submission Form over here.
  2. On the next step you may need to confirm the ownership of your site, either by uploading a page to your site or adding a meta tag to your site.
  3. After your confirmation, just wait for the bots to index your site.
  4. In the mean time you can do some link exchange with some sites with a higher PR (Page Rank) than yours. Its recommended to exchange links with a site with higher than PR3. Link exchange will help you to get traffic and also in the index progress as the Bots will visit these higher PR rank sites and when they find your link over there, they will index it.
  5. Use social bookmarking sites such as StumbleUpon, Digg. Doing these will help you increase your popularity.

Yahoo

The basic steps:

  1. Submit your site Here. Make sure you are logged-in to Yahoo before submitting the URL, or else it you can log-in to yahoo after entering the URL.
  2. If you want to do some investment for your site on Yahoo, you can select from the plans that appear after the URL submission.
  3. In the mean time you can do some link exchange with some sites with a higher popularity than yours. Link exchange will help you to get traffic and also in the index progress as the Yahoo Bots will visit these higher popularity sites and when they find your link over there, they will index it.
  4. Use social bookmarking sites such as StumbleUpon, Digg. Doing these will help you increase your popularity.

Windows Live/MSN

Here are the easy steps:

  1. Submit your site Here. Make sure to fill the Captcha before submitting.
  2. That’s it…wait for the MSNBots to do their work.
  3. In the mean time you can do some link exchange with some sites with a higher popularity than yours. Link exchange will help you to get traffic and also in the index progress as the MSNBots will visit these higher popularity sites and when they find your link over there, they will index it.
  4. Use social bookmarking sites such as StumbleUpon, Digg. Doing these will help you increase your popularity.

Ask

There’s no specific way to submit your site to Ask. Ask doesn’t offer any site submission ways for free. But the Bot at Ask does crawl the web and it automatically adds pages. And being in DMOZ helps in fast submission to Ask.

Adding Custom CSS and JavaScript to your wordpress posts.

You may use different HTML elements like lists, tables, paragraphs on your post and it’s quite possible that you want the element to look differently in different context. There are two ways to achieve this

  1. Add a class for each post in the style sheet of your theme. If you have some 20+ posts with element styles specific to them , they would make your css file extremely lengthy and thus increasing the loading time and wasting ur bandwidth.
  2. Add the styles in the custom field for each post.

To implement the second idea


<?php
$id = $wp_query->post->ID;
$css_docs = get_post_meta($id, 'custom_css', false);
$js_docs = get_post_meta($id, 'custom_javascript', false);
if (!empty($css_docs))
{
	echo '<!--Custom css for '.get_the_title().'.-->'."\n";
	foreach ($css_docs as $css)
	{
    	    	echo '<style media="screen" type="text/css">'.$css.'

</style>'."\n";
        }
}
if (!empty($js_docs))
{
	echo '<!--Custom javascript for '.get_the_title().'.-->'."\n";
	foreach ($js_docs as $js)
	{
		echo '<script src="'.$js.'" type="text/javascript"></script>'."\n";
	}
}
?>

Get Approved for Google Adsense

You get money from adsense only if you have a decent traffic. There’s no point in applying for it immediately after you setup your website as you are most likely to end up with your account being rejected if you apply immediately after setting up your website without any content.

Google’s AdSense Program Policies and the Terms and Conditions are probably two of the most informative articles that you must read before applying for adsense.

How long should i have to wait before applying for adsense?

There’s nothing like you must wait for 30 days or 90 says before you can apply for adsense, the only thing is you should have decent content on your blog/website and have some decent traffic. Once approved into adsesne you can use the same publisher ID to display ads on multiple websites. So if you have a aged blog with some traffic on blogger or any other network apply with that url.

Tip: Blogger blogs are easily approved.

If you are previously banned from adsense for click fraud

Google takes click fraud very seriously, if you are previously banned from adsense for click fraud, then apply with a different name, email address and residence address. It’s always tempting for new bloggers and webmasters to click their own ads and asking friends to click on their own ads, don’t ever do that. You will be banned for life time for doing so.

Adsense is like a duck laying golden eggs, handle it with care.

Content

Make sure that your content is in compliance with adsense program policies. You may apply with a site that is in compliance with adsense and later use that account to publish ads on all your other sites.

Note: Google verifies all the sites on which your ad code is displayed  manually and may ban your account or domain from adsense if they are not in compliance with their program policies.

Age

You must be 18 years or older to apply for adsense. If you are not above 18 years you can apply with your elder bro or dads name.

Get a adsense account without having a website

If you haven’t created an Adsense account before, then apply through HubPages. Google will approve your account before you even need to write or publish any content.

That’s right, no need to create content before applying to Google Adsense when you’re applying through HubPages.

Read the Hubpages FAQ here.

Sign up for Hubpages here.

Once you’ve registered a Hubpages Author account go to Affiliate Settings (it’s in your My Account page, under Affiliate Settings).

On the “Affiliate Settings” page you’ll see next to where it says “Adsense” a link to “Sign Up”. It will then ask “Do you already have a Google AdSense account?”. If you say yes, it’ll ask for your Publisher ID and then in a few simple steps you will have linked and activated your Adsense Publisher ID to your Hubpage account. However you’re here to start an account, so select No.Tick the box for “I have read and understand Google’s terms of service” and click the button “Signup for AdSense” and away you go!