ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Index.php not showing

March 05, 2014 10:49pm

Subscribe [2]
  • #1 / Mar 05, 2014 10:49pm

    sore eyes

    34 posts

    I am trying to get back to the default setting of the index.php showing in the address bar.

    I have removed the .htaccess file, entered index.php into the admin> general configuration, checked that the config file editor $config[‘index_page’]=index.php, flushed the cache. Yet still no show. Any ideas?

  • #2 / Mar 06, 2014 2:41am

    ahmad saad

    364 posts

    Hi,

    can u post a simple code on how u generate the links in your site.

    Regard’s.

  • #3 / Mar 06, 2014 10:17pm

    sore eyes

    34 posts

    I am not sure what you mean. Here is some of the code for the navigation bar.

    <li><a href="http://{site_url}" title="Starting Page" class="blog">Home</a></li>
        <li><a href="http://{site_url}Book/Introduction" title="Read the Book" class="blog">Book</a></li>
        <li><a href="http://{site_url}forums" title="Interact with others" class="blog">Forum</a></li>
        <li><a href="http://{site_url}contact" title="Get in touch" class="interact">Contact</a></li>

    the home page is located in the site template group, of which the index is for the whole site. This works okay.
    The book page has a channel called ’ book’. this does not work when clicked, as he needs the index.php to go to the correct page.The contact page is in the site template group, and when clicked, gives a EE 404 errorr..
    forums neeeds index.php to work okay.

    in admin>general configuration>URL to the root directory of your site = http://localhost/getMoreTherapyClients/

    whilst creating this post, the index.php magically appeared for all links and the problem will solved! I could not discover why this happened.I restarted my browser, and the magic had gone.

    many thanks for your help

  • #4 / Mar 10, 2014 1:56am

    sore eyes

    34 posts

    I thought the problem might be to do with the mod_rewrite removing a segment of the address. But it turned out to be a cache issue. clearing the cache in both the browser and EE did the trick.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases