MyBB Community Forums

Full Version: Configure search friendly URLs
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi,

I'm using

MyBB Version 1.8.11
PHP Version 7.0.17
SQL Engine MySQLi 5.6.23

C panel  Version 62.0 (build 17)
Theme
x3
Apache Version
2.2.31
PHP Version
5.3.29
MySQL Version
5.6.23-cll-lve
Architecture
x86_64
Operating System
Linux

I've tried enabling search engine friendly URLs in the admin panel, and have renamed the htaccess.txt file as per the instructions.

What I am getting now though are links like this

https://miichoice.co.uk/forum-7.html
https://miichoice.co.uk/thread-38.html
https://miichoice.co.uk/forum-32.html

This wasn't really what I was expecting to see and they aren't very descriptive as the process suggests they should be.

Any idea what may be going wrong? what else I need to do to get this working properly.

Thanks

BKS
You'll need to use the Google SEO plugin.
Thanks guys.

I was really hoping to avoid using plugins. I would rather put the relevant code into the right places. Is that really not viable?
(2017-04-06, 11:11 PM)bestkeptsecret Wrote: [ -> ]Thanks guys.

I was really hoping to avoid using plugins. I would rather put the relevant code into the right places. Is that really not viable?

Not really. The plugin system is designed *exactly* for this kind of thing. To allow users to extend their forum without making core edits. Embrace it.
Ok so I went with it and I now have descriptive URL's. Wink

I also edited my index page and added Meta description and tags, as well as an <h3> heading in the body so it sits just below the title. Consequence of the efforts are here - https://miichoice.co.uk/

My site is now appearing on the front pages of Google, Bing and Yahoo!!! under a search for 'UK Politics Forum'

I'd like to come up under more than just that search term, so I've still got a bit of work to do, but that's a massive step forward from where I was.

Thanks again for the guidance.
There is no way how to make it without a plugin -> use Google SEO - amazing plugin
@bestkeptsecret,

Thanks for your post!
After seeing your forum seo link I also added google seo plugin for mybb 1.8+
Now my forum url are title based and it is awesome.

Which kind of sitemap tool you use?
I created topics on my forum 5 days ago but google didn't crawl my pages yet.
my forum link: http://refbankers.com/forum

Site map: http://refbankers.com/forum/sitemap-index.xml

Please help me so that I can make google crawl my pages and index in search results as soon as I post.

Thank You!
(2017-05-16, 06:08 AM)c0nan Wrote: [ -> ]@bestkeptsecret,

Thanks for your post!
After seeing your forum seo link I also added google seo plugin for mybb 1.8+
Now my forum url are title based and it is awesome.

Which kind of sitemap tool you use?
I created topics on my forum 5 days ago but google didn't crawl my pages yet.
my forum link: http://refbankers.com/forum

Site map: http://refbankers.com/forum/sitemap.xml

Please help me so that I can make google crawl my pages and index in search results as soon as I post.

Thank You!

Google has crawled and indexed your pages. Check with site:refbankers.com/forum/

Use the sitemap option of the Google SEO plugin.

And @bestkeptsecret. it's better to replace the <h3> with <h1>
@Ashley1,

Thank You very much.

@Ashley1,

Can you please tell me how I can add <h1> heading in my content(threads) like @bestkeptsecret did.
Or if there is any plugin?

Thank You!
(2017-05-18, 05:13 AM)c0nan Wrote: [ -> ]@Ashley1,

Thank You very much.

@Ashley1,

Can you please tell me how I can add <h1> heading in my content(threads) like @bestkeptsecret did.
Or if there is any plugin?

Thank You!

The best place to add <h1> tags to threads is around the thread subject, so in the showthread template you can find:

{$thread['threadprefix']}{$thread['subject']}

and replace it with:

<h1>{$thread['threadprefix']}{$thread['subject']}</h1>
Pages: 1 2