[MODDB] Search Engine Friendly (SEO) URLs 1.0.0

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning

[MODDB] Search Engine Friendly (SEO) URLs 1.0.0

Postby Handyman` » Tue May 22, 2007 3:58 am

Classification: Mod
phpBB Part: Forum
MOD Name: Search Engine Friendly (SEO) URLs
MOD Version: 1.0.0 RC4
Author: Handyman
MOD Description: This mod changes viewforum and viewtopic links to be SEO Friendly

Works with:
  • phpBB 3.0.0 RC7
  • All styles

Language: English

Licence: GNU General Public License v2

Installation Level: Intermediate
Installation Time: ~15 Minutes
Format: MODX
Download File: http://startrekguide.bountysource.com/downloads
Bug Tracker: http://startrekguide.bountysource.com/development

Demo: http://startrekguide.com browse around to see it all. (Demo is not running RC4)

Do not post bug reports in this topic. Link for bug reports is posted right above the demo link

If you like my mods, please donate to StarTrekGuide

Note: Your server must be able to support mod_rewrite.
To test, do the first part of the installation only (.htaccess)
and put in a url like this -> forum/test-t1.html
if it shows topic does not exist or shows the topic, then you may continue installing this mod.
If it doesn't work, you will have to setup your apache to work with mod_rewrite before installing this mod

What's new in this version:
  1. URLs now look like this : forum/myforum-f1.html forum/search-engine-friendly-topic-t1.html
  2. Older format urls now have a 301 redirect to preserve any previous pagerank.
  3. Now uses MOD Version Check

Note: even though it has been requested many times to remove accented characters, it causes problems for other languages, so it has been removed in this version… also new browsers (Safari Windows/Mac) are starting to support UTF-8 characters, so might as well stay on the cutting edge.

My Mod Roadmap: http://startrekguide.com/forum/f100-mod ... html#p8507

to upgrade from RC1-RC3 to RC4
OPEN viewforum.php
FIND
Code: Select all
'U_LAST_POST'            => $view_topic_url . '&p=' . $row['topic_last_post_id'] . '#p' . $row['topic_last_post_id'],  

REPLACE WITH
Code: Select all
'U_LAST_POST'            => format_url($row['topic_title'], 'p' . $row['topic_last_post_id']),  


And copy over the files from the zip replacing the old ones.

Make sure to download MOD Version Check so you will be able to see when an update is available.
Last edited by Handyman` on Wed Oct 10, 2007 2:11 pm, edited 16 times in total.
http://startrekguide.com My Mod Queue || 1/16/10 Display Posts Anywhere 1.2.0 RC5, Cash MOD 1.0.0 b1, MOD Version Check, AJAX Chat, SEO MOD, AJAX QR, Photo Gallery
MOD Development Manager (version 0.2.0-dev with MODX Generator)
User avatar
Handyman`
QA Team
 
Posts: 1751
Joined: Thu Feb 03, 2005 8:44 pm

Re: [BETA] Search Engine Friendly (SEO) URLs

Postby snider » Thu May 24, 2007 11:19 am

I would be interested in the updated version, let me know !!
snider
Registered User
 
Posts: 43
Joined: Mon May 21, 2007 7:30 pm

Re: [BETA] Search Engine Friendly (SEO) URLs

Postby Handyman` » Thu May 24, 2007 10:48 pm

ugh! it's driving me nuts… I have it ready to go, I just need to install it and do a little more testing and package it… just takes more time than I've had available the last week :|
http://startrekguide.com My Mod Queue || 1/16/10 Display Posts Anywhere 1.2.0 RC5, Cash MOD 1.0.0 b1, MOD Version Check, AJAX Chat, SEO MOD, AJAX QR, Photo Gallery
MOD Development Manager (version 0.2.0-dev with MODX Generator)
User avatar
Handyman`
QA Team
 
Posts: 1751
Joined: Thu Feb 03, 2005 8:44 pm

Re: [BETA] Search Engine Friendly (SEO) URLs

Postby ac_roma » Fri May 25, 2007 12:40 am

its great

thanks :)
ac_roma
Registered User
 
Posts: 270
Joined: Thu Mar 08, 2007 2:48 pm
Location: egypt,alexandria

Re: [BETA] Search Engine Friendly (SEO) URLs

Postby Afrael » Sat May 26, 2007 12:56 pm

Hi. :)
I have a problem with this mod. :) When I'm installing it I can't find this line:
Code: Select all
$subforums_list .= '<a href="' . append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $subforum_id) . '">' . $subforum_row['name'] . '</a>';
in includes/functions_display.php
Is everything ok or it's my fault?
Greetings.
Afrael
Registered User
 
Posts: 4
Joined: Sat May 26, 2007 9:48 am

Re: [BETA] Search Engine Friendly (SEO) URLs

Postby Handyman` » Sat May 26, 2007 9:10 pm

hmm… seems I missed that part on my updated.
It's fixed in my latest version though… but I haven't had time to package it since I've had so much immediate demand for 2 other mods in development.

So here is the fix for that line:
FIND
Code: Select all
'link'        => append_sid("{$phpbb_root_path}viewforum.$phpEx"'f=' $subforum_id),  


REPLACE WITH
Code: Select all
'link'        => append_seo_sid("{$phpbb_root_path}f{$subforum_id}" format_url($subforum_row['name'])),  
http://startrekguide.com My Mod Queue || 1/16/10 Display Posts Anywhere 1.2.0 RC5, Cash MOD 1.0.0 b1, MOD Version Check, AJAX Chat, SEO MOD, AJAX QR, Photo Gallery
MOD Development Manager (version 0.2.0-dev with MODX Generator)
User avatar
Handyman`
QA Team
 
Posts: 1751
Joined: Thu Feb 03, 2005 8:44 pm

Re: [BETA] Search Engine Friendly (SEO) URLs

Postby Afrael » Sat May 26, 2007 10:32 pm

Big thanks for you. :) I'm going to testing it. :)
Greetings.

Edit.
mod_rewrite is ok but when i try to "click" on any link I have 404. :(
Afrael
Registered User
 
Posts: 4
Joined: Sat May 26, 2007 9:48 am

Re: [BETA] Search Engine Friendly (SEO) URLs

Postby Handyman` » Sun May 27, 2007 12:27 am

Afrael wrote:Big thanks for you. :) I'm going to testing it. :)
Greetings.

Edit.
mod_rewrite is ok but when i try to "click" on any link I have 404. :(

what do your links look like? can you post one here?
http://startrekguide.com My Mod Queue || 1/16/10 Display Posts Anywhere 1.2.0 RC5, Cash MOD 1.0.0 b1, MOD Version Check, AJAX Chat, SEO MOD, AJAX QR, Photo Gallery
MOD Development Manager (version 0.2.0-dev with MODX Generator)
User avatar
Handyman`
QA Team
 
Posts: 1751
Joined: Thu Feb 03, 2005 8:44 pm

Re: [BETA] Search Engine Friendly (SEO) URLs

Postby Afrael » Mon May 28, 2007 8:37 am

yes, of course, one link look like:
Code: Select all
http://localhost/~for/f2-test_forum_1.html

Greetings.
Afrael
Registered User
 
Posts: 4
Joined: Sat May 26, 2007 9:48 am

Re: [BETA] Search Engine Friendly (SEO) URLs

Postby SNNteh1st » Mon May 28, 2007 2:23 pm

Does anyone have a .htaccess made for lighttpd for this MOD?

Thanks,
SNN
SNNteh1st
Registered User
 
Posts: 8
Joined: Thu Jul 13, 2006 4:26 am

Re: [BETA] Search Engine Friendly (SEO) URLs

Postby dcz » Mon May 28, 2007 5:13 pm

Interesting.

That's funny we both choose the same name for the format_url() function, I see webmedic did inspire some of us :D

keep up the good work!

phpBB SEO || phpBB3 SEO Premod || SEO phpBB3
GYM Sitemaps & RSS for phpBB3: GYM Sitemaps & RSS
dcz
Registered User
 
Posts: 786
Joined: Sun Feb 13, 2005 5:37 am

Re: [BETA] Search Engine Friendly (SEO) URLs

Postby Handyman` » Mon May 28, 2007 7:23 pm

format_url? I didn't know somebody was using that already :lol:
http://startrekguide.com My Mod Queue || 1/16/10 Display Posts Anywhere 1.2.0 RC5, Cash MOD 1.0.0 b1, MOD Version Check, AJAX Chat, SEO MOD, AJAX QR, Photo Gallery
MOD Development Manager (version 0.2.0-dev with MODX Generator)
User avatar
Handyman`
QA Team
 
Posts: 1751
Joined: Thu Feb 03, 2005 8:44 pm

Re: [BETA] Search Engine Friendly (SEO) URLs

Postby dcz » Mon May 28, 2007 9:23 pm

No kidding :lol:
The funniest thing is I always wondered myself why I named my own version of the function this way, since it's more about title formatting than URL itself, but now, I'm convinced I did right, two brain cannot be wrong :mrgreen:

++

phpBB SEO || phpBB3 SEO Premod || SEO phpBB3
GYM Sitemaps & RSS for phpBB3: GYM Sitemaps & RSS
dcz
Registered User
 
Posts: 786
Joined: Sun Feb 13, 2005 5:37 am

Re: [BETA] Search Engine Friendly (SEO) URLs

Postby ac_roma » Mon May 28, 2007 9:26 pm

ok dcz please realease your mod and dont forget thr simple :D
ac_roma
Registered User
 
Posts: 270
Joined: Thu Mar 08, 2007 2:48 pm
Location: egypt,alexandria

Re: [BETA] Search Engine Friendly (SEO) URLs

Postby Afrael » Tue May 29, 2007 3:06 pm

Does somebody know how I can install this mod? :) It can by my apache fault? (I use a pack: http://www.WebServ.pl).
Afrael
Registered User
 
Posts: 4
Joined: Sat May 26, 2007 9:48 am

Next

Return to [3.0.x] MODs in Development

Who is online

Users browsing this forum: Paul and 24 guests