News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Brian Moon's Blog:
ForceType for nice URLs with PHP
October 04, 2007 @ 09:37:00

On his blog today, Brian Moon talks about setting up ForceType directives in Apache, specifically how to make "friendly URLs" without having to use mod_rewrite (which might not be installed on your server).

This has been covered before, but I was just setting up a new force type on our servers and thought I would mention it for the fun of it. You see lots of stuff about using mod_rewrite to make friendly URLs or SEO friendly URLs. But, if you are using PHP (and I guess other Apache modules) you can do it without mod_rewrite.

There's three steps to the process - adding the directive to your Apache config, making the script able to handle the request, avoiding duplication of content and returning a 404 error when there's no matching data.

0 comments voice your opinion now!
forcetype url modrewrite duplicate content forcetype url modrewrite duplicate content


blog comments powered by Disqus

Similar Posts

Decal CMS Blog: Testing your website before launching: how to let content drive design (Part 1)

Kevin van Zonneveld's Blog: Kevin van Zonneveld

The Shadow Fox Network: Create Dynamic URLs With Mod_Rewrite and PHP Functions

Matthew Turland's Blog: Simplifying Zend_View_Helper_Url

Padraic Brady's Blog: Zend Framework App Tutorial - Part 9: Zend_Vew and Displaying Blog Entries


Community Events





Don't see your event here?
Let us know!


list threedevsandamaybe interview podcast install wordpress library unittest application series community language configure release laravel code testing introduction api developer

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework