Search Engine friendly URLs for Flatboard

AlexanderLiebrecht Friday 16th June 2017, 10:52:56

Search Engine friendly URLs for Flatboard

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: Friday 16th June 2017, 10:53:24

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 wink

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.



See their activity.

Fred#4346f29d 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: Saturday 17th June 2017, 09:31:30

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 smile 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.
Suggested Topics View / Reply Forum
14574895 started [Idea] Search and Quotes 57 / 3 Feature Requests
Fred#f8768 started Flatboard 1.0 RC2 531 / 5 Announcements
hmmy 🐝 started Infitite Scroll + Timeline Slider 204 / 3 Feature Requests
AlexanderLiebrecht started plugin Contact Form for Flatboard Forum as a Plugin 36 / 1 Feature Requests