Home arrow Web Services arrow Page 5 - Make Dynamic URLs Search Engine Friendly
WEB SERVICES

Make Dynamic URLs Search Engine Friendly


Using a database to dynamically create web pages makes for a much improved site in many ways. However, such URLs are not very search engine friendly. Search engines are much better at indexing static pages, and don't do a good job of following hyperlinks that contain query strings. The advantages of a dynamic site are overwhelmingly obvious--so what is to be done? With a little extra effort, you can create a dynamic site that is easily crawled by webbots.

Author Info:
By: Peter Lavin
Rating: 4 stars4 stars4 stars4 stars4 stars / 69
March 01, 2004
TABLE OF CONTENTS:
  1. · Make Dynamic URLs Search Engine Friendly
  2. · Check Your Server
  3. · Create an .htaccess File
  4. · Upload .htaccess to Your Server
  5. · Test the Results
  6. · Modifying Your Code
  7. · Conclusion

print this article
SEARCH DEVARTICLES

Make Dynamic URLs Search Engine Friendly - Test the Results
(Page 5 of 7 )

If there are any problems we want to know about them before proceeding. There is no point in making the wrong modifications to our code! Type the rewritten URL into the address bar of your browser substituting actual literal values for the PHP variables. In our example, we know that there is a category called “books” and a subject called “biography.” That would make our URL:

http://www.mysite.com/typebooks-biography.htm

If the right page is returned then you’ve done everything correctly.

If not, here are a couple of suggestions. Make sure you have uploaded .htaccess into the right directory. Still have problems? Try the original, unrewritten URL in the address bar. If that also doesn’t work, then the format of your URL is incorrect. Go back, recopy it from your code and re-enter it into the rewrite rule generator.


blog comments powered by Disqus
WEB SERVICES ARTICLES

- Dealing with Loose Coupling in a Service-Ori...
- Loose Coupling in a Service-Oriented Archite...
- Safety, Idempotence, and the Resource-Orient...
- The Resource-Oriented Architecture in Action
- Features of the Resource-Oriented Architectu...
- The Resource-Oriented Architecture
- Getting Started with Flex
- Automated Billing and Faxing for the Web
- An Introduction to Web Services
- The Foundations of Web Services: From Novice...
- Web Services Reengineering: Finishing Touches
- Fault Handling with Web Services
- Flow and Web Services
- Process Lifecycles and Web Services
- Business Processes and Web Services

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials