Saturday, 20 August 2016

multiple urls status by single line of code

First check that, Do you have Bash shell:

if you are windows user then goto any directory and then click right button and then select "GIT BASH here" and now you are ready to work.

and if you are linux user then by default you have bash shell, you do not need to worry about this.


Now come to the point:

create new shell by using:
>notepad urls.txt

>function test {
  curl -so /dev/null -w "%{http_code}\t%{url_effective}\t%{redirect_url}\n" ${1}
}  
test "http://google.com"
test "xyz"
.
.
.
.
.
.
.
.
.
and so on.

now save the file.


now run shell script file by
./urls.txt

Congrats you create it successfully.

Wednesday, 6 July 2016

SEO with Google Blogger

1. Adding this markup code into template:
goto your dashboard ---- template ---- Edit HTML   
and search this code:
                                   <title><data:blog.pageTitle/></title>
and now replace with:
              

2. How to use the custom permalink for BlogSpot blogs:
Permalink plays a great role in search engine ranking of your post. There are few rules which everyone should follow for Blogspot permalinks:
  • Keep the number of characters in post title to 50
  • Remove Stop Words from permalink (Ex: A, an the)
While writing a blog post, you have the option to edit the permalink. Simply use it to edit your permalink and remove the stop words. A good idea is just to use Keywords in your permalink. (Don’t make it look spammy). While writing the blog post, you get the option in your right panel to keep it automatic permalink or manual permalink. Simply select manual permalink and edit it according to your wish. Check this screenshot for example:


3. Add the location for particular content:
 By searching the location according to content which will be more helpful for SEO of your content.


4. Add  the search description for your content :
you have to guess, what end user are going to enter on search engine for same content as you uploaded and make entry into this field. This will also help you for SEO of your content.



 5. Enter the label:
I know this not more important and not going to helpful for SEO but if you enter the label then your content will be in organised way.Believe me It will you to structuring the content.

6. Redirect a URL:
You can redirect URLs from your blog to new posts or pages.
  1. In the left menu, select Settings > Search preferences.
  2. Under "Errors and redirections,” next to “Custom redirects,” click Edit.
  3. Add the deleted URL and the URL you want to point it to. If the original article was deleted, check "Permanent."
  4. Click Save > Save changes.