1 (edited by flx 2005-05-01 10:49)

Topic: nice urls / mod_rewrite / seo

Hello,
i want to release my first mod to the community.
Search Engines like Google don't like URLs like:
viewtopic.php?id=123
With my mod the URLs look like:
heading-of-the-topic-vt123.php

Profiles are flx-vp123.php

To avoid duplicate content lots of things are disallowed in robots.txt.

You can see this mod in action on http://www.html-forum.net (german)
robots.txt is here.

Installation will probably take ~5 minutes.

It will be released tomorrow.

I'd like some feedback wink

Greetz,
flx

Re: nice urls / mod_rewrite / seo

btw google is fine with punbb urls its ones with session ids it doesn't like

looks good though i don't think anyone has tried to include the topic name in the url yet, you've missed a few things though, the links on each post with the post id, and what about post.php and search.php and stuff

3 (edited by flx 2005-05-01 10:49)

Re: nice urls / mod_rewrite / seo

thats excluded in robots.txt.

the links on each post are difficult because you must get the topic name. when you name it today-12-38-28-vt123.php#p123, you have got duplicate content with nice-urls-mod-rewrite-seo-vt123.php

do you want post.php indexed? why?

search.php is worth thinking and i think i'll fix it tomorrow.

Greetz,
flx

Re: nice urls / mod_rewrite / seo

i don't want it indexed, but i think it looks bad if some urls are in one style and others are in another

Re: nice urls / mod_rewrite / seo

FYI, the new URI structure that Rickard has implemented in 1.3 is very well done. While Rickard's implementation does not include the topic name in the URI (as Connor already pointed out), it is still a flexible and well-built design. I suppose this mod might be useful for those don't plan on upgrading to 1.3, but otherwise I think the URI structure in 1.3 pretty much obviates the need for this mod.

6

Re: nice urls / mod_rewrite / seo

it is nearly proven that google sorts pages which have got the search keywords in the url higher than others. i think that keyword urls play a big role in sorting the pages.
i used phpBB nearly 2 years and made good experiences with keyword urls there.

i changed my opinion of editing urls for post.php and search.php. i think it's better to optimize the link structure by adding a similar topics mod.
so installation of this mod will only take ~5min.

Greetz,
flx

7

Re: nice urls / mod_rewrite / seo

Is this released?

8

Re: nice urls / mod_rewrite / seo

no sad. im a bit busy this week. i'll release it sometime till wednesday wink

Re: nice urls / mod_rewrite / seo

and do u have a solution for this too ?
.... /forum/viewtopic.php?id=24&p=2  ?

on your forum u dont have threads with 2-3..  pages

10

Re: nice urls / mod_rewrite / seo

i like something like .../forum/topic-24-2.html

11

Re: nice urls / mod_rewrite / seo

Hey, sorry to drudge up an old thread, but was this mod ever released either here or elsewhere? I'd love to be able to make SE friendly URLs out of punBB URLs. Thanks!

12

Re: nice urls / mod_rewrite / seo

no, never released, due to problems with page numeration.
i wanted to wait for 1.3 but, well, it's not released yet

13

Re: nice urls / mod_rewrite / seo

I'd love nice URL rewrites too!

Re: nice urls / mod_rewrite / seo

I know im bringing up a dead post but did this get released?
Or is there another SEO mod for punbb out there?
Thankies =]

Re: nice urls / mod_rewrite / seo

Where is the Mod?

Re: nice urls / mod_rewrite / seo

Connorhd wrote:

btw google is fine with punbb urls its ones with session ids it doesn't like

looks good though i don't think anyone has tried to include the topic name in the url yet, you've missed a few things though, the links on each post with the post id, and what about post.php and search.php and stuff

You don't need keywords in the post URLs because post URLs are the same page as the topic URLs -- only positioned at the post. You're best bet is putting only the SEO friendly topic URLs (with PunRewrite installed) in your sitemap.xml. This way the search engines know the preferred URL for that page. The way they see it, the post URLs are duplicates of the topic URLs.

Re: nice urls / mod_rewrite / seo

For a search engine friendly posting in PunBB why dont you visit this page,
http://www.adminpick.com/punbb-forum-ho … dly/02/07/
He had done a great work for PunBB forum  smile

Re: nice urls / mod_rewrite / seo

For Vietnamese:
Copy file TextCode.class.php at root dir ( http://www.mediafire.com/?z1bp4oi5f4k22k4 )
Add: index.php, viewforum.php

require_once ("TextCode.class.php");

--------------Open Index.php------------
Find:

$forum_field = '<h3><a href="'.makeurl("f", $cur_forum['fid'], $cur_forum['forum_name']).'">'.pun_htmlspecialchars($cur_forum['forum_name']).'</a></h3>';

Replace:

        $forum_field = '<h3><a href="'.makeurl("f",$cur_forum['fid'],VSFTextCode::removeAccent($cur_forum['forum_name'],"-")).'">'.pun_htmlspecialchars($cur_forum['forum_name']).'</a></h3>';

Same for other file!
Visit: http://vechoden.com

Re: nice urls / mod_rewrite / seo

flx wrote:

Hello,
i want to release my first mod to the community.
Search Engines like Google don't like URLs like:
viewtopic.php?id=123
With my mod the URLs look like:
heading-of-the-topic-vt123.php

saadulla89 wrote:

Where is the Mod?

Profiles are flx-vp123.php

To avoid duplicate content lots of things are disallowed in robots.txt.

You can see this mod in action on http://www.html-forum.net (german)
robots.txt is here.

Installation will probably take ~5 minutes.

It will be released tomorrow.

I'd like some feedback wink

Greetz,
flx

i think i prefer dynamic url