Welcome to WebmasterWorld Guest from 188.8.131.52
RewriteRule ^([^/]+)/([^/.]+)/?$ /index.php?act=play&id=$1&cid=$2 [NC,L]
Why is not working?
I also tried:
RewriteRule ^([0-9]*).html$ index.php?act=play&id=$1&cid=$2 [L]
RewriteRule ^(.*)/(.*).html /index.php?act=play&id=$1&cid=$2 [L]
But none working.
I just have to get this working:
But it doesn't take it and I cannot find the reason. Do I have to get my web host to do something?
The second two should work with
Also, do you have any other rules or directives in your htaccess or httpd.conf file that may be in conflict or acting on the URL's before they are tested against this rule?
Skip the first post I made. I got help from another person and he made a full script for me to handle my URLs.
I currently have these:
If I get the script to work the URL will be:
It is this from the .htaccess that is not working:
I have no other rules in that nor in the httpd.conf.
The guy who helped me has made a file called play which has a PHP script.
I hope you understand more now, sorry but I am new to this.
You say if the script works the URL will be this:
Is the script going to create the URL?
As far as the force application type, don't use this much myself, but here's a couple of things to try: (please, keep in mind /page/ is a directory, not technically a file)
Hope this give you some ideas...
Also see: [httpd.apache.org...]