vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   how to redirect to old link (https://vborg.vbsupport.ru/showthread.php?t=304815)

gsmlover4u 11-21-2013 12:53 PM

how to redirect to old link
 
hi to all i want to know how to redirect old link to new links after change root of website
www.example.com TO www.example.com/forum

is it possible after change root link will not broke in google search how to redirect old link to new link when some one search in google

Disco_Dave 11-21-2013 01:35 PM

Something like this:

PHP Code:

//301 Redirect Entire Directory
RedirectMatch 301 www.example.com(.*) www.example.com/forum/$


gsmlover4u 11-22-2013 03:53 AM

Quote:

Originally Posted by Disco_Dave (Post 2462620)
Something like this:

PHP Code:

//301 Redirect Entire Directory
RedirectMatch 301 www.example.com(.*) www.example.com/forum/$


will you please guide to me where i place .htaccess file
in www.example.com
or www.example.com/forum in forum folder
also i am using vbseo vb version 4.2.1

Spangle 11-22-2013 05:29 PM

you can create a .htaccess file yourself, and upload it to the root of your forum.

If you are using 301 redirect Google recommends that you tell them to avoid duplicate content, and to stop their spiders crawling the old site.

You can do all this through your webmaster tools settings.

A simple 301 redirect look like this :

Redirect 301 / http://www.your new domain/

gsmlover4u 11-23-2013 04:00 AM

with this when some one search in google to my forum then he will redirect to old link of thread or post TO new link of threads or posts
or he will see not found 404?

gsmlover4u 12-02-2013 05:33 PM

no way redirect old thread link to new thread link after change root ?

cellarius 12-02-2013 10:09 PM

Google: Redirect 301 .htaccess.


All times are GMT. The time now is 06:39 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.01045 seconds
  • Memory Usage 1,725KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (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