URL Rewriting MOD

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The current feature release of phpBB 3 is 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
User avatar
Ger
Registered User
Posts: 293
Joined: Mon Jul 26, 2010 1:55 pm
Location: 192.168.1.100
Contact:

Re: URL Rewriting MOD

Post by Ger »

Highway of Life wrote:But this is not the case. Human Readable URLs mainly benefit Search Engines as added Keywords within the page, this only reinforces the keywords already set by the page and topic title, which Search Engines already use for the index.
Above message may contain errors in grammar, spelling or wrongly chosen words. This is because I'm not a native speaker. My apologies in advance.

Stoker
Registered User
Posts: 39
Joined: Sat Jun 20, 2009 8:15 pm

Re: URL Rewriting MOD

Post by Stoker »

Seems logical to use the topic title in title tag and as URL.

User avatar
callumacrae
Former Team Member
Posts: 1046
Joined: Tue Apr 27, 2010 9:37 am
Location: England
Contact:

Re: URL Rewriting MOD

Post by callumacrae »

This should definitely be kept as a MOD, in my opinion. If someone can point me to an SEO mod that is easy to use, compatible with other MODs etc, then I will change my mind. But I have not yet seen one.

~Callum
Made by developers, for developers!
My blog

User avatar
Sierron
Registered User
Posts: 62
Joined: Wed Aug 25, 2010 11:41 am
Contact:

Re: URL Rewriting MOD

Post by Sierron »

And if phpBB would get that SEO intigrated mod, many sites would need to almost rewrite everything to be compatible with the new SEO code in phpBB. I for one, don't have the time and the feeling to do this.

User avatar
Meis2M
Registered User
Posts: 451
Joined: Fri Apr 23, 2010 10:18 am
Contact:

Re: URL Rewriting MOD

Post by Meis2M »

use forums and topic name in url is good for seo.
for example
this address

Code: Select all

http://area51.phpbb.com/phpBB/viewforum.php?f=105
change to

Code: Select all

http://area51.phpbb.com/phpBB/[3.2/Arsia] Discussion-viewforum.php?f=105
or

Code: Select all

http://area51.phpbb.com/phpBB/[3.2/Arsia] Discussion-f105-viewforum.php
or

Code: Select all

http://area51.phpbb.com/phpBB/[3.2/Arsia] Discussion-f105.html
.html is so better than .php

User avatar
Ger
Registered User
Posts: 293
Joined: Mon Jul 26, 2010 1:55 pm
Location: 192.168.1.100
Contact:

Re: URL Rewriting MOD

Post by Ger »

Meis2M wrote:.html is so better than .php
Nonsense. Search engines couldn't care less about the extension.
Time to call in the Mythbusters:
Providing search engines with dynamic URLs should be favored over hiding parameters to make them look static.
We might have problems crawling and ranking your dynamic URLs if you try to make your urls look static and in the process hide parameters which offer the Googlebot valuable information. One recommendation is to avoid reformatting a dynamic URL to make it look static.
If you transform your dynamic URL to make it look static you should be aware that we might not be able to interpret the information correctly in all cases.
URL rewriting is only beneficial for humans. That's why we call them human readable URL's. It has nothing to do with SEO.
Above message may contain errors in grammar, spelling or wrongly chosen words. This is because I'm not a native speaker. My apologies in advance.

keith10456
Registered User
Posts: 523
Joined: Sat Apr 22, 2006 10:29 pm
Contact:

Re: URL Rewriting MOD

Post by keith10456 »

callumacrae wrote:This should definitely be kept as a MOD, in my opinion. If someone can point me to an SEO mod that is easy to use, compatible with other MODs etc, then I will change my mind. But I have not yet seen one.

~Callum
So if a SEO mod is not compatible with other mods or not easy to use then the feature shouldn't be added to the core? Is that what you're saying?

Just because someone hasn't been able to write a proper mod for a feature doesn't mean it won't be a good addition to the overall package and/or community. The mod might be bad but the idea could be great.

I'm not totally convinced that phpbb needs a SEO in the core. Google has no problem reading the URL's in my sitemap... Which is why I'm leaning more to having a Sitemap generator in the core.
Last edited by keith10456 on Fri Sep 24, 2010 2:13 pm, edited 1 time in total.

/a3
Registered User
Posts: 97
Joined: Mon Sep 20, 2010 6:44 am

Re: URL Rewriting MOD

Post by /a3 »

Meis2M wrote:use forums and topic name in url is good for seo.
for example
this address

Code: Select all

http://area51.phpbb.com/phpBB/viewforum.php?f=105
change to

Code: Select all

http://area51.phpbb.com/phpBB/[3.2/Arsia] Discussion-viewforum.php?f=105
or

Code: Select all

http://area51.phpbb.com/phpBB/[3.2/Arsia] Discussion-f105-viewforum.php
or

Code: Select all

http://area51.phpbb.com/phpBB/[3.2/Arsia] Discussion-f105.html
.html is so better than .php
But spaces in URLs will be URL-encoded to %20.

So your last example would look more like

Code: Select all

http://area51.phpbb.com/phpBB/[3.2/Arsia]%20Discussion-f105.html
It doesn't really make much sense to me because either way you still have the number 105 in it. So it really isn't much more human readable.

As for SEO, if a topic is renamed then there will be two URLs which point to the same topic. And we all know that duplicates are bad for "Google SEO"... don't we? ;)
$ git commit -m "YOLO"

Nelsaidi
Registered User
Posts: 122
Joined: Tue Nov 11, 2008 5:44 pm

Re: URL Rewriting MOD

Post by Nelsaidi »

The old URL you HTTP302 redirect which is a permanent change of URL, so long as only one actualy URL exists and all other URLs to the content redirect with status 302 to the new URL its fine.

Using %20 in urls is bad, it would be dashes (-)

Rotsblok
Registered User
Posts: 325
Joined: Mon Nov 14, 2005 12:21 pm
Location: x= y+1

Re: URL Rewriting MOD

Post by Rotsblok »

What about using special characters in you topic title... that would be fun i guess, since url's dont really like them..

like ë, é, è, ç, ê etc...
ø = 1.618033988749895...
Everything has ø in it

Post Reply