9
   

phpBB Search Engine Optimization - Sessions, static ( SEO )

 
 
firecream
 
  1  
Tue 22 Nov, 2005 05:54 am
Does anybody know how to rewrite this mod to have topics url with keywords in title of this topic.
For example like here:

http://forums.seochat.com/yahoo-search-optimization-60/is-my-site-banned-by-yahoo-59928.html
0 Replies
 
BillEvans
 
  1  
Wed 23 Nov, 2005 04:41 pm
First off I'm NOT complaining. Smile

I installed the SEO mod a few months ago.

Currently Indexed pages:

Yahoo: 702
Google: 70,000+

Traffic from the engines yesterday:

144 from Yahoo.
9 from google.

What the...

Anyone else have results like this?

Maybe Google really wants those keywords and descriptions. At least unique descriptions for the pages.
0 Replies
 
seo777
 
  1  
Sat 26 Nov, 2005 04:50 am
Hello,

I've been using the mod for about a year now with great results.

Now I am re-designing my forum and one of the things I am looking is SEO.

In my development server I changed the search engine friendly URLs a bit. Instead of myforum.com/forum-1.html now it is myforum.com/myforumname.html

I assume that this should be better. However my google rankings are already very good when somebody is searching for "forum name". I wouldn't want to loose the rankings. (but I would like to improve the ones that are not as good as others)

The old URLs (forum-1.html etc) still work, so there are no dead links.

Should I make this move, or should I stick to the forum-1,forum-2 etc for the URLs?

Thanks
0 Replies
 
daCris
 
  1  
Mon 28 Nov, 2005 02:22 am
Craven, when is the update coming?
0 Replies
 
bryan2159
 
  1  
Wed 30 Nov, 2005 07:43 am
I have a small question regarding an error that I'm experiencing after installing these mods.

Now, users must log in twice before they are actually being shown as logged in. The "Log in" link does not change to "Log out [Username]" until the user has logged in twice.

If they try to post after logging in only once, the post is credited to "guest".

This obviously causes a problem for me because members will often sign in once and post and be credited as "guest".

Is this problem somehow related to cookies, or is it related to alterations in "page_header.php"?

I would love an answer about this-
0 Replies
 
internetbrother
 
  1  
Fri 2 Dec, 2005 12:42 pm
Hi
supposing one day I decide to uninstall this MOD
will uninstaling mess up my board and DB?
or every thing will automatically go back to normal?
0 Replies
 
Craven de Kere
 
  1  
Sat 10 Dec, 2005 03:35 pm
NeoID wrote:
This sounds like a really good mod, nice work! However, my webhost doesn't
allow mod_rewrite, but does it work without it? Confused


Everything but the static portion would work fine without mod_rewrite.
0 Replies
 
Craven de Kere
 
  1  
Sat 10 Dec, 2005 03:43 pm
firecream wrote:
Does anybody know how to rewrite this mod to have topics url with keywords in title of this topic.
For example like here:

http://forums.seochat.com/yahoo-search-optimization-60/is-my-site-banned-by-yahoo-59928.html


I built it while evaluating it for this mod but discarded the idea for these reasons:

1) the text can't be the index for DB lookups without forcing titles to be unique so an additional index (post or topic number) would be needed anyway.

2) the text needs to be sanitized in many ways, for special characters (what if the user uses the delimiter in the title?), languages and length.

3) what if the user edits the title? the url would change but because the real index (topic id) would be the same you'd now have a duplicate. To avoid this you need an expensive lookup just to check to see if the title still matches.

4) the rewriting is currently done very cleanly, after phpbb does all it's work my mod parses through the output and replaces. To add keywords to the url the urls would need to be rewritten at the point at which the data is queried and this messes with code even more.

There are some other smaller reasons I won't type out.


Ultimately I do not feel that the keywords in the url have enough value for this. I have settled on having static urls for logged in and logged out users as the next big upgrade to this mod.

I have it running on a production forum already, and have had one of my coders make it but I need a small bug fixed and I need time to package this as a mod for others to use.
0 Replies
 
Craven de Kere
 
  1  
Sat 10 Dec, 2005 03:46 pm
BillEvans wrote:
First off I'm NOT complaining. Smile

I installed the SEO mod a few months ago.

Currently Indexed pages:

Yahoo: 702
Google: 70,000+

Traffic from the engines yesterday:

144 from Yahoo.
9 from google.

What the...

Anyone else have results like this?

Maybe Google really wants those keywords and descriptions. At least unique descriptions for the pages.


My sites get millions of hits from the search engines, and I can often do it without making all the filenames have keywords. I think your focus should now be on off-page optimization.

A really simple analogy for SEO is this:

Think of it like an election. This mod and all the on-page seo you do is like making a candidate look presentable and appealing.

This won't win you the election alone, you still need votes. In SEO votes are links. So what you likely need for more traffic are more links to your site.
0 Replies
 
Craven de Kere
 
  1  
Sat 10 Dec, 2005 03:50 pm
seo777 wrote:
Hello,

I've been using the mod for about a year now with great results.

Now I am re-designing my forum and one of the things I am looking is SEO.

In my development server I changed the search engine friendly URLs a bit. Instead of myforum.com/forum-1.html now it is myforum.com/myforumname.html

I assume that this should be better. However my google rankings are already very good when somebody is searching for "forum name". I wouldn't want to loose the rankings. (but I would like to improve the ones that are not as good as others)

The old URLs (forum-1.html etc) still work, so there are no dead links.

Should I make this move, or should I stick to the forum-1,forum-2 etc for the URLs?

Thanks



Assuming all the technology issues are resolved the keywords can help. So if it works perfectly (and really investigate, because you may be missing a LOT of stuff you have not noticed, of all the keyword url mods for phpbb I have audited not a single one doesn't have a show stopping bug that I don't think the developer even knows about) you should do it.

But if you do it, use mod_rewrite to redirect the old urls with a 301 header to the new urls.
0 Replies
 
Craven de Kere
 
  1  
Sat 10 Dec, 2005 03:52 pm
daCris wrote:
Craven, when is the update coming?


I don't know. I have the code working with the exception of a few small bugs but I am really busy these days (a week ago I slept only 3 times in 9 days) and don't know if I will have time to package it as a mod anytime soon.

I'll do my best to get it out shortly as it has two really nice features (universal rewriting and elimination of all the duplicate post urls to use the topic url and an anchor).
0 Replies
 
Craven de Kere
 
  1  
Sat 10 Dec, 2005 03:54 pm
bryan2159 wrote:
I have a small question regarding an error that I'm experiencing after installing these mods.

Now, users must log in twice before they are actually being shown as logged in. The "Log in" link does not change to "Log out [Username]" until the user has logged in twice.

If they try to post after logging in only once, the post is credited to "guest".

This obviously causes a problem for me because members will often sign in once and post and be credited as "guest".

Is this problem somehow related to cookies, or is it related to alterations in "page_header.php"?

I would love an answer about this-



When installed properly this mod will not do this. The issues you describe are likely either:

1) unrelated to the mod

2) the result of atypical browser configuration (think cache and cookies)

3) the result of an error in mod installation


Your server might also be giving out bad hidden headers telling the client to cache.
0 Replies
 
Craven de Kere
 
  1  
Sat 10 Dec, 2005 03:55 pm
internetbrother wrote:
Hi
supposing one day I decide to uninstall this MOD
will uninstaling mess up my board and DB?
or every thing will automatically go back to normal?


This mod makes no alteration to the DB, so assuming your don't make mistakes there's no way it would "mess up" the board.
0 Replies
 
cparker
 
  1  
Sun 11 Dec, 2005 03:40 am
Forums Not Found after applying SEO 2.0.0 + Static URLs...
Hi Craven, desperately need your help here. Thought I had a handle on installing thi smod but something has gone wrong.

After I have finished with SEO 2.0.0 as well as static urls...

I can't access my forums.

I just get a not found error.

I'm fairly certain .htaccess is causing this, after I remove everything from the htaccess file (it was blank before I started with your mod, is that right?) and upload it as an empty file, I CAN access my forums, but get this error...

Code:
Warning: Cannot modify header information - headers already sent by (output started at /home/htdating/public_html/forums/includes/page_header.php:2) in /home/htdating/public_html/forums/includes/page_header.php on line 570

Warning: Cannot modify header information - headers already sent by (output started at /home/htdating/public_html/forums/includes/page_header.php:2) in /home/htdating/public_html/forums/includes/page_header.php on line 572

Warning: Cannot modify header information - headers already sent by (output started at /home/htdating/public_html/forums/includes/page_header.php:2) in /home/htdating/public_html/forums/includes/page_header.php on line 573



Heres the page header code:
Code:
570: header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
571: }
572: header ('Expires: 0');
573: header ('Pragma: no-cache');


I'm a bit lost... I've done this twice now, completely reinstalled everything to make sure I hadn't replaced some code incorrectly, but I'm fairly certain I didn't make the same mistake twice...
Any help would be greatly appreciated!

Thanks

Chris
0 Replies
 
Craven de Kere
 
  1  
Sun 11 Dec, 2005 05:03 am
Chris,

The headers need to be sent before anything is output to the browser. Check for whitespace at the end of a file you edited.

If you have whitespace outside of the php tags on any file that is invoked prior to sending that header you will have that error and this is the most common source of that error.
0 Replies
 
cparker
 
  1  
Sun 11 Dec, 2005 03:09 pm
Thanks a lot Craven! There was a blank line at the top of page_header.php
That fixed the code error, however I still can't access my forums at all unless I leave .htaccess blank.


This is what I currently have in .htaccess
I have it in my root folder, the same place as robots.txt
(is that right? Or should it be in /forums/ ?)

Code:
RewriteEngine On
RewriteRule ^forum.* 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]


Is there anything in there that explains why I can't access /forums/ when .htaccess has the above code?

Thanks again for your help!
0 Replies
 
seo777
 
  1  
Sun 11 Dec, 2005 04:09 pm
Quote:
Assuming all the technology issues are resolved the keywords can help. So if it works perfectly (and really investigate, because you may be missing a LOT of stuff you have not noticed, of all the keyword url mods for phpbb I have audited not a single one doesn't have a show stopping bug that I don't think the developer even knows about) you should do it.

I've done this only for the forum sections (e.g. Web Development & Design) not for the posts, and I manually wrote the rewrite rule for each section. Since I am the only Admin in the forum and nobody will be adding new sections I assume everything should be ok. Or am I missing something?

Quote:
But if you do it, use mod_rewrite to redirect the old urls with a 301 header to the new urls.

I assume this should be done before the other mod_rewrite rules of the SEO mod, right?
0 Replies
 
acoolwelshbloke
 
  1  
Wed 14 Dec, 2005 02:48 pm
I have been using your mod on my forum for the last six months and everything works ok or as far as I can see but I have a small question to ask.

It seems that none of my posts are getting indexed by any of the search engines. Im listed on page 3 of yahoo and msn and I used to be on page 5 on google until about a month ago when I vanished from there for no reason.

The page that gets indexed on the search engine seems to be just my main index.

My forum is located on my root folder of my host so in other words it is not in a folder such as /forums/ or /phpbb/

I have read through several pages after doing a search on your site regarding the robots.txt file but it gets a little confussing as there seems to be many different variations.

Here is a copy of my robots.txt file:
Code:User-agent: *
Disallow: /post-
Disallow: /updates-topic.html
Disallow: /stop-updates-topic.html
Disallow: /ptopic
Disallow: /ntopic
Disallow: /admin/
Disallow: /cache/
Disallow: /db/
Disallow: /games/
Disallow: /images/
Disallow: /includes/
Disallow: /language/
Disallow: /misc/
Disallow: /templates/
Disallow: /activity.php
Disallow: /birthday_popup.php
Disallow: /bluesky.php
Disallow: /chat.php
Disallow: /common.php
Disallow: /config.php
Disallow: /cool_links.php
Disallow: /donations.php
Disallow: /error.php
Disallow: /faq.php
Disallow: /game.php
Disallow: /groupcp.php
Disallow: /links.php
Disallow: /login.php
Disallow: /memberlist.php
Disallow: /modcp.php
Disallow: /newscore.php
Disallow: /posting.php
Disallow: /privmsg.php
Disallow: /profile.php
Disallow: /ranks.php
Disallow: /rules.php
Disallow: /search.php
Disallow: /smilies_list.php
Disallow: /viewonline.php


This is a last resort for me as I do not know what else to do, if there is anyone on here who can confirm my robots.txt is correct I would be very greatfull.

I thank you in advance. Smile

MERRY CHRISTMAS EVERYONE!
0 Replies
 
Anna Kohl
 
  1  
Fri 16 Dec, 2005 06:12 pm
Remove SIDs problems
I am trying to optimize my small forum, but today when I've checked for
site:myforum
I've seen I have a BIG problem: all my pages are indexed with SID.I can not figure out where the mistake is. It seems to me the robots.txt is Ok

I can say that my case is similar with acoolwelshbloke:
-none of my posts are getting indexed
-I do have some good listings in MSN and Google during the last month
-all listings are pointing to my index page, and not to posts
-my forum is located on my root

This is my robots.txt:P
Code:
User-agent: *
Disallow: /post-*.html$
Disallow: /updates-topic.html*$
Disallow: /stop-updates-topic.html*$
Disallow: /ptopic*.html$
Disallow: /ntopic*.html$
Disallow: /admin/
Disallow: /db/
Disallow: /images/
Disallow: /includes/
Disallow: /language/
Disallow: /templates/
Disallow: /cache/
Disallow: /cgi-bin/
Disallow: /docs/
Disallow: /common.php
Disallow: /config.php
Disallow: /faq.php
Disallow: /groupcp.php
Disallow: /login.php
Disallow: /memberlist.php
Disallow: /modcp.php
Disallow: /posting.php
Disallow: /privmsg.php
Disallow: /profile.php
Disallow: /search.php
Disallow: /viewonline.php
Disallow: /ptopic
Disallow: /ntopic


and this is my .htaccess file:

Code:
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]
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.acne-forum\.com [NC]
RewriteRule ^(.*)$ http://www.acne-forum.com/$1 [L,R=301]


(at least the one I am trying now Sad )

Right now I am installing PHpBB 2.0.18. I hope is not such a bad idea.

I would really appreciate if somebody can take a look to my site. I don't want to spam, my site address is: acne - forum dot com.

thanks
0 Replies
 
cparker
 
  1  
Tue 20 Dec, 2005 06:57 pm
Re: Forums Not Found after applying SEO 2.0.0 + Static URLs.
cparker wrote:
Hi Craven, desperately need your help here. Thought I had a handle on installing thi smod but something has gone wrong.

After I have finished with SEO 2.0.0 as well as static urls...

I can't access my forums.

I just get a not found error.

I'm fairly certain .htaccess is causing this, after I remove everything from the htaccess file (it was blank before I started with your mod, is that right?) and upload it as an empty file, I CAN access my forums, but get this error...

Code:
Warning: Cannot modify header information - headers already sent by (output started at /home/htdating/public_html/forums/includes/page_header.php:2) in /home/htdating/public_html/forums/includes/page_header.php on line 570

Warning: Cannot modify header information - headers already sent by (output started at /home/htdating/public_html/forums/includes/page_header.php:2) in /home/htdating/public_html/forums/includes/page_header.php on line 572

Warning: Cannot modify header information - headers already sent by (output started at /home/htdating/public_html/forums/includes/page_header.php:2) in /home/htdating/public_html/forums/includes/page_header.php on line 573



Heres the page header code:
Code:
570: header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
571: }
572: header ('Expires: 0');
573: header ('Pragma: no-cache');


I'm a bit lost... I've done this twice now, completely reinstalled everything to make sure I hadn't replaced some code incorrectly, but I'm fairly certain I didn't make the same mistake twice...
Any help would be greatly appreciated!

Thanks

Chris


Any ideas on this one anybody?
- I just realised that if I remove .htaccess logged in users can't navigate around as they can't find the forum-1.html etc...

Couple of more questions...

Is it possible to get all files in .htm instead of .html

Is it easy/hard to alter the mod so that forum titles and message titles
appear in the url instead of just 'forum-1.html' etc..

I know for a fact this forum - www. seoelite. com/ chat - used your mod Craven, but I talked to the admin and he said he had developers tweak it so the titles would be the url, but he wasn't sure just what they did...

Third question (like I haven't asked enough already Wink

Craven de Kere wrote:

My latest version will do this. I have functional code running on a production forum and as soon as I have time to package it I will release it.


Any hint as to when this will be released? Very Happy
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.07 seconds on 11/23/2024 at 02:02:28