[UPHPU] Rewriting Apache URLs
Roberto Mello
rmello at fslc.usu.edu
Mon Aug 7 08:49:21 MDT 2006
On Mon, Aug 07, 2006 at 09:34:41AM -0500, Smith, Jeff wrote:
> I have noticed on a couple of sites the URL is something like
> http://www.somesite.com/index.php/2006/08/07/articleName . I know this
> help with SEO, it also makes for a more meaningful URL compared to my
> current method of index.php?articleID=143. I know this isn't strictly
> PHP related but if anyone will know you guys will. How can I get apache
> to accept this as a URL and PHP to properly interpret it?
With PHP and Apache, this is usually accomplished using mod_rewrite.
Check out mod_rewrite's documentation for some good examples.
-Roberto
--
You moved your mouse sucessfuly. You need to reboot Windows for the
changes to take effect. Do you want to reboot now?
More information about the UPHPU
mailing list