URL Rewriting - It's Urgent

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

 



Dear PHPGurus,

Can someone help me out in rewriting the url from link -
http://xenprosys.com/search.php?attch=technology
to http://www.xenprosys.com/technology.html.

I have used the following code snippets in the .htaccess file but it doesn't
seem to work.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
rewriterule ^article/([^-]+)-([^&]+)\.html$ /search.php?attch=$1
</IfModule>

Regards,
Sourav Ghosh


[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux