RE: [PHP] mod_rewrite q's: syntax?
| From: | Micky Hulse | Date: | Mon, 10 Apr 2006 05:50:34 +0000 |
| Subject: | RE: [PHP] mod_rewrite q's: syntax? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-233657@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Chris [mailto:dmagick@gmail.com]
> Do you need to do it with a mod_rewrite?
>
> if not, you can do it easily in php:
>
> header('location: folder/file.php');
> exit();
>
> in index.php.
Unfortunately, yes... I am using a CMS, and my current setup is forcing me
into using the more complicated mod_rewrite.
Well, not that it is a bad thing... seems like mod_rewrite is more
search-engine/bot friendly.
Thanks for the tip though, I really appreciate your time.
Cheers,
Micky