Regardless of whether your URLs are static or dynamic, it's important to maintain consistency. In the case o dynamic URLs, it's important to maintain consistent parameter order in URLs with more than one parameter.
In PHP, the parameters of a query string are typically accessed by name rather than by ordinal. ...
Here are two example of ideal keyword-rich URLs:
http://www.example.com/Products/High-Powered-Drill-P1.html
http://www.example.com/Products/Tools-C2/High-Powered-Drill-P1.html
This is the best approach to creating URLs, but also presents an increased level of difficulty in implementation, especially if you are modifying preexisting source code for software. In that case this solution may not have an easy and apparent implementation, and it ...
An improved version of the previous example is a modified URL that removes the dynamic paramters and hides them in a static URL. This static URL is then mapped to a dynamic URL using an Apache module called mod_rewrite. The ref_id paramter previously alluded to is also not present, because ...
Data displayed by dynamic web sites is usually stored in some sort of backend database. Typically, a numeric ID is associated with each data row of a database table, and all database operations with the table are done by referencing that ID.
More often than not, the same ID used to ...
Before proceeding to write code, here are three example of URLs that you'll see frequently while browsing, and discusses the technical details involved in creating these URLs. This will help you understand where we're headingm, and why you'll write the code from the exercises in this chapter. You will see ...
If a search engine establishes that many different URLs in a web site contain the same content, it may not index them at all, in the worst case, if it is done excessively, it may designate the site as a spam site and penalize it.
Unfortunately, many web site have been ...
It is clear that users are more likely to click a search result that looks more relevant. One way to do this is to include relevant keywords - such as the product name in the URL. Although the effect on rangkings due to keywords in URLs may be small in ...
Dynamic URLs are those that include a query string, set off by ?, a question mark. This string is used to pass various parameters to a PHP script. Multiple parameters are delimited by & and then appended to the query string. A typical dynamic URL looks like the following:
http://www.example.com/product.php? category_id=1&product_id=2
In ...
Static URLs do not include a query string. By this definition, a URL referencing a PHP script without parameters is still static. Two examples of static URLs are as follows
http://www.example.com/about-us.html
http://www.example.com/site-map.php
Static URLs - even those generated by a PHP script - typically pose no challenges for a search engine.
Initially, the World Wide Web was comprised predominantly of static web sites. Each URL within a web site pointed to an actual physical file located on a web server’s file system. Therefore, a search engine spider had very little to worry about. The spider would crawl throughout the web site ...
Many search engine marketers have historically recommended placing relevant keywords in URLs. The original rationale was that a URL's contents are one of the major criteria in search engine ranking.
Over time, this has changed. It is now a less important criterion with regard to search engine ranking. On top of ...
"Click me!" If ideal URL could speak, its speech wuld resemble the communication of an experienced salesman. It would grab your attention with relevant keywords and a call to action, and it would persuasively argue that you should choose it instead of the other one. Other URLs on the page ...
According to Google, the Supplemental Index is a "completely automated" collection of pages that the Google web crawler considers, for one reason or another, unsuitable for inclusion in Google's main Index.
How does being in the supplemental index differ from being in the sandbox? The primary difference is that sandboxing is ...
Search engines attempt to avoid indexing multiple copies of the same content or duplicate content. Many search engine optimization experts hypothesize that not only does a search engine not index such pages, but it also penalizes a site for having the duplicated content.
This is a subject of much debate, but ...
Using a previously expired domain to launch a new web site used to evade this dreaded sandbox effect. This way likely because Google was unaware that the site was new. Google put a stop to this loophole a while ago, and now it seems to be quite the opposite situation ...