Search This Blog

Showing posts with label SEO. Show all posts
Showing posts with label SEO. Show all posts

Sunday, November 22, 2015

.htaccess and browser caching for seo

 
Step1:
 
Apache's mod_expires module allows settings by file type to control how 
long browsers cache files. This is useful for ensuring browsers cache 
image, Javascript and/or CSS files without making additional unnecessary 
requests when loading pages. 

Step2:
You will need to edit your .htaccess file. Add the following code to the file and
save it.
 
The timeframe should be one of years, months, weeks, days, hours, minutes or seconds.
Here's an example from one of my sites:
 
ExpiresActive on
ExpiresByType application/javascript "access plus 1 months"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType text/css "access plus 1 months"
 
Step3: 

Enjoy Folks

How to Use Google’s Structured Data Markup Helper

What Does the Structured Data Markup Helper Do?

Titles like “Structured Data Markup Helper” need a little explanation, so let me first explain a little bit about this tool before launching into a demonstration. I want you to see how and why the helper can be helpful.

The Tool Explained

Stated simply, the Structured Data Markup Helper is designed to help you implement structured data on your site.
Structured data is information organized in vast online databases (e.g., freebase) that help to serve search results. Structured data markup is a universally shared language format that helps search engines understand and return the best results for users who are searching for relevant data. Schema markup is the foremost type of shared markup vocabulary that Google is using to deliver results.
The helper shows where you can add markup and how to do it.

A Word About Structured Data

As search marketing evolves and advances, it’s very likely that the common markup vocabulary will spread wider across a variety of applications and interfaces, making markup even more essential.
Marketers cannot simply ignore structured data. In the aggressive pursuit to organize everything, structured data will become (and maybe has already become) a foundational building block of an effective marketing and search strategy.

Why Do I Need This tool?

If you’re skeptical about using a Google tool to help you “succeed” in Google search, I understand. But look at it this way. Google is sharing information that will actually improve your results both in their search results and in other search engine results. After all, the markup syntax is shared across major search engines.
As Google explains, they want to “improve the web by creating a common vocabulary for describing data on the web” (emphasis mine). This commonality means that you’re enhancing something bigger than just Google’s SERPs.
Besides, you have a shared goal with Google. (Yes, really.) Google wants to give users the best information. You, hopefully, have the same desire — to give users the best information possible.

What Technical Skills Do I Need?

Do you need to be a web developer to implement structured data markup? No, although it probably helps.
The actual process of implementing the markup uses Microdata or JSON-LD. Microdata is HTML5  with nested entities and referred items. It helps crawlers understand the type and identity of certain data points, and then deliver visually differentiated results to users.
JSON-LD uses JavaScript objects to define the data. JSON stands for JavaScript Object Notation. LD stands for “linked data.” It’s like JavaScript, but its primary purpose is object identification, which is the motivating purpose behind structured data markup as a whole.
Google prefers microdata, as explained in a webmaster support article:  “Google prefers microdata for web content.” Thus, if you are embarking on your own markup journey, use microdata. If you already know JavaScript, it shouldn’t be too much of a jump to switch to microdata instead.
But what if you know neither Java nor microdata, and are even struggling to understand the basics of HTML? Not to worry. The Structured Data Markup Helper provides a clear way to understand what you need to do.

Using the Structured Data Markup Helper

Now, let’s get started with the helper.

Step 1:  Open the Markup Helper

URL:  https://www.google.com/webmasters/markup-helper/u/0/
You’ll need to sign in to your Google account in order to use the tool.
Here’s what you’ll see:
How to use Google’s Structured Data Markup Helper

Step 2:  Choose to Add Structured Data Markup to an Email or to a Web Page

Structured data markup works on web pages or emails. Its use on a web page will be obvious in this article, but let me just remark on the email implementation.
Obviously, the markup will appear only if you’re creating an HTML email. You can create your template as usual, then run it through the markup helper to add features such as event reservations, flight reservations, restaurant reservations, hotel reservations, and car rental reservations.
You can read more about email markup in Google’s webmaster article.
For my explanation purposes, I’m going to use a web page. I will make sure I have selected the “website tab” on the markup helper as I go forward.

Step 3:  Determine What Kind of Data Type You’re Going to Use

Now, you have to select a data type. Data type simply refers to anything on your page that might be categorized as an entity or data point.
  • Your name as an author is data.
  • Your local business listing is data.
  • Your flower bouquet for sale is data.
  • Your review of book is data.
Google wants to understand how your data should be categorized. Making this choice will tell the Markup Helper how to serve data options that you can use to markup your page.
So, simply decide what you want to markup. You have ten choices:
  • Articles
  • Book Reviews
  • Events
  • Local Businesses
  • Movies
  • Products
  • Restaurants
  • Software Applications
  • TV Episodes
  • TV Episodes with Ratings
It seems a bit limited, but don’t worry. Once you get into the markup, you’ll have plenty of choices for what can be marked up.
I’m going to use “Article” for my markup sample.

Step 4:  Paste in Either the URL or HTML of the Web Page

If you have an already-published web page, pasting the URL is the simplest and most obvious way to go. Google will access your site, and deliver it in the markup helper.
If you’re creating a page that is not published yet, you can simply paste the HTML into the markup helper. It’s best if you have a complete or nearly complete page, even if it hasn’t been published. The more complete the web page, the better you’ll be served by the markup helper.
I’m going to use the URL of a random blog article that I published in the past on Search Engine Journal.
Once you paste in the URL (or HTML), click “start tagging.” You’ll be prompted to start tagging data.
How to use Google’s Structured Data Markup Helper

Step 5:  Select Data and Identify its Data Type

Now, you will identify the pieces of information on the web page that should be marked up. This is the longest but most important step, so track carefully with me.
How do you know what elements on the web page should be marked up? The right pane of the markup helper shows you. Because you selected “article,” the helper lists the common data items for an article.
How to use Google’s Structured Data Markup Helper
The only required bit of information here is “Name.” The rest is optional, but recommended.
I’m going highlight that first element in the list — “Name,” which refers to the article title. When I highlight the title, the helper displays a tooltip where I can choose the data item that I just highlighted.
How to use Google’s Structured Data Markup Helper
Since this is the title of the article, I’ll choose “Name.”
Immediately, this data is added to the “My Data Items” pane, right next to the “Name” entry.
How to use Google’s Structured Data Markup Helper
Next, I’ll look for the author, then date published, image, article selection, and so on. The more data I can tag, the better.
I’m not able to simply highlight every element and add it. That’s where I use the “Add Missing Tags” button at the bottom of “My Data Items” in the right pane. Let me illustrate how I’ll use this.
How to use Google’s Structured Data Markup Helper
I want to add the article’s URL, but it doesn’t appear on the page. Therefore, I can’t highlight it. So, I select URL from the tag type, and then copy (from elsewhere), and paste the URL from the article into the “Add tag” section. Then I click “save.”
Now, I have the URL as part of my data items:
How to use Google’s Structured Data Markup Helper
I’m going to do the same for “Article Body,” and “Publisher.” I can copy/paste the article body from elsewhere, and then I can simply type in “Search Engine Journal” as the publisher.
You may not be able to fill out every data item, and that’s okay. Some articles just won’t have rating data, for example. I’m leaving this blank in my markup list.
Once you’ve tagged all relevant data, you’re ready to view the HTML — the final major step in the process.

Step 6: Create HTML

Click “Create HTML” in the upper right corner.
How to use Google’s Structured Data Markup Helper
Once you do so, the right pane converts to an HTML display pane.
How to use Google’s Structured Data Markup Helper
The tool has provided exactly what you need to add markup to your article. Every occurrence of added data is indicated with highlighted text. Yellow location markers appear in the right scroll bar to alert you to each incidence of added markup.
Notice that you can add/view JSON-LD if you prefer. A simple toggle button at the top of the pane allows you to switch between viewing the two — JSON-LD or microdata. As I mentioned before, Google prefers microdata, so this is what I recommend you use.

Step 7:  Download or Add Microdata to Your HTML

Now, you can download the HTML that you’ve created with the helper. If your CMS allows you to simply paste in the HTML, use the “download” button, then copy/paste it in.
NOTE:  Google provides a note about their microdata generation within your HTML. You do not need to include the following line of HTML in your page:
<!– Microdata markup added by Google Structured Data Markup Helper. –>

Step 8:  Test the Markup That You Have Created

Finally, I recommend that you use another Google tool to test your data — the Structured Data Testing Tool. Whereas the Structured Data Markup Helper allowed you to create the microdata, the Testing Tool allows you to check for accuracy.
The testing tool is available here:  http://www.google.com/webmasters/tools/richsnippets

Since I just downloaded the HTML for my marked up text, I’m going to paste it in, rather than use a live URL.
How to use Google’s Structured Data Markup Helper
The testing  tool provides a helpful survey of the extracted structured data. When I view the data elements, I can see that the markup I added was implemented correctly.
How to use Google’s Structured Data Markup Helper

Going Beyond the Structured Data Markup Helper

Article  Credits goes to: searchenginejournal.com

 http://www.searchenginejournal.com/use-googles-structured-data-markup-helper/110668/


This Tools help to increase the website traffic and to check website Seo Friendly

Welcome to designer blog this tools will you helpful to get more traffic to website and also too check your  website is SEO Friendly

https://moz.com/
https://www.woorank.com/
http://seositecheckup.com/


http://www.directorycritic.com/free-directory-list.html

Tuesday, October 20, 2015

How to create a 301 Redirect

Step1:

Create a .htaccess file with the below code, it will ensure that all requests coming in to domain.com will get redirected to www.domain.com

The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)

 Step2:

To rewrite we should on the RewriteEngine on

Syntax:

RewriteCond %{HTTP_HOST} !^www\.starevents\.in
RewriteRule (.*) http://www.starevents.in/$1 [R=301,L]

sample code

 .htaccess.file:

RewriteEngine on
Options +FollowSymLinks
RewriteCond %{HTTP_HOST} !^www\.starevents\.in
RewriteRule (.*) http://www.starevents.in/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^.*/index\.html
RewriteRule ^(.*)index.html$ http://www.starevents.in/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^.*/index\.php
RewriteRule ^(.*)index.php$ http://www.starevents.in/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^.*/index\.htm
RewriteRule ^(.*)index.htm$ http://www.starevents.in/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^.*/index\.pl
RewriteRule ^(.*)index.pl$ http://www.starevents.in/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^.*/default\.htm
RewriteRule ^(.*)default.htm$ http://www.starevents.in/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^.*/default\.aspx
RewriteRule ^(.*)default.aspx$ http://www.starevents.in/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^.*/index\.aspx
RewriteRule ^(.*)index.aspx$ http://www.starevents.in/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^.*/index\.asp
RewriteRule ^(.*)index.asp$ http://www.starevents.in/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^.*/default\.asp
RewriteRule ^(.*)default.asp$ http://www.starevents.in/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^.*/index\.shtml
RewriteRule ^(.*)index.shtml$ http://www.starevents.in/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^.*/index\.cfm
RewriteRule ^(.*)index.cfm$ http://www.starevents.in/$1 [R=301,L]

AddOutputFilterByType DEFLATE text/plain

AddOutputFilterByType DEFLATE text/html

AddOutputFilterByType DEFLATE text/xml

AddOutputFilterByType DEFLATE text/css

AddOutputFilterByType DEFLATE application/xml

AddOutputFilterByType DEFLATE application/xhtml+xml

AddOutputFilterByType DEFLATE application/rss+xml

AddOutputFilterByType DEFLATE application/javascript

AddOutputFilterByType DEFLATE application/x-javascript

ErrorDocument 404 http://www.starevents.in/404.html

 Step3:

SEO Redirect checker to check 301 is redirecting

http://www.ragepank.com/redirect-check/

Step 4:

Enjoy Folks

Thursday, July 12, 2012

Google Penguin - Google Algorithm Lates update


Google Penguin is a code name for a Google algorithm update that was first announced on April 24, 2012.The update is aimed at decreasing search engine rankings of websites that violate Google’s Webmaster Guidelines by using

Black-hat SEO techniques  such as

1. keyword stuffing, -- illegal search engine optimization (SEO) technique. 

a.Keyword stuffing occurs when a web page is loaded with keywords in the meta tags or in content. The repetition of words in meta tags may explain why many search engines no longer use these tags.

 b.Hiding text from the visitor is done in many different ways. Text colored to blend with the background, CSS "Z" positioning to place text "behind" an image

 c."Noscript" tags are another way to place hidden content within a page. While they are a valid optimization method for displaying an alternative representation of scripted content, they may be abused, since search engines may index content that is invisible to most visitors.

2. cloaking,

Cloaking refers to the practice of presenting different content or URLs to users and search engines. Serving up different results based on user-agent may cause your site to be perceived as deceptive and removed from the Google index.

3. participating in link schemes,

 
Your site's ranking in Google search results is partly based on analysis of those sites that link to you. The quantity, quality, and relevance of links count towards your rating. The sites that link to you can provide context about the subject matter of your site, and can indicate its quality and popularity. However, some webmasters engage in link exchange schemes and build partner pages exclusively for the sake of cross-linking, disregarding the quality of the links, the sources, and the long-term impact it will have on their sites. This is in violation of Google's Webmaster Guidelines and can negatively impact your site's ranking in search results. Examples of link schemes can include:
  • Links intended to manipulate Page Rank
  • Links to web spammers or bad neighborhoods on the web
  • Excessive reciprocal links or excessive link exchanging ("Link to me and I'll link to you.")
  • Buying or selling links that pass PageRank
 
4.deliberate creation of duplicate content, and other-  intentional creating a duplicate content

Thursday, March 29, 2012

How to add comments in blog

Quality Backlinks 

Post the comments in other blog by using the keywords u like to bring in Google page rank 1st.

Example Below 



Wednesday, March 21, 2012

Traffic Launch Pad

 To get the Back links for the website u can download  Traffic launchpad 

Software  and u can easily make backlinks

http://trafficlaunchpad.com/

Monday, March 19, 2012

WordPress Trackback Tutorial


When used properly, trackbacks and pingbacks are an excellent way to build links and traffic to your blog, as well as building relationships with other bloggers.

What Is Trackback?

In layman’s terms, trackback is a way to notify a website when you publish an entry that references it.
When you send it a trackback, a link with a short excerpt of your entry will appear on the referenced website.
Example of a Trackback

How To Locate The Trackback Link

When you want to trackback, you will need to use a special link provided on the blog you want to reference.
Most trackback links appear just after the blog post content and before the comments.
Sometimes the link will appear as a plain text link:
Example of Plain Text Trackback Link
Other times it will be a hyperlink:
Example of Hyperlinked Trackback Link
If the trackback URL is hyperlinked, you’ll need to right click on it and select “Copy link location…” (or your browser’s equivalent), otherwise, you can highlight and copy the link.
If you plan to reference more than one blog entry, each trackback URL will need to be copied individually.
(Please note: Not all blogs display their trackback URL in plain view, some blogs even turn off their trackback. When in doubt, contact the blog author.)

Sending A Trackback

Before you publish your blog entry, you’ll need to tell WordPress to send your trackback notices.
Paste the trackback URLs into the box next to “Send Trackbacks To.”
In WordPress 1.5, the box appears in the Advanced section below the post content box. Note: you’ll need to be in Advanced Editing mode to see the Advanced options box.
Example of Trackback box in WordPress 1.5
In WordPress 2.0, it’s just below the Upload box. If the Trackback box itself isn’t revealed, click on the ‘+’ sign.
Example of Trackback box in WordPress 2.0
Once you’ve added all the URLs you want to trackback, the moment you hit the Publish button, the blog(s) will be notified.

WordPress’ Built In Ping Feature

WordPress takes trackback to a new level by allowing pingbacks.
Pingbacks allow you to notify a weblog of your entry just by posting its permalink directly in the content of your blog entry. No special trackback link necessary.
To enable pinging URLs in the blog entry, make sure there is a check mark next to “Attempt to notify any Weblogs linked to from the article (slows down posting.)” in the “Options->Discussion” section of the WordPress admin panel.

Checking Whether A Website Supports Pingbacks

You can generally assume that most WordPress blogs will support the pingback feature, however, it can be disabled or moderated based by the blog owner.
If you want to be certain pingbacks are supported, you need only look in the HTML coding for a line similar to:
<link rel="pingback" href="..." />
If the site has pings enabled, a link with a brief sampling of the text around it will appear on their blog.
Example of Pingback Content

Checking If Your Trackback or Pingback Was Successful

Successful trackbacks and pingbacks usually appear within moments of publishing your blog entry, but remember that trackbacks and pingbacks can be moderated or disabled by the blog owners.
You can also verify that the trackback and pingback were sent successfully by clicking on Edit next to the blog entry you published and scrolling down below the Custom Fields. WordPress will display all the URLs that were notified about your blog entry.
Example of WordPress' display of pinged sites
Sometimes a blog may be having technical difficulties with the trackback or pingback system. If you believe that is the case, you can politely send the blog owner a message outlining the potential problem, being sure to include all necessary and relevant information for them to troubleshoot.

Using Trackback and Pingback Wisely

When sending a trackback, be mindful of sending a pingback. If the site you’re linking to has pingbacks enabled, be sure not to trackback. You may end up inadvertently posting two links to their site and this may annoy some webmasters, or may even be construed as attempted spamming.
Avoid sending a trackback unless you actually reference or link to the site you’re sending the trackback to, otherwise, it can be considered spam.
If your trackback or pingback doesn’t show up on the website, don’t try to force it by continually using trackback or pingback. Instead, head over to the actual blog entry and leave a note with a link to your blog entry manually. If the blog owner thinks it’s relevant enough, he will approve it.

Allowing Trackbacks/Pingbacks on Your Blog

WordPress allows you to set your default ping status in the Options menu. If you know that the majority of your posts will have trackback/pingback enabled, setting it to accept them could make your blogging life a little easier.
From your admin panel, click on Options->Discussion and place a check mark next to “Allow link notifications from other Weblogs (pingbacks and trackbacks.)” and remember to click on Update Options when you’re finished.

Post by Post basis

You can also handle your trackbacks/pingbacks on a per post basis — this will also override the setting in your options panel. From the Write->Post screen, make sure there is a check next to “Allow Pings” in the Discussion box.
If there is no check mark in that box, then the post will not accept trackbacks or pingbacks.

Final Note

You are welcome to use this blog entry to test your trackback/pingback functionality, however, please do not spam it. Your trackback/pingback will not show up right away and may not show up at all if you didn’t actually link to this post or the URL on your blog returns a 404 error (yes, I check). However, whenever possible, I will pass by your blog and personally tell you whether the ping was successful if it isn’t approved here.


This one is a useful tutorial    WordPress Trackback Tutorial. Thank you for sharing this information.

Monday, March 5, 2012

h1 tag should use only once in one page

Proper Use of Header Tags

<h1>, <h2> tags etc. should be used when appropriate. Don't be using <h2> tags as a paragraph or using <div> class="title"</div> to display the title of your page or something.
Here's a few things to keep in mind when using header tags:
  • only use one <h1> tag per page
  • you can use as many <h2> - <h6> tags as you like in your pages
  • search engine crawlers only read basic html
More articles about header tags:

Sunday, March 4, 2012

SEO

 SEO Rules

The head section of an HTML document includes, among others, the title tag, meta description and meta keywords. Proper usage of keywords here is extremely important for a websites rankings in search engines. This section will provide some general basic guidelines/good practices to follow when constructing the head section of your eCommerce website.

Page Title Tag:
The title tag is the title of a website that is displayed at the top of the browser, and is also the hyperlink that shows up in the search engines results page (SERP) above the website’s description and adress. Title tags are extremely important, not only for search engine ranking, but it also informs human users about the content they can expect to see the on a website once clicked. Here are some general rules of thumb for constructing them:
  • The title of each page should be unique. This is because the content of each page is different, so it would be useful and more informative for both users and search engines if the title to a page is specifically tailored to its content.
  • The title of each page should accurately describe that page’s content. Part of the reason why they should also be unique.
  • The title should contain roughly nine words or 60-70 characters. If optimizing for Google, they are always on the low end of the spectrum so 60 characters for the title should be the maximum.
  • The first letter of each word in the title should be capitalized. Just like in the title of a book or magazine.
  • The title of the homepage should include your primary keywords. Furthermore they should be descriptive of the entire website rather than just the contents of the homepage itself.
  • The titles of each subpage, category page or subcategory should only describe that particular page.
  • Do not use stopwords in the title. Stopwords are words like “and,” “or,” “for,” “at” and “by” that Google ignores for queries. So the query “the cat in the hat” is no different to Google search algorithms than the query “cat hat.” See List of Google Stopwords for a complete list of stopwords used (or rather not used) by Google. Instead, replace stop words with symbols or separators, for example, use “&” for “and.”
  • The ordering of keywords in the title should be from most to least important. The most important keywords are those that are most searched or most relevant to the site.
  • The keywords in the titles should be separated by commas. More specifically, they should be separated by “, ” with a space after the comma.
  • The title should include the company’s name. This is of course assuming that the company name is “brandable” or if branding the name is the intent.
  • Consider adding a short call to action at the end of the title, when suitable. “Free shipping!” “Sign up for free!”

Meta Description Tag:
A meta description is the short website summary that shows up below the hyperlinked titles in the SERP These summaries simply describes the website as whole, a particular page or section. Like the title tag, meta descriptions do not show up in the content of the site itself. The purpose of the meta description is to inform users who the company is, what the company does followed by a call to action like “free shipping” or “sign up for free” if one is not already being used in that page’s title. A good guideline to follow when creating meta descriptions are:
  • Meta descriptions should be 25 words or 150-200 characters in length. Like with titles, Google displays the lower end of the spectrum, so when optimizing for them stick to roughly 150 characters.
  • Stopwords are allowed in descriptions.
  • Descriptions are written in sentence format. Capitalize the first letter of the sentence and all proper nouns.
  • Start the description with the company name followed by a verb (offers, provides, sells) and then list the most important and relevant keywords in order of importance, with a limit of four to five keyword phrases.
  • Keywords should be separated by commas. The same rule applies as with titles.
  • Try to mix up keywords. Use different words that make up many combinations of different phrases.
  • End with a call to action. Call to action gives the user a reason for clicking.
Meta Keyword Tag:

Meta keywords are a list of keywords that pertain to a certain page. The extent to which meta keywords influence rankings in Google is a controversial issue. However, its inclusion with proper construction can still be beneficial. Here are some general guidelines:
  • List keyword phrases in order of relevance and importance.
  • Separate each keyword phrase with a comma and space (just like keyword lists in the title and description).
  • Do not include stop words.
  • Stick to a limit of 45 words in total.
  • Start the first phrase with a capital letter and make all others lowercased, even proper nouns, and end with a period.
  • OK to end the list with the company or domain name.
  • Consider adding keyword mispellings or different common word spellings. For instance, “optimization, optimisation.”
 Reference:
http://www.ecommerceoptimization.com/articles/basic-page-title-meta-description-meta-keywords-structuring-rules/

Thursday, March 1, 2012

How Google Wants You To Use Alt Tags & Title Tags on Images

  • alt attribute should be used to describe the image. So if you have an image of a big blue pineapple chair you should use the alt tag that best describes it, which is alt="big blue pineapple chair."
  • title attribute should be used when the image is a hyperlink to a specific page. The title attribute should contain information about what will happen when you click on the image. For example, if the image will get larger, it should read something like, title="View a larger version of the big blue pineapple chair image."

Validating to select in sequencial order using angular

    < input type = "checkbox" (change) = "handleSelectTaskItem($event, taskItem)" [checked] = " taskItem . i...