vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Same forum,same server, new Domain? (https://vborg.vbsupport.ru/showthread.php?t=190919)

Fotno 09-14-2008 06:15 PM

Same forum,same server, new Domain?
 
I know this is probably simple to do,but I'm not really proficient yet.
I just want to change the domain for my forum.
I have made an alias domain for my domain now,but of course the old url shows up after putting in the alias url.I don't want my old url to show up at all.
I'd appreciate any help I could get with this problem.
Thanks.

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

Anybody?

Dismounted 09-15-2008 05:25 AM

So you want to get rid of the old URL in the first place? Or do you want to keep both URLs?

Fotno 09-15-2008 12:08 PM

I would like to get rid of my old URL and go with my new one.

space? 09-15-2008 01:36 PM

You can do this easily with an HT-302 redirect.

Fotno 09-15-2008 02:06 PM

Could you elaborate on that please?
How do I implement?

punchbowl 09-15-2008 02:21 PM

put this in a .htaccess file in the root of your old domain

RewriteEngine on
RewriteRule ^/~(.+) http://newdomain.com/~$1 [R,L]

Fotno 09-15-2008 11:37 PM

Thanks.I'll give it a try.


All times are GMT. The time now is 09:13 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
  • Page Generation 0.01218 seconds
  • Memory Usage 1,711KB
  • 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