small .htaccess issue

Discussion in 'Apache' started by robibrk, Dec 6, 2008.

  1. #1
    robibrk, Dec 6, 2008 IP
  2. robibrk

    robibrk Well-Known Member

    Messages:
    1,115
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    130
    #2
    Please anyone?
     
    robibrk, Dec 6, 2008 IP
  3. hexmax

    hexmax Peon

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^.*$
    RewriteRule ^shop.php$ "http\:\/\/www\.cgccomicslot\.com" [R=301,L]
    
    Code (markup):
     
    hexmax, Dec 8, 2008 IP
  4. robibrk

    robibrk Well-Known Member

    Messages:
    1,115
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    130
    #4
    Thanks, it worked.
     
    robibrk, Dec 8, 2008 IP
  5. ECS Dave

    ECS Dave Active Member

    Messages:
    244
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    #5
    Don't forget, that if you ever want anyone to access the "shop" page, you will have to either remove, or edit that .htaccess file again...

    Be Well!
    ECS Dave
     
    ECS Dave, Dec 8, 2008 IP