Category Archives: Internet Marketing

Definition of .htaccess Regex Characters

Definition of .htaccess Regex Characters & htaccess regular expression special characters


The # instructs the server to ignore the line. It is used for including comments. Each line of comments requires its own #. When including comments, it is good practice to use only letters, numbers, dashes, and underscores. This will help eliminate/avoid potential server parsing errors.


Forbidden: Instructs the server to return a 403 Forbidden to the client or browser.


Last rule: Instructs the server to stop rewriting after the preceding directive is processed.


Next: Instructs Apache to rerun the rewrite rule until all rewriting directives have been achieved.


Gone: Instructs the server to deliver Gone (no longer exists) status message.


Proxy: Instructs server to handle requests by mod_proxy


Chain: Instructs server to chain the current rule with the previous rule.


Redirect: Instructs Apache to issue a redirect, causing the browser to request the rewritten/modified URL.


No Case: Defines any associated argument as case-insensitive.


Pass Through: Instructs mod_rewrite to pass the rewritten URL back to Apache for further processing.


Or: Specifies a logical “or” that ties two expressions together such that either one proving true will cause the associated rule to be applied.


No Escape: Instructs the server to parse output without escaping characters.


No Sub request: Instructs the server to skip the directive if internal sub-request.


Append Query String: Directs server to add the query string to the end of the expression (URL).


Skip: Instructs the server to skip the next “x” number of rules if a match is detected.


[E=variable: value]
Environmental Variable: Instructs the server to set the environmental variable “variable” to “value”.


Mime Type: Declares the mime type of the target resource.


Specifies a character class, in which any character within the brackets will be a match. e.g., [xyz] will match either an x, y, or z.


Character class in which any combination of items within the brackets will be a match. e.g., [xyz]+ will match any number of x’s, y’s, z’s, or any combination of these characters.


Specifies not within a character class. e.g., [^xyz] will match any character that is neither x, y, nor z.


A dash (-) between two characters within a character class ([]) denotes the range of characters between them. e.g., [a-zA-Z] matches all lowercase and uppercase letters from a to z.


Specifies an exact number, n, of the preceding character. e.g., x{3} matches exactly three x’s.


Specifies n or more of the preceding character. e.g., x{3,} matches three or more x’s.


Specifies a range of numbers, between n and m, of the preceding character. e.g., x{3,7} matches three, four, five, six, or seven x’s.


Used to group characters together, thereby considering them as a single unit. e.g., (perishable)?press will match press, with or without the perishable prefix.


Denotes the beginning of a regex (regex = regular expression) test string. i.e., begin argument with the proceeding character.


Denotes the end of a regex (regex = regular expression) test string. i.e., end argument with the previous character.


declares as optional the preceding character. e.g., monzas? will match monza or monzas, while mon(za)? will match either mon or monza. i.e., x? matches zero or one of x.


Declares negation. e.g., “!string” matches everything except “string”.


A dot (or period) indicates any single arbitrary character.


Instructs “not to” rewrite the URL, as in “…* – [F]”.


Matches one or more of the preceding character. e.g., G+ matches one or more G’s, while “+” will match one or more characters of any kind.


Matches zero or more of the preceding character. e.g., use “.*” as a wildcard.


Declares a logical “or” operator. for example, (x|y) matches x or y.


Escapes special characters ( ^ $ ! . * | ). e.g., use “\.” to indicate/escape a literal dot.


Indicates a literal dot (escaped).


zero or more slashes.


Zero or more arbitrary characters.


Defines an empty string.


The standard pattern for matching everything.


Defines one character that is neither a slash nor a dot.


Defines any number of characters which contains neither slash nor dot.


This is a literal statement — in this case, the literal character string, “http://”.


Defines a string that begins with the term “domain”, which then may be proceeded by any number of any characters.


Defines the exact string “”.


Tests if string is an existing directory


Tests if string is an existing file


Tests if file in test string has a non-zero value


Hope the above will help you a lot, if you have any issue in htaccess rules…post your valuable comment below.


Marquee tag in HTML and its attributes

The HTML marquee tag provides a way for browsers to creates a scrolling effect (can be tailored to include any HTML content) vertically or horizontally without having to resort to JavaScript techniques.



The marquee is non-standard HTML tag but you can enjoy (or possibly suffers from) good browser support.


You can change the marquee attributes on MARQUEE tag by following ways.




BGCOLOR=”#CCCCCC” – Set background color.

LOOP – Determines how many times the text will scroll. -1 is indefinite and will continuously scroll. You can set this to whatever you’d like.

SCROLLAMOUNT – Determines the speed your text will scroll.

WIDTH – Determines the width of your marquee.

HEIGHT – Determines the height of your marquee.

Direction – Determines the direction in which the text should scroll – up or down.

BEHAVIOR=”slide” – Defines the type of scrolling.

SCROLLDELAY=”500″ – Defines how long to delay between each jump.

HSPACE – Specifies horizontal space around the marquee.

VSPACE – Specifies vertical space around the marquee.


[sourcecode language=”plain”]
bgcolor="color name or hex value"
loop="value (number of loops)"
align="{ top | middle | bottom }"
direction="{ left | right }"
behavior="{ scroll | slide | alternate }"
height="integer (pixels or %)"
width="number (pixels or %)"
hspace="integer (pixels or %)"
vspace="number (pixels or %)"


Event Attributes:

Script runs when a mouse click

Script runs when a mouse double-click

Script runs when mouse button is pressed

Script runs when mouse button is released

Script runs when mouse pointer moves over an element

Script runs when mouse pointer moves

Script runs when mouse pointer moves out of an element

Script runs when key is pressed and released

Script runs when key is pressed

Script runs when key is released


Search Engine Optimization & SEO rich Web Content Development

Search Engine Optimization (SEO) is the process of improving the ranking in the search engine it involves editing its content, HTML, Images.

Content is always king and it should be very relative to its specific keywords. Content portion itself of the web development process is vital to the overall success of the website and Google raking and PR.


Web Content is the main reason that people come to your Web pages but if your designs, architectures, and interactivity don’t provide that content they will leave.


Keep in mind that content is still king.

Basically, there are two types of Web Content:



Text Web Content
It’s the written content that’s on the page, both inside images and in text blocks. The best textual Web Content is that text that has been written for the Web, rather than simply copy-and-pasted from a print source. Textual Web Content will also have good internal links to help readers get more information and aid in scanning the text. Finally, Web text will be written for a global audience as even local pages can be read by anyone around the world.


Multimedia Web Content
The other type of Web Content is multimedia. To put it simply, multimedia is any content that isn’t text, but it includes the following.










Images are the most common way to add multimedia to websites. Images on Web pages should be optimized, so that they download fast as it affect the site load speed.


Animation can be created using GIF images or using Flash, JavaScript, Ajax or other animation tools.


Sound is embedded in a Web page so that readers hear it when they enter the site or when they click a link to turn it on. Always keep in mind that sounds on Web pages can create frustration, especially if you turn it on automatically and don’t provide any way to turn it off easily.


Video is getting more and more popular on Web pages. But it can be challenging to add a video so that it works reliably and well across different browsers.


What should be there in your Web Content?


1)  It should be very simple, lucid and easy to read and understand.


2)  It should be original content (no copy-paste).


3)  Search Engine prefers the grammatically correct content first.


4)  Use optimum keywords and LSI (Latent Semantic Indexing) keywords after proper keyword analysis.


5)  Web Content should be written after proper SEO analysis.


Hope the above article will help you to write the content more SEO friendly & rich.


The Best Web Search Engines List

There are so many search engines available on Internet.
Most of the users want only a single search engine that delivers basic key features as


  • Relevant results (results you are actually interested in)
  • Uncluttered, easy to read interface
  • Helpful options to broaden or tighten a search
  • Quick response (less time consuming)

I prefer Google.Google is fast, relevant, and the largest single catalog of Web pages available today
Below are some other Search engines available, these are also used very much by the people.

Alexa Rank : 27
Estimated Unique Monthly Visitors : 165,000,000

Alexa Rank : 4
Estimated Unique Monthly Visitors : 160,000,000

Alexa Rank : 52
Estimated Unique Monthly Visitors : 125,000,000

Alexa Rank : 64
Estimated Unique Monthly Visitors : 33,000,000

Alexa Rank : 118
Estimated Unique Monthly Visitors : 19,000,000

Alexa Rank : 1640
Estimated Unique Monthly Visitors : 4,300,000

Alexa Rank : 3617
Estimated Unique Monthly Visitors : 2,900,000

Alexa Rank : 6358
Estimated Unique Monthly Visitors : 2,700,000

Alexa Rank : 3038
Estimated Unique Monthly Visitors : 2,600,000

Alexa Rank : 1862
Estimated Unique Monthly Visitors : 2,000,000

Alexa Rank : 5903
Estimated Unique Monthly Visitors : 1,450,000

Alexa Rank : 4422
Estimated Unique Monthly Visitors : 1,150,000

Alexa Rank : 7676
Estimated Unique Monthly Visitors : 700,000


Note : All the above data related to search engines have collected on dated 03/31/2012.


Google’s Chrome is biggest gainer with respect to IE & Firefox in Browser Wars

Top 5 most popular internet web browsers

A large number of people use the browser that comes with their computer’s operating system.


Internet Explorer on Windows
Safari on the Mac
Firefox on Linux


Apart from these Microsoft’s Internet Explorer is still the world’s most popular browser, but (IE) and Mozilla’s Firefox lost a lot of market share(users) to Google’s Chrome in 2011, which is now in second place.

According to StatCounter’s 2011 data (see image below), IE currently has a 39% market share, Chrome is at 27%, while Firefox holds 25% of the market.

2011 Browser Usage Statistics

Safari and Opera follow with 6% and 2% market share, respectively.

Internet Explorer started 2011 with a 46% share of the market, and Firefox was over 30%. Both browsers steadily lost their share throughout the year, and almost all of it went to Google Chrome, which is clearly the year’s biggest gainer.


SEO Tips to Improve Your Website’s Google Ranking & Website Traffic

Boost your website in major search engines by following some SEO tips as below:


1) Website content is the most important for SEO.Good, well-written (spelling and grammatically) and unique with quality content that contain your primary keyword and phrases always hike your site ranking.But Search engine prefer natural language content 🙂 Don’t try to mix so much your text with keywords.


2) Create a network of quality back-links using your keyword phrase as the link i.e. if your target is ‘Scriptarticle’ then link to’scriptarticle’ instead of ‘Click here’ link.Not only should your links use keyword anchor text, but the text (description text) around the links should also be related to your keywords.


3) You must have a unique, keyword focused Title tag (h1) on every page of your site.If optimizing blog posts; optimize your post title independently from your blog title.Focus on search phrases, not single keywords, and put your location in your text (‘Our Jaipur Centre’ not only ‘Our Centre’) to help you get found in local search.


4) When link building, think quality, not quantity. One single, good and authoritative link can do a lot more for your site than a dozen poor quality links.Links from a high Page Rank site are good as high PR indicates high trust, so the back links will carry more weight age.


5) Give each page a focus on a single keyword phrase. Don’t try to optimize the page for several keywords at once.


6) Check for canonical issue i.e. and non-www domains. Decide which you want to use and 301 redirect the other to it. In other words, if you prefer, then should redirect to it.


7) Frames, Flash and AJAX all share a common problem – you can’t link to a single page. Spiders or Crawlers can crawl text, not Flash and images. Don’t use Frames at all and use Flash and AJAX as less as you can for best SEO results.


8) If you want a new website to be spidered, submitting through Google’s regular submission can take many days. The quickest and easiest way to get your site crawled is by getting a link to it through another quality site.


9) SEO doesn’t matter if you have a weak or non-existent/dead call (href) to action. Be sure your call (href) to action is clear and present.


10) Optimize the text in your RSS feeds just like you should with your posts and web pages. Use descriptive, keyword rich text in your title and description.


11) Use captions and alt tag with your images. As with newspaper photos, place keyword rich captions with your images. A lot of searches is for a keyword plus one of those words.


12) Good global navigation and linking and paging will serve you much better than relying only on an XML Sitemap.


13) During link purchase or exchange, check the cache date of the page where your link will be located in Google.Search for ‘cache:URL’ where you substitute ‘URL’ for the actual page. If the page isn’t there or the cache date is more than an month old, the page isn’t worth much.


14) You must be sure that your URLs reports of server headers have ‘200 OK’ status or ‘301 Moved permanently’. If the status shows anything else, check to be sure your URLs are set up properly. You can find online tool for checking server header.


15) Social marketing is a part of SEO.As more you understand about sites like Twitter, Facebook, LinkedIn, Digg, etc, the better you will be able to compete in search.


16) Some of your most links has not appeared in web sites at all but be those in the form of e-mail communications such as newsletters.


17) Add all components to your Blog website like reviews, sharing functions, ratings, images, visitor comments, photo gallery etc.