9
   

phpBB Search Engine Optimization - Sessions, static ( SEO )

 
 
treelovinhippie
 
  1  
Wed 2 Aug, 2006 06:40 pm
Could someone let me know if there is a set of files I can use to simply overwrite the old files?
0 Replies
 
steffun00
 
  1  
Mon 7 Aug, 2006 05:51 am
I have a question :

Let's say my forum address is x.com
I have another domain y.com and I redirect to x.com with the option to remain y.com on the address bar. Is this a bad thing for google?
0 Replies
 
nims
 
  1  
Mon 14 Aug, 2006 06:51 am
Same 404 problem
Hi all !!

Attn: Craven

I applied the SEO 2.0.0 MOD and Mod_rewrite 1.0 to my forum.

Its working fine when user is logged in but to guest it gives an error 404 when guest clicks on the forum link. Mod_rewrite is changing the link to view forum as domain/forum/forum-2.html and for members the same link appears as domain/forum/viewforum.php?f=2

Can u kindly tell me where to look for the error... where did i go wrong.
I have uploaded the .htaccess file in forum folder.

I am using phpBB 2.0.21

regards,

Mak
0 Replies
 
affhelper
 
  1  
Tue 15 Aug, 2006 05:11 pm
Ok, I am having a problem with the rewritemod

After I add this:

if ( !$userdata['session_logged_in'] )
{
ob_start();
function replace_for_mod_rewrite(&$s)
{
$urlin =
array(
"'(?<!/)viewforum.php\?f=([0-9]*)&topicdays=([0-9]*)&start=([0-9]*)'",
"'(?<!/)viewforum.php\?f=([0-9]*)&mark=topics'",
"'(?<!/)viewtopic.php\?t=([0-9]*)&watch=topic*'",
"'(?<!/)viewtopic.php\?t=([0-9]*)&unwatch=topic*'",
"'(?<!/)viewtopic.php\?t=([0-9]*)&highlight=*'",
"'(?<!/)viewforum.php\?f=([0-9]*)'",
"'(?<!/)viewtopic.php\?t=([0-9]*)&view=previous'",
"'(?<!/)viewtopic.php\?t=([0-9]*)&view=next'",
"'(?<!/)viewtopic.php\?t=([0-9]*)&postdays=([0-9]*)&postorder=([a-zA-Z]*)&vote=viewresult'",
"'(?<!/)viewtopic.php\?t=([0-9]*)&postdays=([0-9]*)&postorder=([a-zA-Z]*)&start=([0-9]*)'",
"'(?<!/)viewtopic.php\?t=([0-9]*)&start=([0-9]*)&postdays=([0-9]*)&postorder=([a-zA-Z]*)&highlight=([a-zA-Z0-9]*)'",
"'(?<!/)viewtopic.php\?t=([0-9]*)&start=([0-9]*)'",
"'(?<!/)viewtopic.php\?t=([0-9]*)'",
"'(?<!/)viewtopic.php&p=([0-9]*)'",
"'(?<!/)viewtopic.php\?p=([0-9]*)'",
);
$urlout = array(
"topic-\\1-\\2-\\3.html",
"mark-forum\\1.html",
"updates-topic\\1.html",
"stop-updates-topic\\1.html",
"about\\1.html&highlight=\\2",
"forum-\\1.html",
"ptopic\\1.html",
"ntopic\\1.html",
"view-poll\\1-\\2-\\3.html",
"about\\1-\\2-\\3-\\4.html",
"about\\1.html",
"about\\1-\\2.html",
"about\\1.html",
"post-\\1.html",
"post-\\1.html",
);
$s = preg_replace($urlin, $urlout, $s);
return $s;
}
}

into the includes/page_header.php as described in the install file
I get 404 error if a Guest tries to enter the new html pages.

If I remove it then the forum works but no html pages are being generated.

Please can someone help me. I would really appreciate it.

Thank you for your time,
Pawel
0 Replies
 
gbh
 
  1  
Tue 15 Aug, 2006 10:48 pm
I just installed newest version of PHPBB and now I just installed easymod, however the first mod i try to install is yours, but it says.

Code:Critical Error

FIND FAILED: In file [index.php] could not find:

'<a>' . $forum_data[$j]['username'] . '</a> ';

MOD script line #91


Please help, I have been stuck on this for few days now. And, if I remove that in the .txt it comes up with lots more thhings it can not find! Crying or Very sad

It also seems that its not only me...
http://www.able2know.com/forums/viewtopic.php?t=77767&highlight=forumdata++username
0 Replies
 
gbh
 
  1  
Thu 17 Aug, 2006 03:36 am
Is any1 going to help me? Crying or Very sad
0 Replies
 
Craven de Kere
 
  1  
Thu 17 Aug, 2006 04:25 am
legalit wrote:
Hi there.
I'd like to only implement these items from the mod please:

Quote:
## 2) Make the date of the last post link to the last post like the icon did on index.php (Craven de Kere)
## 3) Unlink the username of the last post on index.php (Craven de Kere)
## 6) Unlink the username of the last post on viewforum.php (Craven de Kere)
## 8) Make the date of the last post link to the last post like the icon did on viewforum.php (Craven de Kere)
## 9) Unlink the author username on viewforum.php (Craven de Kere)
## 10) Remove signatures for guest views (Craven de Kere)
## 11) Remove avatars for guest views (Craven de Kere)
## 12) Remove personal info (Profile, IM, PM, AIM, etc) for guest views (darbyrob)
## 13) Unlink the username of the last post on search.php (Craven de Kere)
## 15) Make the date of the last post link to the last post like the icon did on search.php (Craven de Kere)
## 16) Unlink the author username on search.php (Craven de Kere)
## 17) Link the user post count to a search of the user's posts (Craven de Kere)
## 18) Make Auth list on viewtopic.php invisible to search engines (Craven de Kere)
## 19) Make the previous and next topic links invisible to search engines (Craven de Kere)
## 22) Hide forum stats from guests and spiders (Craven de Kere)


Thanks very much for your help.
Very Happy


Feel free to do so then! ;-)

But if you are asking me to write a custom mod for you or explain what every line of my mod does then I'm afraid I lack the time to do so.


treelovinhippie wrote:
Has someone got the files somewhere so I can just drag-drop and overwrite the existing files?


I don't have a pre-modded set of files here and haven't seen anyone else offer any. I don't do this because it's not much help for anything other than a vanilla board (no mods) running the default template.

Case in point:

treelovinhippie wrote:

I'm using the latest version of phpbb and the Play template.


Pre-modded subSilver files would do you precious little good.


steffun00 wrote:
I have a problem with my forum. I installed the mods but the .htaccess doesn't work. I think it's because of my windows hosting. What should I do?


If you can modify your IIS server (you probably have no access to do so if you are on a shared host) you can try plugins for IIS (read Windows Server) that attempt the same features as mod_rewrite on Apache.

One example that comes to mind is ISAPI_Rewrite. Note that I've never used these plugins on any of my windows boxes and did not write code for them in mind.

So if you try that route, please don't expect my support as the url portion of my mod is for mod_rewrite only.

Alternately, you may want to consider using apache (can be used on windows BTW). If only for mod_rewrite I tend to prefer hosting sites on Apache.


montanadaver wrote:
The SEO hack works great! However, is it normal for the apache access_log to show bots pulling files like this?:

66.249.65.7 - - [31/Jul/2006:21:17:14 -0500] "GET /viewforum.php?f=8&sid=7b809a08f6bc594fcd36ac10b6382d46 HTTP/1.1" 200 21734


If they already have indexed that particular url, they may come back to visit it to refresh it. Changing your urls on your sites does nothing to change what is already in their index. However, if all goes well they will drop the old urls and pickup the new ones.

mark2gli wrote:
I am getting a 404 error when guests try to access any forum.... please help


See "The definitive guide to phpBB mod_rewrite problems/errors" here:

http://www.able2know.com/forums/viewtopic.php?t=44896

Note: That topic is there to prevent me from answering the same questions over 1,000 times (the first 500 were ok, but it started to get old pretty quick) so if you still have a problem read it again or get a pro as the answers are already there.

treelovinhippie wrote:
Could someone let me know if there is a set of files I can use to simply overwrite the old files?


I don't have a pre-modded set of files on this site.

steffun00 wrote:
I have a question :

Let's say my forum address is x.com
I have another domain y.com and I redirect to x.com with the option to remain y.com on the address bar. Is this a bad thing for google?


It depends. And since this doesn't have anything to do with this mod I won't go into it much further than to recommend that you use redirection very judiciously and that redirecting from one domain to another creates the possiblity of duplicate content, which is not a big deal in 99% of the cases you will see but can be disasterous in conjunction with other factors.

Exactly what possible factors can make it safe or not safe is something you should ask for professional SEO help for (and I'm sorry but I lack the time to provide such help for free or even professionally).


nims wrote:

Its working fine when user is logged in but to guest it gives an error 404 when guest clicks on the forum link. Mod_rewrite is changing the link to view forum as domain/forum/forum-2.html and for members the same link appears as domain/forum/viewforum.php?f=2


See "The definitive guide to phpBB mod_rewrite problems/errors" here:

http://www.able2know.com/forums/viewtopic.php?t=44896

Note: That topic is there to prevent me from answering the same questions over 1,000 times (the first 500 were ok, but it started to get old pretty quick) so if you still have a problem read it again or get a pro as the answers are already there.

affhelper wrote:

I get 404 error if a Guest tries to enter the new html pages.

If I remove it then the forum works but no html pages are being generated.


See "The definitive guide to phpBB mod_rewrite problems/errors" here:

http://www.able2know.com/forums/viewtopic.php?t=44896

Note: That topic is there to prevent me from answering the same questions over 1,000 times (the first 500 were ok, but it started to get old pretty quick) so if you still have a problem read it again or get a pro as the answers are already there.

gbh wrote:
Is any1 going to help me? Crying or Very sad


Rolling Eyes

This mod is not made for "easymod" installation. This has been rehashed many many times here so I'm not going to go into this all over again. The short version is that I do not use or recommend automated code modification with phpbb mods and am unlikely to redo my mod just to make it work for these tools.

So 'help' in this case is merely to tell you to find and replace manually. If you don't know how to perform basic find/replace updates through code you should not be modifying code and should find a professional (or at least someone who knows how to press Control and F at the same time).
0 Replies
 
montanadaver
 
  1  
Thu 17 Aug, 2006 03:28 pm
With respect to SEO is a relative link such as './fred.php' less valuable than a fully-qualified link such as 'http://www.fred.com/fred.php'? Confused
0 Replies
 
Craven de Kere
 
  1  
Thu 17 Aug, 2006 04:50 pm
No, but in some situations the absolute URIs may end up elsewhere while the relative ones don't.

Consider, for example, a scenario in which a scraper grabs some of your content for use on a scraper site. Depending on their software, relative urls can sometimes end up on their site as relative urls, which won't point where you'd intended.

Ultimately, I don't think you should condier SEO as a factor in use of relative vs. absolute urls at all as the search engines use better scrapers (read spiders) which don't have any real problems with either.
0 Replies
 
gbh
 
  1  
Thu 17 Aug, 2006 10:02 pm
Ah bugger. Ok manual it is... Thank you!
0 Replies
 
Celoxdesign
 
  1  
Mon 21 Aug, 2006 09:31 am
Great mod! Installed it and works like a charm, keep this updated Smile

Celoxdesign
0 Replies
 
montanadaver
 
  1  
Mon 21 Aug, 2006 08:04 pm
Craven:

In one of your previous posts you mentioned achieving a PR6 in one day. Not that I'm interested in a quick fix, but I am very interested in the thought process behind such an SEO mod.

Also, one other question: I have been using a php script that generates a sitemap on the fly when the sitemap doc is requested. One version will generate a sitemap doc for each forum and my current version generates the list of forums and each topic. Any thoughts on this one way or the other with respect to SEO and crawling?
0 Replies
 
montanadaver
 
  1  
Wed 23 Aug, 2006 11:06 am
I've noticed that some of the forum links contain 'title' tags and some don't. Would there be any appreciable SEO gain by putting the 'title' tag in all links? Especially ones to topics and posts.


<a href="forum-8.html" class="cattitle" title="Stuff">Stuff</a> vs

<a href="forum-8.html" class="cattitle">Stuff</a>
0 Replies
 
Leone
 
  1  
Wed 6 Sep, 2006 08:38 am
Leone wrote:
Aha, ok..

Well another thing that is on my mind whit this mod.

It seems like it dosen't work to good sometimes,
like when i clicked on the link to this topic i got:
Support: http://www.able2know.com/forums/about15132.html

Quote:

phpBB : Critical Error

Error creating new session

DEBUG MODE

INSERT INTO phpbb_sessions (session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in, session_admin) VALUES ('1f7f7f406e08ce75dd50e1ed4ea9684c', -1, 1153213189, 1153213189, 'd4b50864', 36, 0, 0)

Line : 213
File : sessions.php


Refreshed the page and it worked, i also got problem if i have
your page open for some houers and then try to open another
page on this page, then it also be some problems like
"not finding bla bla error" message, refresh and it works
Is that something you know about ?


Bump

I also want to add that i use Maxton whit tabbed browing.
And when i close maxton all tabs is still there, so when i open
again all pages opens as normal except this page where i get an error.
Refresh and its normal again. I have never had any problems whit
opening another site then this one whit my ~5 Year whit Maxton.

Do you know why ?
0 Replies
 
nims
 
  1  
Thu 14 Sep, 2006 03:42 am
Who is Online
Hi I am using this MOD and it seems great.
However I just noticed that Who is online code replacement in this MOD is same. I mean it doesnt seem to change anything. May be I am missing something. Please see the code below.
Code:#
#-----[ OPEN ]------------------------------------------
#

templates/subSilver/index_body.tpl

#
#-----[ FIND ]------------------------------------------
#

<table>
<tr>
<td><span><a>{L_WHO_IS_ONLINE}</a></span></td>
</tr>
<tr>
<td><img></td>
<td><span>{TOTAL_POSTS}<br>{TOTAL_USERS}<br>{NEWEST_USER}</span>
</td>
</tr>
<tr>
<td><span>{TOTAL_USERS_ONLINE}   [ {L_WHOSONLINE_ADMIN} ]   [ {L_WHOSONLINE_MOD} ]<br>{RECORD_USERS}<br>{LOGGED_IN_USER_LIST}</span></td>
</tr>
</table>

<table>
<tr>
<td><span>{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>

#
#-----[ REPLACE WITH ]------------------------------------
#

<BEGIN>
<table>
<tr>
<td><span><a>{L_WHO_IS_ONLINE}</a></span></td>
</tr>
<tr>
<td><img></td>
<td><span>{TOTAL_POSTS}<br>{TOTAL_USERS}<br>{NEWEST_USER}</span>
</td>
</tr>
<tr>
<td><span>{TOTAL_USERS_ONLINE}   [ {L_WHOSONLINE_ADMIN} ]   [ {L_WHOSONLINE_MOD} ]<br>{RECORD_USERS}<br>{LOGGED_IN_USER_LIST}</span></td>
</tr>
</table>

<table>
<tr>
<td><span>{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>
<END>


Find ...code... = replace ...code... I am not able to see any difference in them. May be my eyes need lil testing Shocked
Pls point the differences.
Also how can I display who all are online in the forum.
0 Replies
 
turna
 
  1  
Thu 14 Sep, 2006 06:46 am
whats wrong wiht this .htaccess ??

i coulnd't get static pages with this code Sad


Code:DirectoryIndex index.html index.htm portal.php index.php



ErrorDocument 401 error.php?code=401



ErrorDocument 403 error.php?code=403



ErrorDocument 404 http://tkmtkmtk.com/forum/profile.php?mode=register&agreed=true



ErrorDocument 500 error.php?code=500



RewriteEngine On

RewriteRule ^forums.* index.php [L,NC]

RewriteRule ^post-([0-9]*).html&highlight=([a-zA-Z0-9]*) viewtopic.php?p=$1&highlight=$2 [L,NC]

RewriteRule ^post-([0-9]*).* viewtopic.php?p=$1 [L,NC]

RewriteRule ^view-poll([0-9]*)-([0-9]*)-([a-zA-Z]*).* viewtopic.php?t=$1&postdays=$2&postorder=$3&vote=viewresult [L,NC]

RewriteRule ^about([0-9]*).html&highlight=([a-zA-Z0-9]*) viewtopic.php?t=$1&highlight=$2 [L,NC]

RewriteRule ^about([0-9]*).html&view=newest viewtopic.php?t=$1&view=newest [L,NC]

RewriteRule ^about([0-9]*)-([0-9]*)-([a-zA-Z]*)-([0-9]*).* viewtopic.php?t=$1&postdays=$2&postorder=$3&start=$4 [L,NC]

RewriteRule ^about([0-9]*)-([0-9]*).* viewtopic.php?t=$1&start=$2 [L,NC]

RewriteRule ^about([0-9]*).* viewtopic.php?t=$1 [L,NC]

RewriteRule ^about([0-9]*).html viewtopic.php?t=$1&start=$2&postdays=$3&postorder=$4&highlight=$5 [L,NC]

RewriteRule ^mark-forum([0-9]*).html* viewforum.php?f=$1&mark=topics [L,NC]

RewriteRule ^updates-topic([0-9]*).html* viewtopic.php?t=$1&watch=topic [L,NC]

RewriteRule ^stop-updates-topic([0-9]*).html* viewtopic.php?t=$1&unwatch=topic [L,NC]

RewriteRule ^forum-([0-9]*).html viewforum.php?f=$1 [L,NC]

RewriteRule ^forum-([0-9]*).* viewforum.php?f=$1 [L,NC]

RewriteRule ^topic-([0-9]*)-([0-9]*)-([0-9]*).* viewforum.php?f=$1&topicdays=$2&start=$3 [L,NC]

RewriteRule ^ptopic([0-9]*).* viewtopic.php?t=$1&view=previous [L,NC]

RewriteRule ^ntopic([0-9]*).* viewtopic.php?t=$1&view=next [L,NC]
0 Replies
 
stlgatekeeper1
 
  1  
Thu 14 Sep, 2006 10:15 am
MOding errors
I had Craven do the install on the mod and everything went fine.

However, my forum listings have now been deemed supplemental because the htaccess does not make the forum pages default to the www. version...

In short, I've now got two page one www and one without.

I attempted to add the "normal" rewrite rule to the htaccess file in the forum but it completely destroys the forum optimization... it actually makes it revert back to "normal" phpbb forum listings.

Does anyone know how I can..
1)Make the forum mod for seo default to the www page version.
2)Make sure the meta tag information is swooped up by the spiders and used in the description of the search engine ranking.
0 Replies
 
fpbear
 
  1  
Sun 17 Sep, 2006 03:43 pm
Is it possible to make mod_rewrite work so that guests can still post? It says on the first page that guests will not be able to post any longer with this mod (only registered users). However on my forum I have enabled guest posting with a visual confirmation mod.
0 Replies
 
SFJN
 
  1  
Sun 17 Sep, 2006 07:37 pm
Baffled by SEO phpBB mod simply not working.
Confused Can't say I'm sure where things went wrong for me. I applied the mod as published here, with the following omissions/changes:
  • The "$last_post =" section popped up bugs in my index.php when I messed with it, so I reverted to the original.
  • I didn't reset the title in lang_main.php.
  • The <td... {JUMPBOX} ... </td> section in viewtopic_body had some other {} stuff in it in my template that I also put between the switches.
  • I didn't change the span class="nav" section in viewtopic_body.tpl (as it didn't exist in that form).

Everything else [the static HTML, sessions stuff, and the rest of the SEO PR-drain formatting stuff] was applied as written to a copied version of the forum in a separate directory (testcode/forum/). I have checked; the copied version of the forum works, and shows evidence of the remaining SEO formatting changes (i.e., the ones that didn't bug or hadn't already been changed on my template), so it's clear that it is using the modded TPL and PHP files. However, I still get SSIDs for guests, and don't get fixed HTML pages.

I'm using phpBB v2.0.21, and my ISP says that "Mod_rewrite is an Apache web server module installed on all of our Linux servers by default; it does not have to be installed or enabled."

My ISP states their servers have the following software:

Operating System
Red Hat Linux
Kernel
Version 2.4.21-4.0.1 elsmp
Web Server
Apache 1.3
Web Programming Languages
PHP 4.3.11
Tomcat (Java) 5.0.27
CGI / Perl 5.8
Python 2.2
Frontpage 5.0.2.5012
Databases
MySQL 4.0.24

I will probably be trying other mods, seeing as I am baffled as to why applying this one failed to eliminate SSIDs for guests or fix the topics to static HTMLs, but if anyone knows how I can get this working, it would be nice.
0 Replies
 
purawebs
 
  1  
Mon 2 Oct, 2006 10:48 am
Will this work with 2.0.19?

I don't want to install it untill I am sure
0 Replies
 
 

Related Topics

SEO - Going from 0 PR on up - Discussion by jespah
How Rich Pins work ??? - Question by OnceUponAtime
Need a bit of Google advice - Question by bible quizzer
Google Indexing Issue - Question by brainstudioz
Bing Search results - Discussion by iankyra
What is best way for Off-Page seo in 2017? - Question by honesttravel1
 
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.1 seconds on 11/22/2024 at 09:44:34