Previous Thread
Next Thread
Print Thread
Rate Thread
#227635 11/10/2002 7:09 AM
Joined: Apr 2001
Posts: 27
Journeyman
Journeyman
Offline
Joined: Apr 2001
Posts: 27
Mod Name: Search Engine Hack 0.9
Description:
The first part of this hack replaces the links to postlist and showthreaded with simple ones without querystrings, such that search engines index them.
The second - but independent - part of this hack replaces the HTML-titles in some inportant files with apropriate titles. It also adds meta description and keywords.
Working under: 6.1.1
Any pre-requisites: apache, access to .htaccess, mysql
Author(s): nòóx (Hannes Schmiderer)
Demo: www.downhill-board.com (currently still 5.4.1) and www.nooxnet.com/ubbthreads.php (6.1.1)
Files Altered (Part 1):
- ubbt.inc.php
- ubbthreads.php
- templates\default\ubbthreads.tmpl
- templates\default\postlist.tmpl
- postlist.php
Files Altered (Part 2):
- ubbt.inc.php
- /langugages/*/generic.php
- ubbhreads.php (incl. languages files)
- categories.php (incl. languages files)
- postlist.php (incl. languages files)
- showflat.php (incl. languages files)
- showthreaded.php (incl. languages files)
- faq*.php incl. languages files)
Database Altered: one additional Table (urls)
New Files: functions.php, proc, (.htaccess)
Any other info: See attachment. Probably not the easiest one, but if you have advertisement on your forum it can bring you some $$$.
Attachments
60163-searchenginehack.txt (0 Bytes, 117 downloads)

Sponsored Links
Joined: Apr 2001
Posts: 27
Journeyman
Journeyman
Offline
Joined: Apr 2001
Posts: 27
The proc file. remove the .txt extension
Attachments
60164-proc.txt (0 Bytes, 57 downloads)

Joined: Apr 2001
Posts: 27
Journeyman
Journeyman
Offline
Joined: Apr 2001
Posts: 27
functions.php with MakeSearchEngineFriendly(). Remove .txt extension
Attachments
60166-functions.php.txt (0 Bytes, 54 downloads)

hPm #227638 11/11/2002 12:15 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Cool

I don't see it in action on your demo sites, unless I am missing something obvious


- Allen wavey
- What Drives You?
Joined: Apr 2002
Posts: 610
Code Monkey
Code Monkey
Joined: Apr 2002
Posts: 610
duuuuude,

I want it! This would be a nice thing for me, as my key words line most of the posts in my forum

Sponsored Links
Joined: Apr 2001
Posts: 27
Journeyman
Journeyman
Offline
Joined: Apr 2001
Posts: 27
I have now installed my test version in the production environment.

see:
http://www.downhill-board.com/?forcebot=english

And look at the urls to the boards. Same for postlist. This is what googlebot and scooter and many other search engine bots see.

I have described in the file, why I do not show these special urls to all users.

And see the anonymous users on:
http://www.downhill-board.com/online.php?Cat=

On 5.4.1 the ones who came from googles and the googlebot itself did not produce any location information. But in 6.1.1 it's a bit wired. I have to work on this. The 216.239.46.x IPs are the google bots. Yesterday Scooter (Altavista) visited my page.

And here the result:
http://www.google.com/search?hl=en&...oard.com+downhill&btnG=Google+Search

or Altavista:
http://www.altavista.com/web/results?q=+host%3Adownhill-board.com


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)