Help Needed to turn off Redirect

Discussion in 'General Programming Chat' started by surferket, Mar 4, 2009.

  1. surferket

    surferket Junior Member

    Joined:
    Dec 5, 2008
    Messages:
    179
    Likes Received:
    116
    I have this problem with my article directory when I click on any articles:

    Code:
    http://xxxxxxxx.com//articles/326/1/The-Happiness-Gene/Page1.html

    note the "//" before "articles/326/1......

    This is causing the articles not showing when I click on the article link.

    Does anyone know which file is causing this scripting error and how I should correct it?

    Please help.

    Thanks
     
    Last edited: Mar 4, 2009
  2. lord

    lord Junior Member

    Joined:
    Jan 21, 2009
    Messages:
    176
    Likes Received:
    251
    probably when you edited your config, you entered your website url as
    HTML:
    http://www.mysite.com/
    
    with an ending dash


    so go back and remove that ending dash from wherever is your config file

    so it looks like this
    HTML:
    http://www.mysite.com
     
    • Thanks Thanks x 1
  3. surferket

    surferket Junior Member

    Joined:
    Dec 5, 2008
    Messages:
    179
    Likes Received:
    116
    You are totally correct. That was where I made the mistake.
    Thank you.