9
   

phpBB Search Engine Optimization - Sessions, static ( SEO )

 
 
titsworth
 
  1  
Tue 6 Apr, 2004 10:01 pm
url rewrite
I also had a question about the mod_rewrite. I know this isn't in yoyr mod, so if you don't feel like answering this, don't worry about it.

I was having problem with the post page.

Here is my code for it

Code:"'(?<!/)viewtopic.php\?p=([0-9]*)'"

Replaced with

"bucs-post\\1.html"


My htaccess looks like this:
Code:...
RewriteRule ^bucs-post([0-9]*).* viewtopic.php?p=$1
...


When I use this, it always gives me a page telling me that the post could not be found, but when I type in the viewtopic?p=NUM directly, it works fine. I was wondering if it had anything to do with the anchor tag (#) and was wanting to know how you solved the problem.

Once again, thanks.
George
0 Replies
 
Craven de Kere
 
  1  
Tue 6 Apr, 2004 10:56 pm
That code looks fundamentally flawed, I'd wait for my re_write code. Every single rewrite code out there that I've seen has some major flaws that aren't readily apparent.
0 Replies
 
zoomsan
 
  1  
Wed 7 Apr, 2004 08:33 am
Hello,

Thank you very much for this Mod! It is great!

I have read the entire thread and have a couple of questions:

It appears that perhaps I should wait until an upcoming version to install this mod on my forum - would this be accurate?

Also, when looking for a link to your mod-rewrite option, would I look in this thread or elsewhere?

I am thinking of just implementing the changes pertaining to session IDs and perhaps the robots.txt file if it would be simpler this way on the change-over to a future version.

Thanks for any insight!

zm
0 Replies
 
khisanthax
 
  1  
Wed 7 Apr, 2004 10:31 am
how's the phpbb mod rewrite flawed? I'm just curious.
0 Replies
 
Craven de Kere
 
  1  
Wed 7 Apr, 2004 11:09 am
zoomsan,

I'll try to write up a modular version of the mod this weekend. I'd wait at least until then.

khisanthax,

I think I misread the code, it looked like the rewriting of the variables on the phpBB side was wrong.

I don't plan to investigate it too much, I've work for clients to do. ;-)

Anywho, it'd take me less time to release the new mod than to investigate the others.
0 Replies
 
titsworth
 
  1  
Wed 7 Apr, 2004 07:20 pm
Figure it out
I figured it out, the order in which you define your Rewrite Rules changes how it analyzes and rewrites pages. Plus the code I posted for you to look at was an old file, which was way off ... whoops. Thanks for the help though. I really look forward to seeing your code and improving my own. Keep up the good work!

George
0 Replies
 
Craven de Kere
 
  1  
Wed 7 Apr, 2004 07:24 pm
If you are talking about the order in the .htaccess file you should eliminate those problems by making each rule the last one processed. Otherwise you'll have a huge headache debugging strange behavior.
0 Replies
 
titsworth
 
  1  
Wed 7 Apr, 2004 07:55 pm
Thanks
Good point, always a couple hundred steps ahead of the game, i see. Thanks! Laughing
0 Replies
 
Superdairyboy
 
  1  
Thu 8 Apr, 2004 11:50 pm
When you say that the Next release is going to be modular. what Exactly doea that mean?
do you have an ETA?
should we wait for the new release or just down load what you have so far?

Dairyboy
0 Replies
 
darxkin
 
  1  
Fri 9 Apr, 2004 06:07 am
i applied this mod on my phpbb but i noticed that i can no longer logout from the forum. pls help.

tnx
0 Replies
 
Craven de Kere
 
  1  
Fri 9 Apr, 2004 09:50 am
Superdairyboy wrote:
When you say that the Next release is going to be modular. what Exactly doea that mean?


There are many elements of this mod. I will separate them, allowing you guys to apply the portions you'd like (also preventin the questions like "I want to do everything in the mod but ____ how do I remove that?"

Quote:
do you have an ETA?


I will **try** to do it this weekend. It won't have some of the updates many have requested but it have the mod_rewrite that is so often requested.

Quote:
should we wait for the new release or just down load what you have so far?


Up to you, I plan to document the code better starting with the update. I'd wait.
0 Replies
 
Craven de Kere
 
  1  
Fri 9 Apr, 2004 09:52 am
darxkin wrote:
i applied this mod on my phpbb but i noticed that i can no longer logout from the forum. pls help.

tnx


1) Restore your backups and remove the mod.

2) Please see: How to Report Bugs Effectively.
0 Replies
 
Superdairyboy
 
  1  
Fri 9 Apr, 2004 11:03 pm
Ok Sounds Good No Pressure


Dairyboy
0 Replies
 
zoomsan
 
  1  
Sat 10 Apr, 2004 06:43 am
Thanks a lot Craven!
0 Replies
 
J R Miller
 
  1  
Sat 10 Apr, 2004 04:40 pm
It seems to me that the "Who is Online" section at the bottom of the forum page is a big drain on the page rank since it lists just a lot of user names. Right? If so, can it be removed? I would like to take it off and simply add it to the top of my statistics page. Is that a good idea? Is it possible? If the answer is yes to both, are there instructions for such a modification?
0 Replies
 
Craven de Kere
 
  1  
Sat 10 Apr, 2004 04:44 pm
Yes, there are already instructions on this thread, basically you just surround it in a user logged in switch. I'll be adding that to the version of the mod that I hope to release tomorrow.
0 Replies
 
J R Miller
 
  1  
Sat 10 Apr, 2004 05:02 pm
ok that would help hide it from the search engine, but would it be possible to copy the same bit of code and completely move it onto another page? Could it be that easy?
0 Replies
 
Craven de Kere
 
  1  
Sat 10 Apr, 2004 10:15 pm
If you copy it to another page you will need code to pull the data. It's not just template code, it needs the SQL queries and PHP. So whatever page you want it on will need the underlying code.
0 Replies
 
Craven de Kere
 
  1  
Sat 10 Apr, 2004 10:37 pm
The new version was released, see the second post for download info.
0 Replies
 
993ti
 
  1  
Sun 11 Apr, 2004 08:20 am
Getting a page not found when i click on a forum as a guest when using the mod_rewrite.
Apache 2.0.49
Server API Apache 2.0 Handler
mod_rewrite loaded as a module

I noticed this line for the .htaccess
RewriteRule ^forums.* index.php [L,NC]

My site isn't located in a folder, just in http:// xxx.xx.xxx.xxx/~trs/
Does that have anything to do with it?
When i'm logged in there's no problem.
Grtz
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/28/2024 at 12:36:36