Re: Search Engine Friendly URLs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-01-14 at 13:46 -0500, Josh wrote:
> I am converting a site to use includes instead of a Dreamweaver template.  I
> want the URLs to look like this: www.my-site1234.com/contact instead of
> www.my-site1234.com/default.php?p=contact.
> 
> I found some tutorials on editing the .htaccess file but where do I find it
> on the server?


You need to create the file in the root directory of your website.

Example:

if your website is located in
  /home/web/foo/public_html/

then you need to create the file:
  /home/web/foo/public_html/.htaccess

You also need to make some adjustments to Apache to allow you to do
this.

-Robby

-- 
/***************************************
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON  | www.planetargon.com
* Portland, OR  | robby@xxxxxxxxxxxxxxx
* 503.351.4730  | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
*    --- Now supporting PHP5 ---
****************************************/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux