Print Reseller Scheme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Strange Page Linking Structure

Discussion in 'Website Design Forum:' started by DaveGears86, May 31, 2012.

  1. DaveGears86

    DaveGears86 Member

    I have come across a website which has a strange linking structure (or, atleast it's strange to me).

    The home page links to folders instead of .html or .php extensions (e.g. - "") and inside this "about" folder is a "index.php" file which is the "About" webpage (this is the same folder/index.php structure for all the other pages on the site, even "home") - I understand how this works, because index.php is default in each folder. But the next part is where I get very confused -

    If I create "newpage.php" and put this into the "home" folder (so that the "home" folder now contains two files = "index.php" and "newpage.php"). And then if I create a new link on the "index.php" page linking to "newpage.php" and then test the link, newpage.php doesn't display, instead I get taken to the index.php (always of "home" folder)

    Does anybody know what is at work here? I just want to revert this back to a simple structure where all the pages (.htm/.php) are in the same directory and not segregated by their own personal folders.


    Attached Files:

  2. DaveGears86

    DaveGears86 Member

    also, this is what is contained in the htaccess file -
    I'm some what sure that this has something to do with the problem but I'm overwhelmed with options of what could be wrong!
  3. Stationery Direct

    Stationery Direct Administrator Staff Member

    Probably a stupid question but are you putting the correct path to the page? /home/newpage.php ... i.e not just /newpage.php
  4. DaveGears86

    DaveGears86 Member

    Thanks for replying Boss,

    Yup, I've checked multiple times that the path is correct and have also deleted the link and started over countless times (I've even linked it by selecting the file rather than hand typing the path/filename).

    It's amazing how something simple is not working the way it should.

    However, The site is partly CMS based (new pages have to be created from a control panel/cms interface by logging in through the site), maybe this is having an effect on traditional links I'm trying to create. (I have used the cms to make new pages but it creates a new folder and then an index.php inside of that folder, which is exactly what I'm trying to eradicate.

Share This Page