Page 1 of 1

SEO mod/urls "light"?

Posted: Sat May 23, 2015 1:28 pm
by olsserik
Is there a mod out there except the phpbb-seo "heavy" mod for injecting titles in url?

The heavy mod above is not an alternative for me, I´ve tried it but never got it to work properly.
I think however that injecting the title in the url would be an improvement for seo.

There is mainly viewtopic.php that is my concern, its the threads that leads traffic and adding title to url could boost seo.

This topic shows up something like:


One suggestion could be a mod that extend this to:


Another suggestion to boost keywords even more is to rename viewtopic and remove the forum, like:


Is there some mod already for this? If not, how would it be to build one?
I guess there is not so much work it, add an extra parameter in viewtopic and core file? and than fetch the title and strip it and build it up proper.
I think its not needed to rewrite any url at this point, as long as google, bing and so on, sees that there are words in the url that matches the titles it will use it.

Thanks in advance!

Re: SEO mod/urls "light"?

Posted: Sat May 23, 2015 2:57 pm
by Lumpy Burgertushie
and the benefit, if any, is so small that it is not worth the effort or the problems it causes down the line with updates etc.

it is also not trivial to write a MOD for this.


Re: SEO mod/urls "light"?

Posted: Sat May 23, 2015 6:11 pm
by olsserik
That is your opinion, mine is the opposite.

There are two main things I will accomplish with this.
The first is to gain boost in serp due to keywords in url. This is a little boost, still a boost though.
The second is keyword in links.
This is important, and it affects both outbound and inbound links.

Let´s say I want to link to the forum I made this thread in, without it would look like:


And with this mod it would be:


Keywords in link are well known to boost seo, don´t you agree on this Robert?

Yeh, but you can link like this you say:

MOD Request

I say, for sure. But how many persons do like that? 1%?

Re: SEO mod/urls "light"?

Posted: Tue May 26, 2015 2:28 pm
by AmigoJack
olsserik wrote:keyword in links
Links consist of addresses and captions. Most people confuse addresses with links, while you're free to give a link's caption the address aswell.
olsserik wrote:Let´s
That's an accent, not an apostroph. Most people confuse the keys or just don't know their existence at all.
olsserik wrote:
This address is faulty - only one question mark is expected as separator from the URI and its parameters.

And even then you're free to add whatever you want, as this board doesn't care for non-expected parameters. Do i.e. This approach however is prone to having several different URIs to the very same content, and that will earn you penalties by the search engines.
olsserik wrote:

Code: Select all

[url=]MOD Request[/url]
Do you now see the difference between "link", "address" and "caption"?
olsserik wrote:how many persons do like that? 1%?
How many persons actually understand the internet?

I fear this is not really helpful to you, but it should show that before touching SEO you should at least learn more basics. Last but not least: there are no threads here, only topics.

Re: SEO mod/urls "light"?

Posted: Wed May 27, 2015 11:01 am
by olsserik
AmigoJack wrote:How many persons actually understand the internet?
How many people gets inspired to evolve in forums when they get arrogant, off topic, comments?

Duplicate content I think can be handled with some code in viewtopic.php, here is one example:

Code: Select all

if ($topic_id && !$forum_id){
$sql = 'SELECT forum_id
        FROM ' . TOPICS_TABLE . "
        WHERE topic_id = $topic_id";
$result = $db->sql_query($sql);
$forum_it = (int) $db->sql_fetchfield('forum_id');
$view_topic_url_params = 'f=' . $forum_it . '&t=' . $topic_id;
if ($topic_id && $start){
$view_topic_url_params = 'f=' . $forum_it . '&t=' . $topic_id . '&start=' . $start;
$view_topic_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", $view_topic_url_params);
$view_topic_url = str_replace('&', '&', $view_topic_url);
header("HTTP/1.1 301 Moved Permanently");
header("Location:" . $view_topic_url);
header("Connection: close");
As a matter of fact I wonder if editing the code above could work to inject title in the url?
If anyone would like to help, I would be grateful, but please skip saucy comments...

Re: SEO mod/urls "light"?

Posted: Wed May 27, 2015 1:26 pm
by AmigoJack
Both wouldn't. Right now topics display by requesting a specific post or by requesting a topic: viewtopic.php?f=72&t=2317576 vs. viewtopic.php?p=14085681. And your "injection" would only affect viewing a topic - it wouldn't affect topic URIs in search results / subscription management / notification(e-mail)s...