The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Auto URL Shortener on Another Domain
How to shorten URL like screenshot below:
So if it's https://vborg.vbsupport.ru/showthread.php?t=247939 It would shorten to http://www.vb.org/247939 [EXAMPLE] I think it's only .htaccess styling and no need vBulletin Modification, any help would be appreciated. Thank you for your kind attention and help |
#2
|
||||
|
||||
<i>*bump*</i> Anybody here ?!
|
#3
|
||||
|
||||
Assuming you own the shorter domain (vb.org in your example) AND that it's setup to show the same content as the longer domain already (vbulletin.org) then you just need an .htaccess file in your web root directory...
For example my code rewrites http://juot.net/ to http://www.juot.net/ Code:
RewriteEngine on RewriteCond %{HTTP_HOST} ^juot.net$ RewriteRule ^(.*)$ "http\:\/\/www\.juot\.net\/$1" [R=301,L] http://www.affiliatebeginnersguide.c...direction.html and recommends tbe following htaccess code: Code:
#Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^www.olddomain.com$[OR] RewriteCond %{HTTP_HOST} ^olddomain.com$ RewriteRule ^(.*)$ http://www.newdomain.com/$1 [R=301,L] |
#4
|
||||
|
||||
but that still using https://vborg.vbsupport.ru/showthread.php?t=12345
how to make if people visit http://vb.org/12345 they're automatically forwarded to https://vborg.vbsupport.ru/showthread.php?t=12345 ? |
#5
|
||||
|
||||
So you want the address bar to say "vb.org" but show the info from "vbulletin.org" ?
That I don't know. |
#6
|
||||
|
||||
it doesn't matter on address bar will show vb.org or vbulletin.org
but if people visit http://vb.org/12345 they will be forwarded to https://vborg.vbsupport.ru/showthread.php?t=12345 |
#7
|
|||
|
|||
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|