Quick Login   
 
Register AdminFusion Tutorials
 
Featured Sponsors


One.com Domain and Hosting


Register
Forum of the Month
Australian Webmaster
fotm

A webmaster forum specifically catering for Australian site owners. We discuss site development, marketing and management issues.

Tag Cloud
Latest Threads
Forum Stats
7,900 Members
165,094 Posts
35 Users Online

Please welcome our newest member, Jors308932!

Affiliates
Go Back AdminFusion » Getting Started » Software » Redirecting all web pages!
Welcome to the AdminFusion. AdminFusion is the ultimate resource for forum administrators and moderators. With exclusive articles, interviews with the experts, free downloadable skins, and the revolutionary post exchange system - PostFusion, AdminFusion is the place to go for all of your forum needs.  By joining AdminFusion, you will become part of a thriving admin community and immediately gain access to all of these resources. Registration is fast, simple and absolutely free so please join us today!
Want more than our forums? Try these: Post Fusion Forum Matrix
Old 11-09-2006, 09:22 PM   #1

Title: Apprentice

Points: 2,372, Level: 13Points: 2,372, Level: 13Points: 2,372, Level: 13
Level up: 14%, 78 Points neededLevel up: 14%, 78 Points neededLevel up: 14%, 78 Points needed
Activity: 100%Activity: 100%Activity: 100%

Join Date: Oct 2006

Posts: 207

rockinaway is on a distinguished road
Send a message via MSN to rockinaway  
 
Redirecting all web pages!

I saw this somewhere around here, couldn't find it. I think Ryan, admins ir, gave it as a .htaccess change.

I have an old domain, and I don't want to delete any files, but instead want them to all redirect to my new domian.

Can anyone get me the code or thread?

Also would this redirect bots too?
Reply With Quote
Old 11-09-2006, 11:06 PM   #2

Title: Member

Points: 1,872, Level: 12Points: 1,872, Level: 12Points: 1,872, Level: 12
Level up: 13%, 278 Points neededLevel up: 13%, 278 Points neededLevel up: 13%, 278 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Apr 2006

Posts: 127

Ben_S has a spectacular aura aboutBen_S has a spectacular aura about
 
 
Code:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^olddomain.com$        [OR]
RewriteCond %{HTTP_HOST} ^www.olddomain.net$
RewriteRule ^(.*)$ http://www.newdomain.com/$1 [R=301,L]
Will redirect anything from the old domain to the new domain, i.e. www.olddomain.com/forum/index.php?topic=35 will redirect to www.newdomain.com/forum/index.php?topic=35
__________________
Liverpool FC Forum with 3 million+ posts. Powered by SMF
Reply With Quote
Old 11-10-2006, 05:54 PM   #3

Title: Apprentice

Points: 2,372, Level: 13Points: 2,372, Level: 13Points: 2,372, Level: 13
Level up: 14%, 78 Points neededLevel up: 14%, 78 Points neededLevel up: 14%, 78 Points needed
Activity: 100%Activity: 100%Activity: 100%

Join Date: Oct 2006

Posts: 207

rockinaway is on a distinguished road
Send a message via MSN to rockinaway  
 
Ok done that, works great.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

 
Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
My guide to VBSEO. Features Explained BamaStangGuy Search Engine Optimization 20 11-26-2007 02:09 AM
phpBB pages indexed by Google and then vanished openmind Search Engine Optimization 6 10-19-2006 02:53 PM

AdminFusion

All times are GMT +1. The time now is 05:32 AM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0 © 2005-2008 AdminFusion - All Rights Reserved



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72