301 Redirect
301 redirect is the most efficient and Search Engine Friendly method for webpage redirection. It’s not that hard to implement and it should preserve your search engine rankings for that particular page. If you have to change file names or move pages around, it’s the safest option. The code “301″ is interpreted as “moved permanently”.
Below are a Couple of methods to implement URL Redirection Read more…
Here, how you can display total number of online user in your webpage you want. Just include file name, which I have given file name as online-user.php here. You need to include this file on any php page you want to display total users online.
I have developed this php script to implement on my own webpage.
See this, I have implement this on http://www.ashesh.com.np/nepali-date-converter.php
Example for how to include online-user.php in web page.
< ?php include 'path/online-user.php'; ?>
online-user.php
1
2
3
4
| < ?php
$rip = $_SERVER['REMOTE_ADDR'];
$sd = time();
$count = 1; <a href="http://www.ashesh.com.np/display-total-online-users-in-web-page/#more-1037" class="more-link">Read more... |
When it comes to Web development, there is a wealth of free information online to help you create a top-notch Web site. A lot of hard work goes in to maintaining these resources, all to help save you time and money. The Open Source community is growing stronger everyday and the scripts are getting more useful and efficient, making it almost impossible to not use a few of them in your project. Here is a list of 12 open source Web development scripts I have either used or read about that would easily help any developer with their next project. Read more…
The meta tags no-email-collection is an unspam.com initiative. Sure, the die-hard spammer wil not be stopped by this tag. This tag is mainly used to have a statement on your website: we don’t want you to harvest our email-address.
And if you have this statement on your website you are able to complain about spam harvesting and spam runs. In the USA you can even start a lawsuit.
This is why the meta tag contains a link to the page with your statement regarding spamruns and harvesting.
This meta tag has no influence on your search engine ranking. Meta tags who do have a lot of influence are the title of your page, the keywords and the description meta tags. Read more…
Designing a layout of webpage using CSS is now a most popular and challenging among the web designer. The layout Design without a table have allowed us to add more features and control over the page.
While creating the box using CSS, it is necessary to understand the four terms MARGIN , BORDER , PADDING and ACTUAL CONTENTS. Read more…
If you wish to rate your page’s audience appropriateness, use the rating meta tag.
This meta tag is often use to let the younger websurfers know the content is appropriate. If you use this tag the wrong way (call an adult website safe for kids is bad!) you will get banned for live.
This meta tag has no influence on your search engine ranking unless you use it the wrong way. Meta tags who do have a lot of influence are the title of your page, the keywords and the description meta tags. Read more…
There are a number of different Meta tags that you can use, but the most important ones are the Description and the Keywords Meta tags as well as having a title for the web page.
Title
The title of your web page should also be in the document head, which you want to make as descriptive as possible for the search engines to index.
<title>Meta Tags Optimization</title> Read more…
A well designed website should have a presentable footer. If you have no ideas what you should put in the footer, I have 14 websites with inspiring footer and I believe it will give you inspirations. Read more…
The use of links in javascript is usually to prevent search engine robots from spidering these links. Many search engine robots are not able to follow javascript links. This may mean that a link within javascript is not properly “seen” by the robots and therefore cannot be followed to your web site.
An example of a link in javascript:
<script language='JavaScript' type='text/javascript'>
document.write('<a hr'+'ef="ht'+'tp://w'+'ww.ash'+esh'+'.com.np">Ashesh's Blog</a>');
</script>
Read more…
rel=”nofollow”, is said to be the next biggest thing to be used by shady webmasters engaging in reciprocal link exchanges. This attribute was introduced by Google as a means to prevent the problem of comment spamming in weblogs, also called “Blogs”, and it looks to be adopted by all other major search engines such as Yahoo! and MSN.
“rel” is an attribute, not a tag
rel=”nofollow” has been inaccurately called a HTML tag. It is in fact an attribute that can be added to HTML tags, similar to adding the attribute “width” to HTML tags such as < IMG > or < TABLE >. The attribute rel=”nofollow” is used on individual anchor tags < A > for links. Read more…