vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   URL redirect (https://vborg.vbsupport.ru/showthread.php?t=203423)

rolloffhill 01-28-2009 10:24 PM

URL redirect
 
Ok, I've tried searching for this but with no avail.. Maybe I'm an idiot and it's hiding under my nose, but here is what I want to do.

When someone types in www.example.com I want it to redirect it to www.adifferentsite.com without physically changing the url on the forums.

Basically a url redirect. Not seeing it the options.

Any help to point me in the right direction would be greatly appreciated.

Bawtneez 01-28-2009 10:25 PM

In your site cpanel there should be a section under Domains where you can ad redirects.

rolloffhill 01-29-2009 01:50 AM

Alright that wasn't a good explanation of what I want to do, I wasn't thinking strait.

When someone types on the forum www.example.com I want it to replace it with www.anothersite.com instead of a redirect. Basically censoring and replacing the first site with the second.

Medtech 01-29-2009 02:01 AM

<a href="https://vborg.vbsupport.ru/showthread.php?t=198962" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=198962</a> check this template modification

rolloffhill 01-29-2009 02:18 AM

I'm not wanting to redirect people from my site, I'm just wanting to change the way it appears when they type it.

As far as changing up that code to fit what I need to do, i wouldn't have the slightest idea on how to do that.

Medtech 01-29-2009 02:30 AM

Oh, i see what you mean, it will redirect to another site without showing the different url. That is done wherever you have your domain hosted at. i read an article about that on domainit.com, you may want to go there and read up on it. maybe check your domain host.

rolloffhill 01-29-2009 02:43 AM

That was the original idea, but at this point I would be ok with just replacing a with b. Basically a way to censor out the website and plug in another site name.

--------------- Added [DATE]1233204557[/DATE] at [TIME]1233204557[/TIME] ---------------

Ugh nevermind, I'm an idiot. Got it with replacement variables.

Thanks for the help guys.


All times are GMT. The time now is 09:43 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01457 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete