[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
Locked
helmi
Registered User
Posts: 4
Joined: Sat Jan 08, 2005 1:17 pm
Contact:

Re: [RC1] Search Engine Friendly (SEO) URLs 1.0.0

Post by helmi »

Hi,

what does it mean when you say it works with utf-8 characters? What does it do to special characters?

Example:

ä -> should be ae not just a
ü -> should be ue not just u

How about other characters?

I just checked your demo installation and saw it doesn't remove Session IDs - do they get removed for search engine bots? otherwised it would be kind of nonsense even if they're integrated in the SEO-URLs. I'm kinda surprised i even see SIDs as i allow Session Cookies in my Browser, but that's surely a phpBB issue, not one of your MOD.
User avatar
Handyman`
Former Team Member
Posts: 1751
Joined: Thu Feb 03, 2005 8:44 pm
Contact:

Re: [RC1] Search Engine Friendly (SEO) URLs 1.0.0

Post by Handyman` »

helmi wrote:Hi,

what does it mean when you say it works with utf-8 characters? What does it do to special characters?

Example:

ä -> should be ae not just a
ü -> should be ue not just u

How about other characters?
I do not replace any characters… replacing those characters works fine for those characters, but causes problems with other languages and since browsers (i.e. Safari) are starting to support utf8 characters in the url, I like to leave it utf8 compatible :)
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)
helmi
Registered User
Posts: 4
Joined: Sat Jan 08, 2005 1:17 pm
Contact:

Re: [RC1] Search Engine Friendly (SEO) URLs 1.0.0

Post by helmi »

hmm okay but utf-8 means ugly and unreadable :(
User avatar
Minoesj
Registered User
Posts: 158
Joined: Thu Feb 13, 2003 2:39 pm
Location: Belgium
Contact:

Re: [RC1] Search Engine Friendly (SEO) URLs 1.0.0

Post by Minoesj »

abcEzy wrote:Hmm, I guess the answer is no. :(

From what I have read ALL of the mods todate will not work with the RC7 release.

Handyman, will you be making the mod for the new version of PHPBB3?

If so, could you make it so the spaces between words and any odd characters are replaced with a hyphen please. Google is unable to differentiate words like:

howdotosearchengineoptimzationforonpageandoffpage

It'll only show the title and the description text and not the text in the url itself.

Thanks. :)

E
Any update on this?
splitice
Registered User
Posts: 104
Joined: Mon Oct 29, 2007 6:00 am

Re: [RC1] Search Engine Friendly (SEO) URLs 1.0.0

Post by splitice »

A release for RC7 would be nice.
User avatar
Handyman`
Former Team Member
Posts: 1751
Joined: Thu Feb 03, 2005 8:44 pm
Contact:

Re: [RC1] Search Engine Friendly (SEO) URLs 1.0.0

Post by Handyman` »

splitice wrote:A release for RC7 would be nice.
yeah… would be nice.

On second thought, … wait…………………………………

ok, updated to RC4 :)
Update instructions will be on the first page in just a minute.
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)
mre03
Registered User
Posts: 149
Joined: Mon Apr 05, 2004 12:02 pm

Re: [RC1] Search Engine Friendly (SEO) URLs 1.0.0

Post by mre03 »

got it to work so far on RC7, been wanting this mod for a while, thanks for updating it and working on making this mod, very much appreciated for your work and efforts sir! :mrgreen:
flipper242
Registered User
Posts: 7
Joined: Thu Jun 28, 2007 12:33 am
Location: Hamburg- Germany
Contact:

Re: [RC1] Search Engine Friendly (SEO) URLs 1.0.0

Post by flipper242 »

whats with the "Mark forums read" on the index page ?? it links to the index page, with this seo mod on my board.

my changes to make it work... but i think you can make it better than the following rough code:

root/index.php replace

Code: Select all

find:
'U_MARK_FORUMS'		=> ($user->data['is_registered'] || $config['load_anon_lastread']) ? append_sid("{$phpbb_root_path}index.$phpEx", 'mark=forums') : '',

relaced with
'U_MARK_FORUMS'		=> ($user->data['is_registered'] || $config['load_anon_lastread']) ? format_url('index', 'i' . $root_data['forum_id'], 0, "mark=forums") : '',
root/includes/functions_seo.php add after

Code: Select all


find:
case 'f':
			if ($append)
			{
				return append_seo_sid($phpbb_root_path . $name . '-' . $id . (($start) ? "s$start" : '') . $ext, $xtra_params);
			}
		break;
		

add after:
		case 'i':
			if ($append)
			{
				return append_seo_sid($phpbb_root_path . $name . '-' . $id . (($start) ? "s$start" : '') . $ext, $xtra_params);
			}
		break;

.htaccess

add

Code: Select all

Rewriterule ^(.+)-i([0-9]*).html-(.+)$				/forum/index.php?$3
Last edited by flipper242 on Sun Nov 11, 2007 12:16 pm, edited 1 time in total.
User avatar
IHMUN
Registered User
Posts: 138
Joined: Tue Jun 26, 2007 11:10 pm

Re: [RC1] Search Engine Friendly (SEO) URLs 1.0.0

Post by IHMUN »

After installing the mod, posting.php still redirects to viewtopic.php?f=x&t=x, etc. I checked over all my edits and they seem fine.

Edit: It just seemed to happen on my localhost. It works fine on My live site.
yaw_pakhtoon
Registered User
Posts: 107
Joined: Wed Sep 12, 2007 12:18 am

Re: [RC1] Search Engine Friendly (SEO) URLs 1.0.0

Post by yaw_pakhtoon »

when it says Search Engine Friendly does this mean that it will have better results in search engines.. :?:
Image
splitice
Registered User
Posts: 104
Joined: Mon Oct 29, 2007 6:00 am

Re: [RC1] Search Engine Friendly (SEO) URLs 1.0.0

Post by splitice »

I think it would
User avatar
Libor
Registered User
Posts: 33
Joined: Tue Jul 03, 2007 8:12 pm

Re: [RC1] Search Engine Friendly (SEO) URLs 1.0.0

Post by Libor »

Works fine,
but what i must change, if i want czech characters as ěščřž... change to escrz... (these characters looks bad in browsers, for example ř = %C5%99).
Thanks
My czech forum about mp3 players: http://www.mujprehravac.cz/forum/
I use many of items here in forum. Thanks all for help and mods.
User avatar
Handyman`
Former Team Member
Posts: 1751
Joined: Thu Feb 03, 2005 8:44 pm
Contact:

Re: [RC1] Search Engine Friendly (SEO) URLs 1.0.0

Post by Handyman` »

Libor wrote:Works fine,
but what i must change, if i want czech characters as ěščřž... change to escrz... (these characters looks bad in browsers, for example ř = %C5%99).
Thanks
I'm not going to change them as it caused some issues in a previous version with other languages.
Also, browsers are starting to support utf8 (Safari, Opera, FireFox3)
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
Libor
Registered User
Posts: 33
Joined: Tue Jul 03, 2007 8:12 pm

Re: [RC1] Search Engine Friendly (SEO) URLs 1.0.0

Post by Libor »

Handyman` wrote:I'm not going to change them as it caused some issues in a previous version with other languages.
Also, browsers are starting to support utf8 (Safari, Opera, FireFox3)
And do you know how to change them? I need only change few characters.
My czech forum about mp3 players: http://www.mujprehravac.cz/forum/
I use many of items here in forum. Thanks all for help and mods.
User avatar
Minoesj
Registered User
Posts: 158
Joined: Thu Feb 13, 2003 2:39 pm
Location: Belgium
Contact:

Re: [RC1] Search Engine Friendly (SEO) URLs 1.0.0

Post by Minoesj »

mre03 wrote:got it to work so far on RC7, been wanting this mod for a while, thanks for updating it and working on making this mod, very much appreciated for your work and efforts sir! :mrgreen:
So does it now work on RC7? Or did you need to change something to get it to work?

Thanks
Animal Rights Concerns offering Animal Rights and Vegan Resources.
Go Vegan and start a more compassionate lifestyle today!
Locked

Return to “[3.0.x] MODs in Development”