Re: URL Rewriting
| From: | Fatih P. | Date: | Wed, 22 Jun 2011 21:32:10 +0000 |
| Subject: | Re: URL Rewriting | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-313653@lists.php.net to get a copy of this message | ||
try
RewriteEngine on
RewriteRule ^theme([0-9]+).php$ /index.php?theme=$1 [L]
On Wed, Jun 22, 2011 at 11:22 PM, Silvio Siefke <lists@silvio-siefke.de>wrote:
> Hello,
>
> is there a chance with php to use rewriting?
>
> Like Example:
>
> mysite.com/theme.php?id=1 to theme.php theme2.php etc.
>
> I have ask on the nginx list, but there they say i should use the power
> language php.
>
> When i search in google for Examples or Tutorials i only found
> mod_rewriting.
>
>
> Has someone a Link with Tutorials or other Information?
>
> Thank you.
>
> Nice Day.
>
> Silvio
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>