vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Redirection from Old Forum to New - Page name should same (https://vborg.vbsupport.ru/showthread.php?t=319114)

secondeye 06-17-2015 06:47 AM

Redirection from Old Forum to New - Page name should same
 
Hello,
I have a Forum called: www.OLDForum.com/forum/forum.php

I had purchased a new domain and want to change my domain name but i need my page name should be same so If Visitor comes to my Forum

www.OLDForum.com/forum/forum.php and All other Forum post and pages

Visitor should redirect to:

www.NEWForum.com/forum/forum.php and All other Forum post and pages

Also need to do in 301 Redirection so that my page index and ranking should be redirect permanently.

I had tried to search first before posting but didn't find good solution.

Any Help?

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

Got it:
Solution > Add below line in your Installed Main Forum folder at htaccess file

Add this line:
Code:

Redirect 301 / http://www.NEWForum.com/
Once done, your visitors to:


www.OLDForum.com/forum/forum.php and All other Forum post and pages

Will redirect to:

www.NEWForum.com/forum/forum.php and All other Forum post and pages

SPEEDKILLZ 06-17-2015 04:10 PM

You can do this by forwarding your old domain to the new one. You can do this where ever you purchased your domain under settings for the old domain/forwarding on/new url

ForceHSS 06-17-2015 04:20 PM

.htaccess file

Code:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^oldsite\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.oldsite\.com$
RewriteRule ^(.*)$ http://www.newsite.com/$1 [R=301,L]



All times are GMT. The time now is 11:47 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.01000 seconds
  • Memory Usage 1,713KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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