MyBB Community Forums

Full Version: Use Google SEO plugin to use /threads/ and /forum/
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm currently using the Google SEO plugin, but I've been wondering about something:

All the current forums/threads are being shown like this:

http://xxx.xxx.com/forum-forum-name-here
http://xxx.xxx.com/thread-thread-name-here

But I prefer having:

http://xxx.xxx.com/forum/forum-name-here
http://xxx.xxx.com/thread/thread-name-here

Or even better:

http://xxx.xxx.com/forum-name-here
http://xxx.xxx.com/thread-name-here

Is this possible? I personally don't like the - being added to thread names, it doesn't look good in my opinion.

If all not possible, what about:

http://xxx.xxx.com/ID-forum-name-here
http://xxx.xxx.com/ID-thread-name-here
(2012-01-17, 10:22 AM)FF|Skyrider Wrote: [ -> ]But I prefer having:

http://xxx.xxx.com/forum/forum-name-here
http://xxx.xxx.com/thread/thread-name-here

It's possible, if you're willing to deal with issues caused by such a folder structure. At the very least you'll need a <base> tag in the header so relative links won't go awry (by default MyBB would keep sending you to new subfolders like /forum/thread/forum/forum/thread/thread/thread/some-thread-name). Using <base> however comes with its own set of problems. See the documentation, there are some examples for using Google SEO with a folder structure.

(2012-01-17, 10:22 AM)FF|Skyrider Wrote: [ -> ]Or even better:

http://xxx.xxx.com/forum-name-here
http://xxx.xxx.com/thread-name-here

If all not possible, what about:

http://xxx.xxx.com/ID-forum-name-here
http://xxx.xxx.com/ID-thread-name-here

Both are not possible with Google SEO - the URL needs a unique identifier which makes it plain whether a URL is a forum, or thread, or whatever - which is missing in these two examples.

What you could do is a smaller identifier than the default Thread-, so e.g. you could use just t-, or if you prefer suffixes, you could use thread-name-here.t

Be careful about changing URL schemes - without proper identifiers you will end up with broken URLs.
Yea, I tried using a smaller identifier, but that still doesn't look too good. I own a vB forum with mod rewrite, which has the ability to use:

http://xxxx.com/forums/4-forum-name
http://xxxx.com/threads/152805-thread-name

With the numbers being the section/thread ID. I personally prefer this though, quite a shame this isn't possible.
The ID is quite useless if (at the point of rewrite) you don't know whether it's a forum id, thread id, member id, announcement id, event id, or what. Even with ID you'd need something to distinguish each type of URL from each other type. So while it is possible to put the ID in the URL (force uniquifier option) it does not change anything in regard to this issue.