Search Engine friendly URLs for Flatboard

Search Engine friendly URLs for Flatboard
AlexanderLiebrecht Friday 16th June 2017, 10:52:56

Hello Fred,

Thank you for your previous work and the further development of Flatboard. Today I have 2 feature requests to you and you can see if this is realizable.

I'm looking for search engine friendly URLs for flatboard.

Would that be possible, because that would be optimal in the direction of search engines like Google and Co. If in the forum URLs and the threads of the title of the posts would emerge, it would be ideally very good.

I do not know if this is your turnable.

Thanks in advance.

Last modified by AlexanderLiebrecht on Friday 16th June 2017, 10:53:00

Replies 7
90996e4d  Friday 16th June 2017, 16:49:09

You can change this in lib/Flatdb.lib.php to get a "2017-01-07" format (without the trip).  This is not good thought, a post will overwrite the first.

public static function newEntry()
return date('Y-m-d');

To get view.php out of URL, see htaccess example below.  I believe you need to make edits to other files and remove the view.php...Not sure though.

# 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]

9158c93e  Friday 16th June 2017, 20:09:15

  Is not a good idea to change this newEntry, i confirm ;)

3468af2b  Friday 16th June 2017, 21:43:46

  I would agree, I changed this and broke the script.  I am sure you can make it like below (just don't know how).

AlexanderLiebrecht  Friday 16th June 2017, 23:24:45

Thanks for your hints and tips. This is actually that it breaks the script.
A new forum URL in the Flatboard Forum now has SEO URLs, but the threads do not.
.htaccess I have in the root directory.
I have only changed with "NewEntry" and am now already satisfied. Thus, a new URL has no appendage at the back.
This looks so and the old URLs are after the old format.

View.php, the script also breaks.

Fred  Saturday 17th June 2017, 09:27:49

  What happens if so many people send discussions the same day?
To return to the request, I do not see how a search engine will not reference the URLs of Flatboard?
The main and loading pages and quality of content ...

Last modified by Fred on Saturday 17th June 2017, 09:31:00
  • Before ask a question, read the documentation.
  • 🎉  Featured as #1 product of the day on Product Hunt
  • Please like in 👍🏻
  • ╰☆╮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 😫.

AlexanderLiebrecht  Saturday 17th June 2017, 11:45:24

I know this as a webmaster. Google is almost no matter the URLs and only the content in the forum plays a much more important role. Therefore, I leave it with it and that is no problem.

Yes, there were many users yesterday here in the forum, so a lot has been posted :) Feedback, what you need!

A German user once again asked me if you would be notified of any topic replies by e-mail. Forums and threads, we can subscribe yes, but many are the mail subscription function accustomed.

232da18a  Monday 13th August 2018, 22:02:32

I too would like to see a perma link structure for the urls.  This allows for a better organic search ranking and google prefers it.