Computer Geeks

Computer Geeks

Geek Shop

Geek News

Geek Stuff

Science Geek

Computer Gaming

Linux Chat

Building Websites

Computer Forums

Computer Help Forum

Computer Hardware Forum

Computer Software Programs


Go Back   Computer Forums > Geek Stuff
FAQ Community Calendar Today's Posts Search

Geek Stuff General forum for discussing anything geek. If your topic doesn't fit in any of the other forums then post it here.

Computer Geeks
» Active Discussions
Computer Geeks
No Threads to Display.
» Other Websites
- Software Publishing

- Server Hardening
Reply
 
Thread Tools Display Modes
  #11  
Old 02-06-2009, 10:21 AM
John John is offline
Administrator
GB Admin
GB GEEK
 
Join Date: Jun 2006
Location: NJ
Posts: 255
Default

If you're looking to redirect everything from one domain to another, DNS Made Easy has a domain redirection config that can be setup through their service. It's very simple to use and basically has no limit on the number of pages that can be redirected in an easy way. You can set it up to redirect everything to a specific url or have everything redirect to their exact same file locations but using a different domain name. This is really useful when switching to a different domain as all you need to do is point the new domain to your website, then make the DNS redirection change and presto - your entire site is now running from the new domain.

If you're only wanting to redirect a few thousand pages, but not ALL pages, then do not go the DNS Made Easy route. There are a few ways you can do this.

One way would be to use a single PHP file for each page you want to redirect. In my opinion, that is not the simplest way to do it.

The best way would be if all the files you want to redirect are in the same folder (without any files being in there that you do not want to redirect). If everything is in a single folder or multiple folders, without other non-redirecting files, then you could use either a single error page for those folders on your site which redirects to a single url or htaccess. Use htaccess if you want each page to point to a unique page on another domain, but those pages on the other domain must be named similarly so that you can script it to be mostly automated in the htaccess config file (or httpd.conf).
__________________
John Hammell
Network Administrator
Computer Geeks
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Powered by vBadvanced CMPS v3.2.3

All times are GMT -5. The time now is 03:21 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
HTML Help provided by HTML Help Central.