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

New reply    


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]

Reply in quote Reply    


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

90996e4d Is not a good idea to change this newEntry, i confirm wink

Reply in quote Reply    


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

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

Reply in quote Reply    


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.

Reply in quote Reply    




See their activity.

Fred#4346f29d Saturday 17th June 2017, 09:27:49

AlexanderLiebrecht 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

Before ask a question, read the doc.

Sign plugin

Reply in quote Reply    


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.

Reply in quote Reply    

Suggested Topics View / Reply Forum
0b8894 started Custom avatars 84 / 3 General Questions
Cyrille BORNE started 🇫🇷 Quelques remarques 348 / 21 International Discussions
#740b1 started Name Too short / long 173 / 4 General Questions
PI started New pages 72 / 2 General Questions