I have one last problem, to do with conflicting rewrites. Sorry to bug you again, please.. answer in your own time, if your not bothered right now.
Here is the conflict:
- Code: Select all
RewriteEngine On
RewriteRule ^(.*)\.htm $1.php
# Don't match existing files.
RewriteCond %{SCRIPT_FILENAME} !-f
# Don't match existing directories.
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^([^/\.]+)/?$ /topic.php?titleurl_top=$1 [QSA,L]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^([^/\.]+)/?$ /article.php?titleurl_art=$1 [QSA,L]
Titleurl_art and Titleurl_top share the same rewrite rule.
titleurl_art doesn't work.
I have tried..
- Code: Select all
RewriteRule ^titleurl_art/([^/\.]+)/?$ /article.php?titleurl_art=$1 [QSA,L]
As i heard this would seperate them, but it doesnt seem to work.
Any ideas Rich?
Thnx again, last few days have been hard, and you put things right, just like that.