+ Reply to Thread
Results 1 to 9 of 9

Thread: 301 redirect

  1. #1
    ziycon's Avatar
    ziycon is offline Wannabe Geek ziycon will become famous soon enough
    Join Date
    Jan 2007
    Location
    Dublin
    Posts
    461

    Default 301 redirect

    I have the below redirect, i'm wondering is it possible for the domain name to show up and not the redirected ip when the redirect happens?

    Code:
    RewriteCond %{HTTP_HOST} ^irishgamingnetwork.ie$ [OR]
    RewriteCond %{HTTP_HOST} ^www.irishgamingnetwork.ie$
    RewriteRule ^/?$ http://0.0.0.0 [R=301,L]
    

  2. #2
    louie's Avatar
    louie is offline Senior Member louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough louie will become famous soon enough
    Join Date
    Jan 2006
    Location
    Dublin, Ireland
    Posts
    2,328

    Default

    And what domain is that?
    :. Web Design & Development Web Design Ireland
    :. Search Engines Optimization Search Engines Optimization
    :. Car Parts & Accessories Car Parts
    :. Cars Ireland Cars Ireland
    :. I Have 2 Find It Directory SEF Directory

  3. #3
    ziycon's Avatar
    ziycon is offline Wannabe Geek ziycon will become famous soon enough
    Join Date
    Jan 2007
    Location
    Dublin
    Posts
    461

    Default

    I want the irishgamingnetwork.ie or www,irishgamingnetwork,ie name to show up instead of the ip depending on which one the user types into the browser.
    I haven't received the ip address hence the 0's, i'll have it later on, forgot to say that!
    Last edited by ziycon; 03-04-2008 at 11:26 AM.

  4. #4
    paul's Avatar
    paul is offline ninja SEO paul has much to be proud of paul has much to be proud of paul has much to be proud of paul has much to be proud of paul has much to be proud of paul has much to be proud of paul has much to be proud of paul has much to be proud of paul has much to be proud of paul has much to be proud of
    Join Date
    Dec 2006
    Location
    .de
    Posts
    1,277

    Default

    I think you are doing this arse backwards, the rewrites will move to the IP, instead of the IP going to the domains.

  5. #5
    ziycon's Avatar
    ziycon is offline Wannabe Geek ziycon will become famous soon enough
    Join Date
    Jan 2007
    Location
    Dublin
    Posts
    461

    Default

    Is there anyway to make the domain move to the ip with the domain still showing in the browser!?

  6. #6
    blacknight's Avatar
    blacknight is offline Web Slave blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold
    Join Date
    Jan 2006
    Location
    Ireland
    Posts
    7,903

  7. #7
    ziycon's Avatar
    ziycon is offline Wannabe Geek ziycon will become famous soon enough
    Join Date
    Jan 2007
    Location
    Dublin
    Posts
    461

    Default

    Quote Originally Posted by blacknight View Post
    Use dns and stop playing with redirects
    I was hoping i didnt have to but it looks like i will!

  8. #8
    blacknight's Avatar
    blacknight is offline Web Slave blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold blacknight is a splendid one to behold
    Join Date
    Jan 2006
    Location
    Ireland
    Posts
    7,903

    Default

    Quote Originally Posted by ziycon View Post
    I was hoping i didnt have to but it looks like i will!
    What you are trying to do is VERY simple via DNS

    Trying to do it using redirects at HTTP level is just plain wrong

  9. #9
    ziycon's Avatar
    ziycon is offline Wannabe Geek ziycon will become famous soon enough
    Join Date
    Jan 2007
    Location
    Dublin
    Posts
    461

    Default

    Quote Originally Posted by blacknight View Post
    What you are trying to do is VERY simple via DNS

    Trying to do it using redirects at HTTP level is just plain wrong
    I know how easy it is to change the DNS settings, just wanted to try something different.

+ Reply to Thread

Similar Threads

  1. New Domain name with 301 redirect
    By Wenlock in forum Search Engine Optimisation
    Replies: 6
    Last Post: 18-03-2008, 01:34 PM
  2. 301 redirect issue
    By lostie in forum Webmaster Discussion
    Replies: 2
    Last Post: 17-07-2007, 12:33 PM
  3. 301 redirect question
    By JamesA in forum Coding Help
    Replies: 11
    Last Post: 06-02-2007, 09:59 PM
  4. 301 Redirects on Windows 2003
    By Gavin in forum Server / Technical Administration Tips and Queries
    Replies: 7
    Last Post: 02-10-2006, 07:00 PM
  5. Shorter URLs with 301 redirect
    By blacknight in forum Webmaster Discussion
    Replies: 1
    Last Post: 31-08-2006, 09:08 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Optimization by vBSEO

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