Search Engine friendly URLs for Flatboard
AlexanderLiebrecht
AlexanderLiebrecht
DISCUSSION OF ORIGIN

AlexanderLiebrecht

AlexanderLiebrecht Jun 16, '17 10:52 am

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: Jun 16, '17 10:53 am

New reply

DISCUSSION OF ORIGIN
identicon
90996e4d

identicon

90996e4d Jun 16, '17 4:49 pm

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

identicon
9158c93e

identicon

9158c93e Jun 16, '17 8:09 pm

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

Reply in quote Reply

identicon
3468af2b

identicon

3468af2b Jun 16, '17 9:43 pm

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).
http://flatboard.free.fr/topic/Search+Engine+friendly+URLs+for+Flatboard

Reply in quote Reply

AlexanderLiebrecht
AlexanderLiebrecht

AlexanderLiebrecht

AlexanderLiebrecht Jun 16, '17 11:24 pm

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.
https://flatboard.wpzweinull.ch/view.php/topic/2017-06-16

View.php, the script also breaks.

Reply in quote Reply

Fred_4346f29d
Fred#4346f29d

Administrator

Fred_4346f29d

Fred#4346f29d Jun 17, '17 9:27 am

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: Jun 17, '17 9:31 am

Reply in quote Reply

AlexanderLiebrecht
AlexanderLiebrecht

AlexanderLiebrecht

AlexanderLiebrecht Jun 17, '17 11:45 am

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
AlexanderLiebrecht started German Flag Feedback about Flatboard v1.0 RC 2 60 / 1 General Questions
AlexanderLiebrecht started Date in the topics does not match - v1.0 RC1 48 / 4 Bug reports
Alexander Liebrecht started solved How can I display forum icons 46 / 3 General Questions
Kat#b0d39 started Date format problem in config 144 / 7 Bug reports
Top