0
   

phpBB Search Engine Optimization - Sessions, static ( SEO )

 
 
  1  
Reply Sat 13 May, 2006 11:17 am
I found out what the problem is now. For forums that are located at some free hosts and the accounts are user names which look like this "host.com/forum-name/index.php" your site will not get indexed correctly unless some other changes are made. If you own your own domain or you have an account with a host that gives it's users subdomains, "forum-name.host.com/index.php", it will work fine.

If you are not sure what type of account you have I suggest you try 2 or 3 of the search engine simulators ( Google "search engine simulators" there are loads) and see how your current pages are indexed. What you are looking for are links on your site which have been written as local links, e.g "page.htm" or "folder/page.htm" and not as "host.com/forum-name/page.htm". If they appear as "host.com/page.htm" and not as "host.com/your-account/page.htm" then you need to make some other changes.

I don't know what the best solution is for this? so am going to try some different things. 1) Try a url forwarding service that allows any page after it's name to work. 2) Change all the forum links to full url's. 3) Use htaccess to change the urls.

Does anybody have any ideas on this and what would be the best way to go about it?
0 Replies
 
View Profile forte
 
  1  
Reply Sun 14 May, 2006 05:06 am
Max. wrote:
This Mod sounds nice, but does it all work for 2.0.20 ?

Quote:
17) Link the user post count to a search of the user's posts (Craven de Kere)

The user search page is a good way to capture more search engine traffic. This provides a link for the spiders.


Max


Yes no problems

Max. wrote:

I think this makes double content
double content is not very good for seo.

Max


Has not done us any harm Google indexed 700 pages before the mod now indexes 28,000 pages

Barrie,
0 Replies
 
View Profile forte
 
  1  
Reply Sun 14 May, 2006 05:13 am
Re: How can I "reshow" signatures to guests?
giorgioarmani wrote:
I applied this mod... Now noticed the sigs would be useful (especially mine) to guests... How can I show mine or just generally "turn on" the signatures for guests as well?



in viewtopic.php Find
Code:
if ( $poster_id != ANONYMOUS && $userdata['session_logged_in'] )
{
$temp_url = append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$poster_id");


and replace with

Code:

if ( $poster_id != ANONYMOUS )
{
$temp_url = append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$poster_id");
0 Replies
 
View Profile mrix
 
  1  
Reply Tue 16 May, 2006 02:30 am
about.html pages dont get cached??
Hello all, I have used this mod for months now and still find the pages that have about.html in them never get visited or cached by google?
and as you can imagine thats hundreds of pages.
Any idea`s all it would make such a difference if I could get these cached / indexed.
Thanks for any help all
mrix
0 Replies
 
View Profile ledave
 
  1  
Reply Wed 17 May, 2006 05:34 am
email "someone wrote in this thread"
hi everyone,
I've just spend an hour looking in this thread but didn't find anything about my problem. The thing is that I installed this mod and it's doing fine (thanks Craven) but when I get an email because someone wrote in a thread i'm folowing the link in the email doesn't work, the URL is like the old way (you know, a URL for logged in) and it says that the thread doesn't exist.
Did I miss something?
Can someone help me with this one?

thanks in advance.

David
0 Replies
 
  1  
Reply Wed 17 May, 2006 06:21 pm
Thanks for the mod
I just wanted to give a little update on my forum. Since I added this mod (I think the rewrite helps a LOT), Google has risen to the top of the spiders active on my site in just a few days. The Google sitemaps page now actually has information about pageranks and keywords in my site! Thank you so much for this mod, Craven. It's really starting to help my situation.
0 Replies
 
  1  
Reply Thu 18 May, 2006 10:32 pm
Craven: I have a question for you.

I read somewhere on this site, not sure if it was this thread or another one, where you suggest disallowing the robots (via the robots.txt file) access to posts, as post are seen as duplicate content.

I agree with you.

However, several of the mods contained in this file actively promote directing the robots to the most recent posts (in search authors, index, viewforum).

What are your thoughts on this, it seems odd to me.
0 Replies
 
  1  
Reply Mon 22 May, 2006 09:16 pm
Rewrite 301 for engine requests with embedded SID?
I applied this mod, but I still get many hits from search engines, using the pre-mod URLs of my pages (e.g. viewtopic.php). It looks like the engines will keep trying to spider the old URLs, so long as the pages are still accessible by the old names.

I am considering using MOD_REWRITE to return a 301 to the engines, and to direct them to the "new" .html name of my pages (with the SID removed). Hopefully, that would jump-start the pagerank of my new about- and post- .html pages, and speed the transition.

Can anyone comment on the wisdom of this? I have been playing with something like:
Code:
RewriteCond %{HTTP_USER_AGENT} Googlebot
RewriteRule viewtopic.php robot-rewrite.php [L]

...with a robot-rewrite.php file of:
Code:
<?php
header("HTTP/1.1 301 Moved Permanently");
if (isset ($_GET['t'])) {;
$VAR = $_GET['t'];
header("Location: http://mydomain.com/about$VAR.html");
}
if (isset ($_GET['p'])) {;
$VAR = $_GET['p'];
header("Location: http://mydomain.com/post-$VAR.html#$VAR");
}
exit();
?>


I used a php script, because I couldn't figure-out how to use MOD_REWRITE to write the new URL using the POST arguments of the old URL. It seems to work in some simulated tests. I am just wondering if this could have some negative impact with my existing page-rank. I'd also welcome any implementation tips.
0 Replies
 
View Profile mrix
 
  1  
Reply Wed 24 May, 2006 01:35 am
about.html pages ????
Hello all, I have used this mod for months now and still find the pages that have about.html in them never get visited or cached by google?
and as you can imagine thats hundreds of pages.
Any idea`s all it would make such a difference if I could get these cached / indexed.
Thanks for any help all
mrix
0 Replies
 
View Profile fwsweet
 
  1  
Reply Wed 24 May, 2006 03:23 pm
The SEO mod by itself works fine.

On a test forum directory, I also made the static URLs rewrite mod. But when I add the .htaccess file to the test directory, I get 403 ("Forbidden
You don't have permission to access [whatever] on this server. When I remove the .htaccess file, everything works fine (except that there is no rewriting, of course). I am running Apache/2.0.50 (Win32) DAV/2 PHP/5.0. on my own local computer under Win XP Pro (not on a remote host site).

Apparently, putting the .htaccess file into the directory removes my permission. How can I give myself permission to access the directory into which I put the .htaccess file? Again, everything works fine if I remove the .htaccess file.
0 Replies
 
  1  
Reply Wed 24 May, 2006 04:24 pm
Quote:

Hello all, I have used this mod for months now and still find the pages that have about.html in them never get visited or cached by Google?

Hi is your forum on a free host account or is it on an actual domain? My old forum was cached by yahoo and Google but my new one, which is a free host, I'm having problems with. I've managed so far for them to crawl the site, but they are looking at .php files and not html ones, is that what is happening on yours?

Quote:

Apparently, putting the .htaccess file into the directory removes my permission. How can I give myself permission to access the directory into which I put the .htaccess file? Again, everything works fine if I remove the .htaccess file.


Hi, You need to configure your server so that mod rewrite module is enabled and also that the directory that your forum is in has allow override enabled you can set these in the httpd.conf file.
Code:http://httpd.apache.org/docs/2.2/mod/core.html#options
0 Replies
 
View Profile fwsweet
 
  1  
Reply Wed 24 May, 2006 09:13 pm
Quote:
You need to configure your server so that mod rewrite module is enabled and also that the directory that your forum is in has allow override enabled you can set these in the httpd.conf file.

The above items were all mentioned in this thread, so I had already checked them before posting. The problem was that the .htaccess file needed "Options +FollowSymLinks", since this was not already a default for my configuration. Thanks anyway.
0 Replies
 
  1  
Reply Thu 25 May, 2006 04:18 am
This topic is quite long so you may have missed it but Options +FollowSymLinks is mentioned several times also. Rolling Eyes
0 Replies
 
  1  
Reply Thu 25 May, 2006 11:51 am
after installing able2know, my forum is crawled incorrectly?
After installing the able2know mod, google crawled by forums root url like this:

Index of /[DIR] Parent Directory 17-May-2006 20:23 - [DIR] admin/ 18-May-2006 09:14 - [DIR] db/ 18-May-2006 09:14 - [DIR] includes/ 18-May-2006 09:14 - [DIR] install/ ...

Did something go terribly wrong here?

The URLS look nice now, no =? , just clean /1234.html etc.
0 Replies
 
  1  
Reply Sun 28 May, 2006 06:48 am
Hello Experts..

In my case I have a different setup and need a little help.

I want google to crawl my site but for the purpose of advertising others sites and making there sites rank go up ...

Can someone pm me please on this one.

Thanks
Danny
0 Replies
 
  1  
Reply Sun 28 May, 2006 07:21 am
Re: after installing able2know, my forum is crawled incorrec
solobrian wrote:
After installing the able2know mod, google crawled by forums root url like this:

Index of /[DIR] Parent Directory 17-May-2006 20:23 - [DIR] admin/ 18-May-2006 09:14 - [DIR] db/ 18-May-2006 09:14 - [DIR] includes/ 18-May-2006 09:14 - [DIR] install/ ...


Have a look here this will help phpBB robots.txt tutorial

You should also remove the "install" folder
0 Replies
 
  1  
Reply Tue 30 May, 2006 01:06 pm
I have had this mod installed for awhile and found that it works great. However one problem is that Google is indexing alot of these pages:

search.php?search_author=username

It is only linked from my about.html pages. I feel this may be hurting my internal linking structure and may be hurting the PR on my about.html pages.

Anyone this it is a bad idea to tell the bots to disallow:search.php?search_author=username

Would Google automatically recognize this on my robots.txt file and remove any search.php?search_author=username pages already indexed in G?
0 Replies
 
  1  
Reply Sat 3 Jun, 2006 06:33 pm
This going back to what I was saying before http://www.able2know.com/forums/viewtopic.php?p=2033598#2033598.

I used this in the end and the search engines started to crawl the site. Very Happy The php and htaccess have been modfied changing the "about" and some other bits, but the main change that forced them to crawl and not stop at index, was adding in the host name. Since doing all this and waiting weeks to see how it worked my host has now decided to change accounts to sub domains Shocked , so the original way will work now lol. Hopefully this will help other people who had problems like mine before though.

htaccess
Code:
RewriteRule ^forum-([0-9]*).* index.php?c=$1 [L,NC]
RewriteRule ^forums.html index.php [L,NC]
RewriteRule ^viewonline.php viewonline.php [L,NC]
RewriteRule ^profile.php profile.php [L,NC]
RewriteRule ^search.php search.php [L,NC]
RewriteRule ^login.php login.php [L,NC]
RewriteRule ^faq.php faq.php [L,NC]
RewriteRule ^memberlist.php memberlist.php [L,NC]
RewriteRule ^groupcp.php groupcp.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 ^topicid([0-9]*).html&highlight=([a-zA-Z0-9]*) viewtopic.php?t=$1&highlight=$2 [L,NC]
RewriteRule ^topicid([0-9]*).html&view=newest viewtopic.php?t=$1&view=newest [L,NC]
RewriteRule ^topicid([0-9]*)-([0-9]*)-([a-zA-Z]*)-([0-9]*).* viewtopic.php?t=$1&postdays=$2&postorder=$3&start=$4 [L,NC]
RewriteRule ^topicid([0-9]*)-([0-9]*).* viewtopic.php?t=$1&start=$2 [L,NC]
RewriteRule ^topicid([0-9]*).* viewtopic.php?t=$1 [L,NC]
RewriteRule ^topicid([0-9]*).html viewtopic.php?t=$1&start=$2&postdays=$3&postorder=$4&highlight=$5 [L,NC]
RewriteRule ^mark-forumid([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 ^forumid-([0-9]*).html viewforum.php?f=$1 [L,NC]
RewriteRule ^forumid-([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]


includes/page_header.php
Code:
// Start able2know

if ( !$userdata['session_logged_in'] )
{
ob_start();
function replace_for_mod_rewrite(&$s)
{
$urlin =
array(
"'(?<!/)index.php\?c=([0-9]*)'",
"'(?<!/)index.php'",
"'(?<!/)viewonline.php*'",
"'(?<!/)profile.php*'",
"'(?<!/)search.php*'",
"'(?<!/)login.php*'",
"'(?<!/)faq.php*'",
"'(?<!/)memberlist.php*'",
"'(?<!/)groupcp.php*'",


"'(?<!/)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(
"http://www.host.com/account/forum-\\1.html",
"http://www.host.com/account/forums.html",
"http://www.host.com/account/viewonline.php",
"http://www.host.com/account/profile.php",
"http://www.host.com/account/search.php",
"http://www.host.com/account/login.php",
"http://www.host.com/account/faq.php",
"http://www.host.com/account/memberlist.php",
"http://www.host.com/account/groupcp.php",

"http://www.host.com/account/topic-\\1-\\2-\\3.html",
"http://www.host.com/account/mark-forumid\\1.html",
"http://www.host.com/account/updates-topic\\1.html",
"http://www.host.com/account/stop-updates-topic\\1.html",
"http://www.host.com/account/topicid\\1.html&highlight=\\2",
"http://www.host.com/account/forumid-\\1.html",
"http://www.host.com/account/ptopic\\1.html",
"http://www.host.com/account/ntopic\\1.html",
"http://www.host.com/account/view-poll\\1-\\2-\\3.html",
"http://www.host.com/account/topicid\\1-\\2-\\3-\\4.html",
"http://www.host.com/account/topicid\\1.html",
"http://www.host.com/account/topicid\\1-\\2.html",
"http://www.host.com/account/topicid\\1.html",
"http://www.host.com/account/post-\\1.html",
"http://www.host.com/account/post-\\1.html",
);
$s = preg_replace($urlin, $urlout, $s);
return $s;
}
}

// end able2know


DetectiveForums wrote:

I have had this mod installed for awhile and found that it works great. However one problem is that Google is indexing alot of these pages:

search.php?search_author=username


I have found this on mine too. They should not do it, if it's in the robots.txt, but maybe adjusting the code to turn search.php into search.html might help? I might try that my self and see what happens.
0 Replies
 
  1  
Reply Thu 8 Jun, 2006 07:58 pm
hi, im new to phpbb and Im having problems installing part of the SEO mod. I did the first part of the mod , but on the part where you are supposed to edit
includes/functions.php
i can't find the code in functions.php. I'm using a template if that would make any differance

THIS PART
#-----[ FIND ]------------------------------------------
#

if (!empty($db)) <this>sql_close(); <--not in functions.php
}

#
#-----[ AFTER, ADD ]------------------------------------------
#

if ( !$userdata['session_logged_in'] )
{
if (stristr($url, 'http://')) {
header('Location: ' . $url);
exit;


anyone else ran across this problem?
0 Replies
 
View Profile Tanpimp
 
  1  
Reply Thu 15 Jun, 2006 05:30 pm
I apologize if this has been asked. I love the mod and it's working great for me. Unfortunately, my users seem to like to look at each others profiles. Could someone please point out which part of the mod takes out the functionality of having the users' name link to their profile in the thread? thanks!
0 Replies
 
 

Related Topics

Need a bit of Google advice - Question by bible quizzer
using the knowledge base mod - Discussion by khisanthax
A2K has gone static..cool.. - Discussion by Monger
benefits from sub-domains - Discussion by khisanthax
search engines and categories? - Discussion by khisanthax
phpBB Search Engine Optimization - Discussion by Etherfast
SEO Mod + PHPBB 2.0.10 index file - Discussion by coeus
Help-SEO-Affiliates - Discussion by Exploitx
how to use allinanchor? - Discussion by khisanthax
 
Copyright © 2009 Horizontal Verticals :: Page generated in 0.35 seconds on 11/28/2009 at 01:54:19 Top End