![]() |
Keyword Redirect
/*===================================*\
|| Keyword Redirect || || Author : Anton Kanevsky || Works on : vBulletin 3.5.x - 3.8.x || Released : Jul 01, 2009 || || Time required to install: ~30 seconds || Difficulty: easy \*===================================*/ DESCRIPTION Allows to easily create multiple user-friendly URLs similar to http://www.yoursite.com/go/keyword, where keyword is one of the keywords defined via the admincp. STATISTICS File Uploads: 1 Products to Install: 1 INTRODUCTION Important information regarding file uploads for this hack: To install this product, you must upload a bunch of files. The .htaccess file goes into your website root, and all other files go into your forum root. If your website root is different from your forum root, please open the .htaccess file and edit it according to the instructions in that file. If there is already a .htaccess file in your website root, you must copy the contents of the file in this package and paste it into the one you already have. VERSION HISTORY 1.1.0 [+] Compatible with vBulletin 3.5.x - 3.8.x. [+] Easier to understand documentation (hopefully). 1.0.0 First Release The installation manual is contained within the attached file. IF YOU LIKE MY HACK, PLEASE CLICK INSTALL |
<font size="3">First Post Reserved.</font>
|
VERY AWESOME. GREAT HACK
/install |
hmmm not working??
I have the vbSEO hack installed, therefore, my htaccess file already had RewriteEngine On in the beginning...do I still add all of your stuff above it? |
You would need to add everything except for RewriteEngine On.
I do not have vBSEO .htaccess file, so I cannot give you further instructions. |
Ok let me edit that and see if it helps :)
|
Hmmm nope that did not work...here is what I have:
Code:
RewriteEngine On |
First of all, is your forum in the root of your site?
If it's not, and it seems to me that it's not, then try changing: RewriteRule ^go/(.*)$ keyword.php?keyword=$1 to RewriteRule ^go/(.*)$ forums/keyword.php?keyword=$1 |
Hi there, yes, the forums are in the root directory :)
|
I would bet this would conflict with vBSEO since they are both rewriting the urls.
How does this determin which keyword to place? I would like to see a demo |
Quote:
As for the question below, you add the keywords via admincp - see screenshot. |
whats the point of that mod? i dont get it?
|
I don't really understand the point, but it was easy to make and someone asked me to - so I did.
|
arf ok :-/
|
OK dumb question but what does this hack do and what are the advantages of having it?
|
This hack allows you to create URL shortcuts to either internal or external links within your own board.
The shortcuts look like: http://www.yoursite.com/go/myshortcut |
Not GO :(
What is problem?? I uploaded good and uploaded product... www.xboxers360.net my keyword is xboxers360 to http://www.xboxers360.net any xboxers360 is URLed :( HELPME |
oops wrong thread
|
Quote:
|
Psionic Vision, this a great product! I've installed it and started playing with it. The way you coded it made possible to create virtual directories of shortcuts as well. For instance I was able to create the shortcut products/nikon and linked it to Nikon's site. I then typed http://www.exampleURL.com/go/products/nikon and it worked! I also didn't use the RewriteBase part of the .htaccess and just altered the rewriteURL as you suggested in an earlier post. All in all, Needs better documentation for most people, though. Other than that, a great hack!
|
To answer all the 'what the heck is this?' questions...
I think what this does it basically give the admin the chance to make urls that redirect to other pages. Sort of like AOL keywords. It may be useful if you were running, for example, a dictionary site or glossary and the user types /go/dog and then that would redirect to a forum search with all posts about dogs? lol. |
I have the same problem: I have vbseo installed, I tried to install this hack but don't works. I have the forum in site.ext/forum/ and I added this code at .htaccess
PHP Code:
Is a conflict with vbseo? |
This hack does not change anything in threads. It simply allows you to use those links, but you have to add the links in templates yourself.
|
Can external links be used as well? Also, I have mine in a subdirectory as well, did the edit above, and still doesnt work for me either.
|
Yes, you can use any links.
As for subdirectories - see .htaccess commentary added by this hack. |
RewriteRule ^go/(.*)$ community/keyword.php?keyword=$1
I have. And still no go. |
The RewriteBase part is what you need.
|
Still no go.
RewriteBase / RewriteRule ^go/(.*)$ community/keyword.php?keyword=$1 |
Try:
RewriteBase /community/ RewriteRule ^go/(.*)$ keyword.php?keyword=$1 |
Copied and pasted...and still nothing.
I have this in my forum subfolder (which is 'community'). I have tested it numerous times and still nothing even though I have entered the info as stated and everything shows in the admincp. The forums do not reflect any changes and no keywords are highlighted or anything else. |
All times are GMT. The time now is 06:32 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|