2017-10-21, 08:26 PM
2017-10-21, 08:32 PM
Hello,
Add this code to your .htaccess file
Now to link to the page it should look like
Add this code to your .htaccess file
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
Now to link to the page it should look like
<a href="http://whatever.com/name" title="name">Name</a>
2017-10-21, 08:40 PM
(2017-10-21, 08:32 PM)Brian. Wrote: [ -> ]Hello,
Add this code to your .htaccess file
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.php [NC,L]
Now to link to the page it should look like
<a href="http://whatever.com/name" title="name">Name</a>
Thank you for ur awnser.
If im trying to visit the page without .php at the end it says:
Not Found
The requested URL /memberlist was not found on this server.
Apache/2.4.10 (Debian) Server at gtaem.ml Port 80
My .htaccess file is located at: /var/www/html
And it have permissions: 777
Still dont work. Can you help me?
My Website: http://gtaem.ml
2017-10-21, 08:43 PM
Add the .htaccess to your forum root
/forum/
That should work.
/forum/
That should work.