I am hosting my website on a shared host, E-Dentify NL, but since they updated or at least did something with the server, the following doesn't work anymore:
www.ralphje.nl/download/file/1234 --> www.ralphje.nl/download.php?action=file&id=1234
while
www.ralphje.nl/download --> www.ralphje.nl/download.php
Still works.
This is my .htaccess that worked before but now doesn't work anymore. It seems that if I clear this complete .htaccess, the latest example still works. My host only refuses to fix the problem. Therefore I hope you can tell me the problem and I can pass this information to them. However, there's no .htacces above the public_html (till the highest level I can see, /home/ralphjenl/)
I hope someone recognises this problem and can help me.
www.ralphje.nl/download/file/1234 --> www.ralphje.nl/download.php?action=file&id=1234
while
www.ralphje.nl/download --> www.ralphje.nl/download.php
Still works.
This is my .htaccess that worked before but now doesn't work anymore. It seems that if I clear this complete .htaccess, the latest example still works. My host only refuses to fix the problem. Therefore I hope you can tell me the problem and I can pass this information to them. However, there's no .htacces above the public_html (till the highest level I can see, /home/ralphjenl/)
Code:
RewriteEngine on
RewriteBase /
(... part without any errors ...)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/([0-9-]+)/?$ $1.php?action=$2&id=$3
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/?$ $1.php?action=$2
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^([A-Za-z0-9-]+)/?$ $1.php
I hope someone recognises this problem and can help me.
Last edited: