9
   

phpBB Search Engine Optimization - Sessions, static ( SEO )

 
 
kvnband
 
  1  
Sun 29 Aug, 2004 10:05 am
To remove the site name, it is the code in overall header.tpl It's an easy fix, and you probably just skipped a step or something. Also make sure that you made your changes on YOUR theme and not subsilver (if you're not using subsilver) (I think in overall_header.tpl it's like <title>{SITENAME} : {PAGE_TITLE}</title> or something like that, and you want to remove the {SITENAME} : part.

I'd say that for 2 & 3 you'll just want to replace all instances of forum (like in the .htaccess where it's like forum-([0-9]+) or whatever it is, you'd want to change that to like board-([0-9]+) or whatever. Just go through and change all instances to whatever you want it to be called.
Kevin
0 Replies
 
tcanuck07
 
  1  
Sun 29 Aug, 2004 10:14 am
Sorry...one more thing,

When the MSNbot and GigaBot were touring around my forum, my CPanel logfile was showing .php extentions with no session id's for their hits. Is this correct?

When not logged in, i'm seeing .html extentions on all my forums and when i'm logged in session id's and .php extentions, so i'm guessing everything is correct.

Tim
0 Replies
 
kvnband
 
  1  
Sun 29 Aug, 2004 10:16 am
Yes, if you're seeing the html extensions, then the mod is working.
0 Replies
 
tcanuck07
 
  1  
Sun 29 Aug, 2004 10:19 am
Quote:
I'd say that for 2 & 3 you'll just want to replace all instances of forum (like in the .htaccess where it's like forum-([0-9]+) or whatever it is, you'd want to change that to like board-([0-9]+) or whatever. Just go through and change all instances to whatever you want it to be called.
Kevin


I did change the htaccess for a test, but got a 404 for the page. I'm guessing I also have to change a PHP file (which one?) to match the changes in the htaccess change?

-Tim
0 Replies
 
tcanuck07
 
  1  
Sun 29 Aug, 2004 10:21 am
Quote:
Yes, if you're seeing the html extensions, then the mod is working.


So the bots will be indexing the html pages, even though my log files show them as visiting a php page?

Sorry for all the questions,
Big thanks,

-Tim
0 Replies
 
tcanuck07
 
  1  
Sun 29 Aug, 2004 10:36 am
Quote:
To remove the site name, it is the code in overall header.tpl It's an easy fix, and you probably just skipped a step or something. Also make sure that you made your changes on YOUR theme and not subsilver (if you're not using subsilver) (I think in overall_header.tpl it's like <title>{SITENAME} : {PAGE_TITLE}</title> or something like that, and you want to remove the {SITENAME} : part.


hmmmm....I'm using the vanilla subsilver. Made these changes to /templates/subsilver/overall header.tpl

#-----[ FIND ]------------------------------------------
#
<title>{SITENAME} :: {PAGE_TITLE}</title>
#
#-----[ REPLACE WITH ]------------------------------------
#
<title>{PAGE_TITLE}</title>

My Title is still displayed when logged out?

-Tim
0 Replies
 
kvnband
 
  1  
Sun 29 Aug, 2004 10:55 am
OK, I'm not a developer or anything, just conveying my experience to you. First of all, you'll need to change every PHP file where it references forum and change it to your word. (I think). The bots should be indexing html pages. The reason that cpanel sees php pages might be because the bots are actually looking at php pages, but they don't know it. And if you removed {SITENAME}, then instead of

Yoursite : The Lounge it should now just be
The Lounge

Kevin
0 Replies
 
tcanuck07
 
  1  
Sun 29 Aug, 2004 11:21 am
Thanks Kevin,

Quote:
OK, I'm not a developer or anything, just conveying my experience to you. First of all, you'll need to change every PHP file where it references forum and change it to your word. (I think).


That's what i'm "guessing" too. I was just hoping someone could list which php pages needed editing, so I don't have to search through a half dozen or more pages to find all the instances and wondering if I missed any.

Thanks for your reply,
-Tim
0 Replies
 
tcanuck07
 
  1  
Sun 29 Aug, 2004 11:46 am
Kevin wrote:
Yoursite : The Lounge it should now just be
The Lounge


Ahhh....i misunderstood the results of this line. It's working as designed.

I'd also like to remove the entire description so the bots see some of the "meat" of my forum for the description. As it is now, the indexed descriptions for all my forum pages show my first few lines of my forum description. It'd be nice to remove this for the bots (not logged in) and show it for logged in traffic. This would make all the indexed page descriptions different as they would pick up the first line of the post, rather than my forum description.

Hope that makes sense to someone....Smile
-Tim
0 Replies
 
kvnband
 
  1  
Sun 29 Aug, 2004 11:58 am
in PhpBB, if you want to show content to logged in users only, you use the following switch

<!-- BEGIN switch_user_logged_in -->
<META NAME="Description" CONTENT="Your descriptive sentence or two goes here.">
<!-- END switch_user_logged_in -->


If you put the <!-- tags around your meta description, then only logged in users will get those tags. To everyone else, they will not exist.

Kevin
0 Replies
 
tcanuck07
 
  1  
Sun 29 Aug, 2004 01:38 pm
Thanks Kevin,
Found the switches. Now I can customize exactly what I want the SE's to see for indexing.

Still hoping someone can post the PHP files to edit, to change the URL addys.

All the best,
-Tim
0 Replies
 
Craven de Kere
 
  1  
Sun 29 Aug, 2004 01:41 pm
tcanuck07 wrote:

Still hoping someone can post the PHP files to edit, to change the URL addys.


To change the static URL addresses just look at the portions of the code that are changed in the static url mod and make the changes there.
0 Replies
 
tcanuck07
 
  1  
Sun 29 Aug, 2004 01:57 pm
Ahhhh....thanks Craven.

I see em there now....Smile

Great work,
-Tim
0 Replies
 
tcanuck07
 
  1  
Sun 29 Aug, 2004 03:29 pm
One last little prob and I'll quit bugging you...Smile

I've installed all your mods and the rewrite on a test forum and it work perfectly. (including changing the "forum" and "about" address in the URL. Edited the htaccess file and the includes/page_header.php with my keywords replacing your default names and all worked fine.)

I've installed all the mods and rewrite on my actual forum and it works perfectly also. But......

When i attempt to change the "forum" and "about" in the URL, I get a 404 and the address in the address bar still show's "forum" not my "keyword" change.

I used the identical htaccess file (placed in my actual forum root folder) and page_header.php (in the "includes" folder on my actual forum) that works perfectly in my test forum.

My root folder for my actual forum is named "forum". Could this be causing the prob? Any suggestions?

Sorry for the prob,
-Tim
0 Replies
 
Craven de Kere
 
  1  
Sun 29 Aug, 2004 03:34 pm
If you do it right, it works. I've no idea what you did wrong (and can't tell without looking with ftp access) but most of these types of problems are solved by the webmaster just retrying it and being more careful. ;-)
0 Replies
 
tcanuck07
 
  1  
Sun 29 Aug, 2004 03:38 pm
Thanks Craven,
I've spent a couple hours staring at it and trying new changes with no luck. The baffling part is it works fine in the test forum. Guess I'll stare at it for a few more hours. Thanks again for the great work.

-Tim
0 Replies
 
Craven de Kere
 
  1  
Sun 29 Aug, 2004 03:51 pm
If you'd like to provide me ftp access (please create a temp password, I do NOT want to have real passwords) I can have a looksee.
0 Replies
 
tcanuck07
 
  1  
Sun 29 Aug, 2004 10:11 pm
Hi Craven,
I fiddled around some more and still no luck. I'll PM you my FTP acct. info.
Sorry for the bother.
-Tim
0 Replies
 
Craven de Kere
 
  1  
Sun 29 Aug, 2004 11:03 pm
Made the changes and it's working.
0 Replies
 
tcanuck07
 
  1  
Mon 30 Aug, 2004 12:58 am
Thanks a million Craven,
Looks great! Slurpie and MSNbot were right behind you...Smile
Slurp's really gobbling it up right now. It hadn't indexed anything but the index page before, even with the sessions removed.
Google shouldn't be far behind them.
I'll get some links pointed your way.

All the best,
-Tim
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.21 seconds on 11/26/2024 at 10:35:34