roelpaulo93
New Member
- Messages
- 17
- Reaction score
- 0
- Points
- 1
Hey guys, I just built my own CMS, It is written in PHP, I want to create permalinks by using .htaccess files. I've already made my .htaccess in my home server and it is going ok there... but when i put my .htaccess file in the public_html folder it says "Internal Server Error". my code in the .htaccess file goes like this:
RewriteEngine On
RewriteBase /
RewriteRule ^article/(.*)/(.*) index.php?article=$1&alias=$2 [L]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule . /index.php [L]
I do not know what to do because on my home server it is ok but when i put it here it gives me a 500 error... any help? this is my website: http://roelpaulo.tk. you will see the 500 here...
RewriteEngine On
RewriteBase /
RewriteRule ^article/(.*)/(.*) index.php?article=$1&alias=$2 [L]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule . /index.php [L]
I do not know what to do because on my home server it is ok but when i put it here it gives me a 500 error... any help? this is my website: http://roelpaulo.tk. you will see the 500 here...