[SOLVED] URL Writing
![](https://flatboard.org/uploads/avatars/generates/a64a168d6x50dot.png)
solved URL Writing
4baea Friday 5th February 2016, 21:29:43Hi Dev,
You know how to make by removing **view.php** from url:
to
You know how to make by removing **view.php** from url:
https://flatboard.org/view.php/forum/2015-09-232343104e686
to
https://flatboard.org/forum/2015-09-232343104e686
4baea locked the discussion.
Replies 6
![](https://flatboard.org/uploads/avatars/generates/a64a168d6x50dot.png)
![Fred](https://flatboard.org/uploads/avatars/Fred_4346f29d.png)
Hi, in **lib/Flatdb.lib.php**, change the date format in newEntry():
public static function newEntry()
{
return date('Y-m-d');
}
- Before ask a question, read the documentation.
- 🎉 Featured as #1 product of the day on Product Hunt
- Please like in alternativeto.net 👍🏻
- ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
- <TextField>, my new CMS project designed by a passionate developer, for developers!
- I am currently busy 😫.
![](https://flatboard.org/uploads/avatars/generates/e99d85b55x50dot.png)
![Fred](https://flatboard.org/uploads/avatars/Fred_4346f29d.png)
It is the creation date of a discussion or reply.
This allows sorting by date as files, to have a subject or a single answer.
**view.php** is to separate the display of a discussion with his answers, view the plugin page, list the discussions of a forum.
This allows sorting by date as files, to have a subject or a single answer.
**view.php** is to separate the display of a discussion with his answers, view the plugin page, list the discussions of a forum.
- Before ask a question, read the documentation.
- 🎉 Featured as #1 product of the day on Product Hunt
- Please like in alternativeto.net 👍🏻
- ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
- <TextField>, my new CMS project designed by a passionate developer, for developers!
- I am currently busy 😫.
![](https://flatboard.org/uploads/avatars/generates/ebc75c7a3x50dot.png)
![Fred](https://flatboard.org/uploads/avatars/Fred_4346f29d.png)
The objective is precisely Flatboard be accessible without .htaccess and therefore for any server.
We can easily add rules in a .htaccess but you also modify all links in the script, which I would not touch this time. It will give them to each update.
**.htaccess example:**
Not tested!
We can easily add rules in a .htaccess but you also modify all links in the script, which I would not touch this time. It will give them to each update.
**.htaccess example:**
# The server must follow symbolic links :
Options +FollowSymlinks
# Enabling URL Rewrite Module :
RewriteEngine on
#--------------------------------------------------
# Rewrite Rules :
#--------------------------------------------------
# Discussion :
RewriteRule ^topic/([0-9]+)$ view.php/topic/$1/p/$2 [L]
# Forum :
RewriteRule ^forum/([0-9]+)$ view.php/forum/$1 [L]
Not tested!
- Before ask a question, read the documentation.
- 🎉 Featured as #1 product of the day on Product Hunt
- Please like in alternativeto.net 👍🏻
- ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
- <TextField>, my new CMS project designed by a passionate developer, for developers!
- I am currently busy 😫.
Suggested Topics
![kat](https://flatboard.org/uploads/avatars/kat_a82479f8.png)
kat@a82479f8
started something to make theming a little easier
Feature Requests
![Ben](https://flatboard.org/uploads/avatars/generates/6cb01ce90x50dot.png)
Ben@84171e7c
started solved Managed to Lock MySelf out of My Admin Account
Open Bar
![](https://flatboard.org/uploads/avatars/generates/9ad374ea9x50dot.png)
JPRuehmann
started 🇩🇪 Can´t Logout
Bug reports
![](https://flatboard.org/uploads/avatars/generates/ee3298ad7x50dot.png)
#740b1
started Name Too short / long
General Questions