Quote:
Originally Posted by Mr. Brian
|
Sorry, but I have to disagree.
I've seen the example posted in that thread and doesn?t seem to work. At least I don?t see the thread name in the URLs.
But this one, I installed in under 2 minutes, and worked great!
However, I made a couple of small modifications to it.
1- I changed the underscore for a dash, that from my SEO experience seems to work better, and also added a dash as shown below:
Instead of using:
= str_replace(" ", "_", $thread[title]);
I used
= str_replace(" ", "-", $thread[title]);
2- Instead of using:
echo "\t<li><a href=\"t-$thread[threadid]$bah.html\"
I used:
echo "\t<li><a href=\"t-$thread[threadid]-$bah.html\"
This way the outcome would be:
HTML Code:
http://www.yoursite.com/archive/index.php/t-18-whatever.html
Instead of:
HTML Code:
http://www.yoursite.com/archive/index.php/t-18whatever.html
Which I think is even better.
But anyway, I?m not a coder? I?m just an SEO and I?m sure this mod will give a big boost to my archive files.
BIG Kudos and clicking InStALL !!!
You can see it working at my
Costa Rica Forum?s archive.
Here?s also the example of the modified thread regarding
Costa Rica Food. ( notice the URL in the Status Bar )
By the way... as you can see, even though the URLs of the threads are changed, the name of the forum in not affected by this cool mod... :ermm: which would be great. Any coder out there with a tip on how to make this?
Thanks