MyBB Community Forums

Full Version: New SEF link structure - Preview ( SEO Module )
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I've started to do a new SEO module for MyBB. First demo is ready.

Forum and thread links supported.


http://site.com/category/forum/thread.html
http://site.com/category/forum/
http://site.com/category/


Online preview ( Not demo site ) :
---- deleted ---

I'll add same content ( title ) control function.

Thanks for ideas and suggestions... Regards
Wouldn't be easier to fork the already too popularized Google SEO plugin?
(2015-03-12, 03:54 PM)OmarĀ G. Wrote: [ -> ]Wouldn't be easier to fork the already too popularized Google SEO plugin?

Thanks Omar.. for comment. But it has more clean URLs. Not include thread, forum words or shortcuts.
Eg: f-general/t-welcome.html ( Google SEO )
Eg: general/welcome.html ( My SEO plugin )
I think those are achievable with some edits in Google SEO. Just saying that it would be easier to fork it, edit it to your needs, and release.

Instead of writing from scratch. Anyways, it is up to you, luck.
You can do general/welcome.html with Google SEO, it's just a setting after all. As long as no other URLs on your site cause conflicts with it...

The problems are elsewhere ( / in URL causes no end of problems with MyBB's relative URLs ). It seems you've done some effort to fix some of these issues [not sure how you do it - template changes? process the entire html output? neither is sufficient], but they're still there on your demo site... for example clicking on the star rating of your thread gives a 404 error.

it looks for http://meizudestek.com/meizu-mx4/nereden...s/star.png - which does not exist

it tries to POST http://meizudestek.com/meizu-mx4/nereden...3&rating=3 - which does not exist, either

Getting these directory style URLs to work is a pain. MyBB just isn't made for it.
We did some effort to remove relative paths from images in 1.8. The $theme array is proccesses and the bburl is prefixed to the imgdir/lang values.

Relative paths to files can be achieved editing templates, but you are correct those should be default yes.