May 23, 2012, 11:05:04 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Check your Page Rank, Backlinks, or Link Popularity in our tools section.
 
  Home   Forum   Help Search Directory Calendar Login Register    RSS 2.0 feedAtom feed


News
Check your Page Rank, Backlinks, or Link Popularity in our tools section.
Pages: [1]
  Print  
Author Topic:

How to test seo4smf on your site !

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

Points: 202
Offline Offline

Posts: 2570



WWW
« on: November 01, 2006, 02:40:23 »

Hi,

 Probably most of you are trying to see if seo4smf is fully working for it's forum. Just following the next steps to see if is working (after a successful install):

1. http://www.your-forum.com/sitemap.xml - you need to get a google sitemap
2. http://www.your-forum.com/urllist.txt - you need to get a yahoo sitemap
3. http://www.your-forum.com/index.php?board=1.0 - you will need to get a 301 redirect to a nice url Smiley
4. http://www.your-forum.com/index.php?topic=1.0 - you will need to get a 301 redirect to a nice url Smiley
5. http://www.your-forum.com/index.php/board,1.0.html - you will need to get a 301 redirect to a nice url Smiley
6. http://www.your-forum.com/index.php/topic,1.0.html - you will need to get a 301 redirect to a nice url Smiley
7. browse your site. Smiley

If you get an error just post on forum your url with problem and I will look asap !

Regards
Logged



haxen
Jr. Member
**

Points: 0
Offline Offline

Posts: 10


« Reply #1 on: December 29, 2006, 19:52:57 »

Hello Godfather of SEO4SMF!

First off, I love this mod.  I have a couple of problems with SEO and my site at http://www.ps3hax.com

This has TP .97 and SMF 1.1.1

Here are my results:

1. http://www.ps3hax.com/sitemap.xml - works great  Smiley
2. http://www.ps3hax.com/urllist.txt -  works Smiley
3. http://www.ps3hax.com/index.php?board=2.0 - redirects to nice url  Smiley
4. http://www.ps3hax.com/index.php?topic=10.0 - redirects to a nice url  Smiley
5. http://www.ps3hax.com/index.php/board,2.0.html - does not redirect to nice url    Huh?
6. http://www.ps3hax.com/index.php/topic,10.0.html - does not redirect to nice url  Huh?

Also, my social bookmarks are turned on in Admin panel, but do not show on posts.
Any ideas?  thanks.
« Last Edit: December 29, 2006, 19:55:00 by haxen » Logged
TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #2 on: December 29, 2006, 22:43:50 »

I think you doesn't enable "Queryless url's" from Features and options or you are running php_cgi on that server. Just tell me if you have that option enable and what version of php you are running.

Regards
Logged

haxen
Jr. Member
**

Points: 0
Offline Offline

Posts: 10


« Reply #3 on: December 30, 2006, 01:59:33 »

Yes, I have "Queryless url's" enabled and it looks like the PHP is running from CGI on the apache server. 

I changed the QueryString.php as suggested by you in another thread and am still getting this problem. 

I inserted cgi.fix_pathinfo=1 and commented out doc_root in php.ini

My error log is showing 4 SQL errors everytime I click on the forum (action=forum) :

http://www.ps3hax.com/index.php?action=forum 
512: SQL Query for Topic topic_id=27
File: /home/deepstac/public_html/ps3hax/Sources/Subs.php
Line: 3960

http://www.ps3hax.com/index.php?action=forum 
512: SQL Query for Topic topic_id=30
File: /home/deepstac/public_html/ps3hax/Sources/Subs.php
Line: 3960

These errors show twice each.  Notice that they are showing SQL queries for topics 27 and 30 (which exist) when all i am doing is entering the forum.  How are these linked to action=forum?

I still do not get the nice urls for test 5 and test 6 above, and my social bookmarks do not show up.  All other tests seem to work fine.

But my error log is filling up everytime someone goes in the forum, so something is not quite right and I have applied all of the fixes suggested.  Any ideas or suggestions?  Do you want admin access to see what is going on?

many thanks. Marno

« Last Edit: December 30, 2006, 03:35:15 by haxen » Logged
TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #4 on: December 30, 2006, 08:58:46 »

Quote
SQL Query for Topic topic_id=30
is just debugging. will be fixed in version 0.2.1

I just registred in your forum and I see is working well with that exception.
please show me your htaccess file.

Regards
Logged

haxen
Jr. Member
**

Points: 0
Offline Offline

Posts: 10


« Reply #5 on: December 30, 2006, 10:35:17 »

Test 5 and 6 are working now but I am still getting the same log errors above every time I enter Forum.  If I remove Seo4SMF, I dont get the errors.  Is there something in the subs.php that we should look at? thankyou for your help

.htaccess contents:



RewriteEngine on

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

RewriteBase /

RewriteCond %{QUERY_STRING} ^topic=([0-9]*).([0-9]*)
RewriteRule  ^(.*)$ seo4smf-redirect.php?t=%1 [R=301,L]

RewriteCond %{QUERY_STRING} ^board=([0-9]*).([0-9]*)
RewriteRule  ^(.*)$ seo4smf-redirect.php?b=%1 [R=301,L]

RewriteCond %{QUERY_STRING} ^action=profile;u=([0-9]*);(.*)$
RewriteRule  ^(.*)$ seo4smf-redirect.php?u=%1;param=%2 [R=301,L]

RewriteCond %{QUERY_STRING} ^action=profile;u=([0-9]*)
RewriteRule  ^(.*)$ seo4smf-redirect.php?u=%1 [R=301,L]


RewriteCond %{QUERY_STRING} ^page=([0-9]*)
RewriteRule  ^(.*)$ seo4smf-redirect.php?p=%1 [R=301,L]

#Rewrite Old urls
RewriteRule  ^index.php/board,(.*).html seo4smf-redirect.php?b=$1 [R=301,L]
RewriteRule  ^index.php/board,(.*).html;(.*) seo4smf-redirect.php?b=$1&o=$2 [R=301,L]

RewriteRule  ^index.php/topic,(.*).html seo4smf-redirect.php?t=$1 [R=301,L]
RewriteRule  ^index.php/topic,(.*).html;(.*) seo4smf-redirect.php?t=$1&o=$2 [R=301,L]

#Bad Url's
#RewriteRule  ^(.*)/-t(.*).html seo4smf-redirect.php?t=$2 [R=301,L]
#RewriteRule  ^-b(.*)/$ seo4smf-redirect.php?b=$1 [R=301,L]

#New board URL's
RewriteRule ^(.*)-b([0-9]*).([0-9]*)/;(.*) index.php?dummy=1&board=$2.$3&$4 [L]
RewriteRule ^(.*)-b([0-9]*).([0-9]*)/ index.php?dummy=1&board=$2.$3 [L]
RewriteRule ^(.*)-b([0-9]*).([0-9]) index.php?dummy=1&board=$2.$3 [L]

#New topic URL's
RewriteRule ^(.*)-t([0-9]*).([0-9]*).html;((\?:from|msg|new)[0-9]*);(.*)$ index.php?dummy=1&topic=$2.$4&$6 [L]
RewriteRule ^(.*)-t([0-9]*).([0-9]*).html;((\?:from|msg|new)[0-9]*) index.php?dummy=1&topic=$2.$4 [L]
RewriteRule ^(.*)-t([0-9]*).([0-9]*).html;(.*)$ index.php?dummy=1&topic=$2.$3&$4 [L]
RewriteRule ^(.*)-t([0-9]*).([0-9]*).html index.php?dummy=1&topic=$2.$3 [L]

#New profiles URL's
RewriteRule ^(.*)-u([0-9]*).html;sa,(.*);start,([0-9]*);delete,([0-9]*);sesc,([a-z0-9]*)$ index.php?dummy=1&action=profile;u=$2;sa=$3;start=$4;delete=$5;sesc=$6 [L]
RewriteRule ^(.*)-u([0-9]*).html;sa,(.*);start,([0-9]*)$ index.php?dummy=1&action=profile;u=$2;sa=$3;start=$4 [L]
RewriteRule ^(.*)-u([0-9]*).html;sa,(.*)$ index.php?dummy=1&action=profile;u=$2;sa=$3 [L]
RewriteRule ^(.*)-u([0-9]*).html index.php?dummy=1&action=profile;u=$2 [L]

#New Tinyportal Articles URL's
RewriteRule ^(.*)-p([0-9]*).html index.php?dummy=1&page=$2 [L]

RewriteRule sitemap.xml sitemaps.php [L]
RewriteRule urllist.txt urllist.php [L]
Logged
TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #6 on: December 30, 2006, 11:07:55 »

Test 5 and 6 are working now but I am still getting the same log errors above every time I enter Forum.  If I remove Seo4SMF, I dont get the errors.  Is there something in the subs.php that we should look at? thankyou for your help

Is just debugging !

Regards
Logged

haxen
Jr. Member
**

Points: 0
Offline Offline

Posts: 10


« Reply #7 on: December 30, 2006, 11:55:34 »

Thankyou Godfather!

But the social bookmarks do not appear.  Are they supposed to appear at the bottom of only new posts or all posts.  How about articles?

please advise.
Logged
TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #8 on: January 01, 2007, 11:12:24 »

hmmm strange ... I will look forward to see what is the problem ...

Regards
Logged

Pages: [1]
  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!