The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
change showpost.php (like vbSEO)
Hi,
I've looked at vBseo, but i'm not interested in over 90% of the stuff it does (and I don't like the fact that it's encrypted code). So the only 2 things that I wanted out of it were: The rel=nofollow links for certain areas, so they don't get spidered/cached on google. (which I was able to add manually) The showpost.php modification. This seems reasonable to me... I see no need to have it take people to a seperate page when they click a post number in postbit. This page not only looks ugly, but is an entirely unneccessary extra query and load on my database. Therefore, I'd love it if someone could come out with a mod that will take the #1, #2 #3, etc links and change them from: http://www.yourdomain.tld/forum/show...52&postcount=1 TO http://www.yourdomain.tld/forum/showthread.php?p=1216452#post1 Where it will just take the person who clicks it directly to the appropriate post in the thread. (I assume this uses "a name" html tags to do this.) THANK YOU! |
#2
|
||||
|
||||
Just change showpost.php to showthread.php
|
#3
|
||||
|
||||
Haha, that works great...
You (my friend) are a genious, and I am an idiot. :up: THANK YOU! For anyone else wanting to do this in the future, just goto the style manager and edit templates and choose the postbit (and/or postbit_legacy) and search for showpost.php and change it to showthread.php. THAT SIMPLE! |
#4
|
||||
|
||||
You're not an idiot, I've just got 5 years expirence on ya
|
#5
|
||||
|
||||
Thanks for the both of you. I learned something new.
|
#6
|
||||
|
||||
Something to bear in mind, by doing this, you are actually *increasing* the number of URLs that the thread in question will have.
This is creating Duplicate Content, something that the search engines don't like. |
#7
|
||||
|
||||
Quote:
Sorry, is it? I was under the impression that search engines ignored #XXX after a url? It's similar to using an "<a name=" tag in html. no? |
#8
|
||||
|
||||
showthread.php?p=12345 and showthread.php?t=34567 are different URLs, no?
Both point to the same content, right? |
#9
|
||||
|
||||
Ok, for my purposes it doesn't matter... since I don't allow search engines to spider my forums anyway (only the archive, which is custom made, not vB stock).
However, since this is the case then anyone else reading this should add the rel="nofollow" tag to the href so that search engines don't spider it. (Where you change showpost.php to showthread.php... example: <a href="link" rel="nofollow">link</a>) Thanks kall & Zachery! |
#10
|
||||
|
||||
I actually figured out an even better way to do this...
Quote:
THANKS for all your help guys!! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|