Webmaster Forum

Go Back   Webmaster Forum > Web Development > Domain Name Forum

Domain Name Forum Discuss or get help with domain name issues. Ask for suggestions, etc.

Thread Tools Display Modes
Share |
Old 08-08-2006, 05:33 AM
tosaha tosaha is offline
Join Date: 08-02-06
Posts: 39
iTrader: 0 / 0%
Domain Redirection

Hey all, I have what I'm sure is a simple issue though oddly enough I'm not finding the answer on my own so I'd thought I'd ask.

I have two domain names for my website. However, I would like to have a redirection set up in the index file where if someone types in firstdomain.com it directs them to firstdomain.com/index2.html and if they type seconddomain.com it sends them to seconddomain.com/index3.html.

Would anyone know of any simple script that would do this? I tried a javascript redirection but that just loaded the content on my page for a second before it redirected me. And I tried to add a php include command before the head content of my page but that didn't work (don't know why).

Any help would be appreciated,

Reply With Quote



Old 08-08-2006, 01:48 PM
waffles's Avatar
waffles waffles is offline
v7n Mental
Join Date: 06-30-06
Location: Not where I want to be.
Posts: 999
iTrader: 1 / 100%
Why do you want javascript? If you can edit the .htaccess file there's no need for any javascript. Search engines will like it better, and people will know where they are.
Reply With Quote
Old 08-13-2006, 09:40 AM
tosaha tosaha is offline
Join Date: 08-02-06
Posts: 39
iTrader: 0 / 0%
Sorry it took so long for me to reply. I actually found my answer here:

Reply With Quote
Go Back   Webmaster Forum > Web Development > Domain Name Forum


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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain Redirection tosaha Coding Forum 14 08-14-2006 08:58 PM
cPanel Redirection = 301 redirection? sixty6 Web Hosting Forum 0 08-09-2006 08:07 PM
Domain redirection DragonEye Reseller Hosting 1 02-02-2006 12:46 AM
Redirection Problem! webexpertz SEO Forum 5 08-18-2005 12:24 AM

V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory

All times are GMT -7. The time now is 05:13 AM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC