Web Services
  Home arrow Web Services arrow Page 4 - Make Dynamic URLs Search Engine Friendly
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEB SERVICES

Make Dynamic URLs Search Engine Friendly
By: Peter Lavin
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 47
    2004-03-01

    Table of Contents:
  • Make Dynamic URLs Search Engine Friendly
  • Check Your Server
  • Create an .htaccess File
  • Upload .htaccess to Your Server
  • Test the Results
  • Modifying Your Code
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Make Dynamic URLs Search Engine Friendly - Upload .htaccess to Your Server


    (Page 4 of 7 )

    Now that you have created the .htaccess file you need to upload it to your server. It must reside in the same directory as the page that invokes your dynamic URL. Likewise, the script that is invoked should be in this same directory. In our example we use the root directory of the server.

    If you are only familiar with file naming conventions under Windows the name of this file will strike you as odd. Why start a file name with a dot? On Unix/Linux systems files of this type are hidden. For this reason you need to make sure your FTP program is set up to view hidden files. Usually this is done using a site configuration option. With my FTP program I need to enter -al into a Remote File Mask textbox. If you can’t configure your FTP program, most operating systems have an FTP utility that is invoked by typing ftp at the command line. Once you’ve connected to your site, to view hidden files you need to list them using the -al option. This is done by typing ls –al. This is an important point because you want to able to see your file on the server, especially if you are using a graphical program to transfer it. If you successfully transfer it and it’s not correct you won’t be able to see it to delete it. Be warned that a misconfigured .htaccess files can make your site inaccessible from a browser.

    Make sure that you transfer your file in ASCII mode. When automatically transferring files, most FTP programs determine the transfer mode by looking at file extensions. Under Windows this may mean that a file named .htaccess will transfer in binary mode. Configure your software so that files with this extension will upload as text files or, alternately, transfer the file manually.

    More Web Services Articles
    More By Peter Lavin


       · i tried everything but i still couldnt get it.look my site is...
     

    WEB SERVICES ARTICLES

    - 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
    - Orchestrating Web Services
    - Notifications and Resources in the WS-Resour...
    - WS Notification and WS Topics in the WS Reso...
    - Introducing the Implied Resource Pattern
    - Web Services and Stateful Resources
    - Deploying an EJB Application







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway