vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Redirect 301 problem, help me please. (https://vborg.vbsupport.ru/showthread.php?t=156363)

Yellow Slider 08-27-2007 10:21 AM

Redirect 301 problem, help me please.
 
this is my .htaccess file -
Quote:

RewriteEngine On


RewriteRule ^or\/(.*)$ http://www.israelbody.com/$1 [R=301,L]

RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images)
RewriteRule ^(.*)$ $1 [L]

RewriteCond %{HTTP_HOST} !^www\.atraf-f\.net
RewriteRule (.*) http://www.atraf-f.net/$1 [L,R=301]

RewriteRule ^\/(.*)$ http://www.iatraf.co.il/$1 [R=301,L]
I have one board which was on a directory in my root folder, and moved to a new domain with redirect 301.

it was one www.atraf-f.net/or and moved to www.israelbody.com

now, I have another board on www.atraf-f.net which I want to move to - www.iatraf.co.il
with redirect 301.

I need a script that will redirect all the files in atraf-f.net to www.iatraf.co.il.
and that the redicrect from atraf-f.net/or will still work, and it will be redirected to www.israelbody.org with all the files (like it is now), It's a complicated thing to do :\

Can you help me please?, thanks.


All times are GMT. The time now is 02:44 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.00944 seconds
  • Memory Usage 1,709KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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