Buying Quick .htaccess Fix

Discussion in 'Programming' started by vansterdam, Dec 2, 2011.

  1. #1
    I'm having problems redirecting a specific page with .htaccess

    The problem is that I had tried to use url rewriting to name the file Shell.htm. This turned out to be a filename that causes server issues. So I changed the file to a different name, but google still has links indexed pointing to Shell.htm which won't open. I'm hoping to get this somehow fixed so that url properly redirects to the new one. The redirects I've tried don't seem to work. Hopefully someone knows some way to get around this.

    Thanks.
     
    vansterdam, Dec 2, 2011 IP
  2. Einheijar

    Einheijar Well-Known Member

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    3
    Trophy Points:
    165
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Einheijar, Dec 2, 2011 IP
  3. vansterdam

    vansterdam Notable Member

    Messages:
    3,145
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    245
    As Seller:
    100% - 2
    As Buyer:
    100% - 0
    #3
    As mentioned in my original post, a basic redirect would not work in this case. htaccess seems to treat the filename shell.htm differently.
     
    vansterdam, Dec 2, 2011 IP
  4. blacknet

    blacknet Active Member

    Messages:
    709
    Likes Received:
    16
    Best Answers:
    2
    Trophy Points:
    70
    As Seller:
    100% - 0
    As Buyer:
    100% - 2
    #4
    if you still can't fix it, use a meta header to refresh the page to the new URI, seems like a strange issue though..
     
    blacknet, Dec 3, 2011 IP
  5. vansterdam

    vansterdam Notable Member

    Messages:
    3,145
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    245
    As Seller:
    100% - 2
    As Buyer:
    100% - 0
    #5
    I was under the impression that meta refreshes were bad for seo. The thing is that the file is in a virtual directory created via htaccess url rewriting. I guess I could still create a html file for this one url. Technically that url is supposed to load a php file.
     
    vansterdam, Dec 3, 2011 IP