ace_case
Member
- Messages
- 217
- Reaction score
- 11
- Points
- 18
I have 2 (nearly) identical .htaccess for my websites.
(http://freereads.x10.mx)
(http://gamersresttop.x10.mx)
When visiting http://freereads.x10.mx/story/4 it takes me to the books.php page (it is redirecting due to the id equaling nothing ("")). However when visiting http://gamersreststop.x10.mx/story/4 it outputs 4 on the page (it's a test script set to output $_GET['id']). Why are they not having the same behavior?
(I put it here since it works on one domain and not the other, and the freereads one is an addon domain.)
(http://freereads.x10.mx)
Code:
RewriteEngine On
RewriteRule ^story/([0-9]+) /read.php?id=$
ErrorDocument 404 /notfound.php
Code:
RewriteEngine On
RewriteRule ^story/([0-9]+) /read.php?id=$1
When visiting http://freereads.x10.mx/story/4 it takes me to the books.php page (it is redirecting due to the id equaling nothing ("")). However when visiting http://gamersreststop.x10.mx/story/4 it outputs 4 on the page (it's a test script set to output $_GET['id']). Why are they not having the same behavior?
(I put it here since it works on one domain and not the other, and the freereads one is an addon domain.)