This is a discussion on Apache rewrite rule within the Server / Technical Administration Tips and Queries forums, part of the Webmaster Help category; Hello all, I have dynamic pages that look like this. /index.php?purl=text_variable_with_underscore_2355. html What would be the rewrite rule to get ...
| |||||||
| Register | Forum Rules | FAQ | Donate | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello all, I have dynamic pages that look like this. /index.php?purl=text_variable_with_underscore_2355. html What would be the rewrite rule to get them to look like this. /text_variable_with_underscore_2355.html There is no other page besides index.php for this site. Thanks |
| |||||
| something simple will be Code: RewriteRule ^([0-9a-zA-Z_]+)-id([0-9]+).html$ index.php?purl=$1&id=$2 [L,NC] |
| Tags |
| apache, apache rewrite rule, rewrite, rule |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| G warning on Url rewrite | glengara | 5 | 02-10-2008 10:22 AM | |
| Mod Rewrite | webman1 | Search Engine Optimisation | 17 | 30-07-2008 09:50 PM |
| .htaccess rewrite rule | WoodenToys.ie | Coding Help | 4 | 23-07-2008 02:49 PM |
| ||||
| | ![]() | |||
| | ||||