SEO mod/urls "light"?

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Suggested Hosts
Locked
olsserik
Registered User
Posts: 155
Joined: Tue Aug 21, 2007 6:18 am

SEO mod/urls "light"?

Post by olsserik » Sat May 23, 2015 1:28 pm

Hi,
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:

viewtopic.php?f=72&t=2317596

One suggestion could be a mod that extend this to:

viewtopic.php?f=72&t=2317596&e=seo-mod-urls-light

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

x.php?t=2317596&e=seo-mod-urls-light

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!

User avatar
Lumpy Burgertushie
Registered User
Posts: 66340
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: SEO mod/urls "light"?

Post by Lumpy Burgertushie » Sat May 23, 2015 2:57 pm

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.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

olsserik
Registered User
Posts: 155
Joined: Tue Aug 21, 2007 6:18 am

Re: SEO mod/urls "light"?

Post by olsserik » Sat May 23, 2015 6:11 pm

Hi,
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:

viewforum.php?f=72

And with this mod it would be:

viewforum.php?f=72?r=3-0-0-mod-requests

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%?

User avatar
AmigoJack
Registered User
Posts: 5588
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: SEO mod/urls "light"?

Post by AmigoJack » Tue May 26, 2015 2:28 pm

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:https://www.phpbb.com/community/viewforum.php?f=72?r=3-0-0-mod-requests
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. https://www.phpbb.com/community/viewforum.php?f=72&seo=Mine_is_the_longest. 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=https://www.phpbb.com/community/viewforum.php?f=72]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.
The worst thing about censorship is ███████████
Affin wrote:
Tue Nov 20, 2018 9:51 am
The problem is probably not my English but you do not want to understand correctly.
...
We will not come anybody anyway, nevertheless, it's best to shit this.

olsserik
Registered User
Posts: 155
Joined: Tue Aug 21, 2007 6:18 am

Re: SEO mod/urls "light"?

Post by olsserik » Wed May 27, 2015 11:01 am

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');
$db->sql_freeresult($result);
$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...

User avatar
AmigoJack
Registered User
Posts: 5588
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: SEO mod/urls "light"?

Post by AmigoJack » Wed May 27, 2015 1:26 pm

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...
The worst thing about censorship is ███████████
Affin wrote:
Tue Nov 20, 2018 9:51 am
The problem is probably not my English but you do not want to understand correctly.
...
We will not come anybody anyway, nevertheless, it's best to shit this.

Locked

Return to “[3.0.x] MOD Requests”