March 20, 2010, 16:27:46 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Revenue sharing launched. This is offered as a "thank you" for being a member of webmasterstalks.com community! If you have an Adsense/Yahoo publisher account then you can start right away !
 
  Home   Forum   Help Search Directory Calendar Login Register    RSS 2.0 feedAtom feed


News
Revenue sharing launched. This is offered as a "thank you" for being a member of webmasterstalks.com community! If you have an Adsense/Yahoo publisher account then you can start right away !
IT Resources
Pages: [1] 2 3
  Print  
Author Topic:

Seo4SMF Introduction and bla bla

 (Read 15769 times)
0 Members and 1 Guest are viewing this topic.
TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2571



WWW
« on: October 30, 2006, 00:39:05 »

Introduction
============

If you found a bug or you want a new feature just contact me on this board http://www.webmasterstalks.com/seo_4_smf-b46.0/
This version of SEO for SMF is DOESN'T doing any MYSQL query and is based just on SMF variables.
I didn't hard test this version so please let me know if you have some BAD / GOOD experiences with it.

What is doing this mod for your forum ?
=====================================

1. It's adding beatifull urls. Your url will look like:
Board: http://www.forum-example.com/the-board-name-id/
Topic: http://www.forum-example.com/the-board-name/the-topic-name-id.html
2. Change your meta tags kewords and descriptions.
3. Create sitemap and url list for Google and Yahoo
4. Redirecting old pages (if you already had "Search engine friendly URLs") enabled.


Installation
============

Requirements
A working SMF 1.1RC3.
Apache with mod_rewrite enabled.

Optional
TinyPortal 0.96 mod installed.

Just install the mod from your admin section and add the content of htaccess.txt to your .htaccess or in your apache configuration.

Settings

You don't have anything to setup. Just enable "Search engine friendly URLs" from your admin area.
The mod is just beautifyng your urls, changeding your description and kewords metatags and creating a sitemap for google and yahoo.
The sitemap/urllist generator is based on SMF sitemap modified by Davilac (http://www.davilac.net)


Misc.
=====
Because I don't do any mysql query I was forced to preserve id of boards and topics on urls:

Board: http://www.forum-example.com/the-board-name-id/
Topic: http://www.forum-example.com/the-board-name/the-topic-name-id.html

but in this way is working vbSEO Smiley

Some apache servers need RewriteBase enabled in .htaccess. Delete # from start of RewriteBase to enable it.
If your forum is something like http://www.forum-example.com/forum then modify your
RewriteBase in this way: RewriteBase /forum

For apache 1.3 some default installations have AllowOveride default on 'None'. To work with .htaccess change AllowOveride from 'None' to 'All'.

Don't forget to rename htaccess.txt to .htaccess (or add to your existing .htaccess) or add it in your apache configuration.
For support just contact me on http://www.webmasterstalks.com/seo_4_smf-b46.0/

Uninstalling
============

Uninstalling is working corectly with just a minor glitch: Is removing some "\" from some source code.
You have 2 ways to correct this problem:

1. To solve this problem just look in QueryString.php and replace this line (after uninstalling the mod):
$buffer = preg_replace('/"' . preg_quote($scripturl, '/') . '\?((?:board|topic)=[^#"]+?)(#[^"]*?)?"/e', "'\"' . $scripturl . '/' . strtr('$1', '&;=', '//,') . '.html$2\"'", $buffer);
with
$buffer = preg_replace('/"' . preg_quote($scripturl, '/') . '\?((?:board|topic)=[^#"]+?)(#[^"]*?)?"/e', "'\"' . \$scripturl . '/' . strtr('\$1', '&;=', '//,') . '.html\$2\"'", $buffer);

2. Or before installing the mod just add in Subs-packages after: (line 1515)
                                           if (!$undo)
                                                        $working_search = $this_search;
                                                else
                                                        $working_search = $this_clean_search;

this line:
if ($undo)
$working_search = strtr($working_search, array('$' => '[$PACK' . 'AGE1$]', '\\' => '[$PACK' . 'AGE2$]'));

(I already sent this patch to SMF TEAM)

Regards
« Last Edit: October 31, 2006, 06:35:20 by TheGodFather » Logged



Harro
Full Member
***

Points: 2
Offline Offline

Posts: 184



« Reply #1 on: October 30, 2006, 15:40:13 »

Gonna give it a try on a test forum first.
But definatly a great mod!
SMF needed this mod already a long time ago Wink

Great work!
I'll let you know once I have it installed!
Logged

TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2571



WWW
« Reply #2 on: October 30, 2006, 15:42:20 »

ok! Harro ... contact me if you have some problems Smiley

Regards
Logged

none
Newbie
*

Points: 0
Offline Offline

Posts: 3


« Reply #3 on: November 06, 2006, 16:23:01 »

Hi there,Where I must found the link to activate the mod,

And thanks!
« Last Edit: November 06, 2006, 16:24:45 by none » Logged
none
Newbie
*

Points: 0
Offline Offline

Posts: 3


« Reply #4 on: November 06, 2006, 17:07:47 »

Hi again

I'm very rude working around the scripts.
But I want share my info after try to install the package. May be this can help someone... Or just your replies can help me! Smiley

  • I upload whitout problems the package (.0.1.6)
  • Trying to apply the package, there are a warning regarding the tinyportal option (I dont have installed it).
I just ignore this warning and apply the mod.
  • My forum report my that all is ok after apply the package...
  • but I cannot found a link on my admin section to enable the mod
  • I check the files on my server:
     -The urllist.php is a 0 bytes file
     -The seo4sfm-redirect.php is a 0 bytes file
     -The are not a sitemap.xml but a seo4smf.xml file (May be is the same, I dont know

Then:
-I upload manualy urlist (and overwritte the 0 byes file]
-I upload manualy the seo4sfm-redirect.php... Well I upload all files to my main dir... And the mod
run fine! (seems)

After see all run, I rename the seo4smf.xml file to sitemap.xml... Allthougt I'm not sure what is what I do! But the mod seems run fine

Thanks (and sorry for my "english")
« Last Edit: November 06, 2006, 17:14:37 by none » Logged
none
Newbie
*

Points: 0
Offline Offline

Posts: 3


« Reply #5 on: November 06, 2006, 17:14:02 »



You don't have anything to setup. Just enable "Search engine friendly URLs" from your admin area.


OK! sorry, just now I understand this line. There are no link to enable this mod! Ok! thanks again for the mod!
Logged
TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2571



WWW
« Reply #6 on: November 06, 2006, 17:55:09 »

Hi,

 The problem with 0 size file is because I made this files under linux ... If I create the same zip file unde windows all is working perfect. probably are some permissions problems in SMF.

Now the archive is changed !


Regards
« Last Edit: November 06, 2006, 18:06:04 by TheGodFather » Logged

Joseclone
Newbie
*

Points: 0
Offline Offline

Posts: 1


« Reply #7 on: December 05, 2006, 08:09:23 »

Hi,

I have been using this mod (Seo4SMF 0.2 RC4) on 1.1 RC3.  awesome work thanks.

do you know when it will be available for 1.1 Final ?


thanks
« Last Edit: December 05, 2006, 08:11:34 by Joseclone » Logged
TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2571



WWW
« Reply #8 on: December 05, 2006, 08:17:41 »

I'm glad is working for you to.
Are some rumors about 1.1 and release date in January Smiley

Regards
Logged

klaus2
Jr. Member
**

Points: 0
Offline Offline

Posts: 19


« Reply #9 on: December 05, 2006, 08:43:29 »

Hello my friend.

SMF 1.1 final is out now! Check it out.

Seo4SMF 0.2 RC4 not compatible. They have changed subs-package.php a lot.

But we overcomed utf8 so this will be easy. Wink

Logged
TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2571



WWW
« Reply #10 on: December 05, 2006, 08:47:34 »

In subs-package.php is just a small patch to help the uninstaller. Smiley

Anyway I will look forward to do this mod compatible with 1.1

Regards
Logged

klaus2
Jr. Member
**

Points: 0
Offline Offline

Posts: 19


« Reply #11 on: December 05, 2006, 10:53:36 »

Didn't the smf team already had solved that?

You mean we can just remove the change in the sub-package? It would not uninstall afterwords, right?
Logged
TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2571



WWW
« Reply #12 on: December 05, 2006, 11:37:06 »

I just checked on SMF 1.1 Final and Seo4SMF v0.2 RC5 and it's working great.

Regards
Logged

kazey
Jr. Member
**

Points: 0
Offline Offline

Posts: 8


« Reply #13 on: December 05, 2006, 11:47:49 »

I installed seo4smf , but the links come out out wierd. /general_discussion-b1.0/ and
/general_discussion/welcome_to_smf-t1.0.html
for example.

Any ideas how to fix it to avoid the inclusion of -b1.0 and the smf-t1.0 in the url?
Logged
klaus2
Jr. Member
**

Points: 0
Offline Offline

Posts: 19


« Reply #14 on: December 05, 2006, 11:59:19 »

kazey: you can't take that out. It's part of the id.

Great to know RC5 compatible SMF 1.1 is out!

You're fast! LOL. Thanks! (4me and 4all)
Logged
Pages: [1] 2 3
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
Valid XHTML 1.0! Valid CSS!