SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: pages being redirected to index.php

  1. #1
    SitePoint Addict
    Join Date
    Sep 2006
    Posts
    236
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    pages being redirected to index.php

    Hello

    All my pages are being redirected to index.php

    The original page doesn't even execute, it just redirected to index.php

    The strange thing is it works if I put an ending forward slash e.g

    www.website.com/hello.php (this will redirect without executing)
    www.website.com/hello.php/ (this will execute)

    why is this happening?

  2. #2
    It's all Geek to me silver trophybronze trophy
    SitePoint Award Recipient ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, Australia
    Posts
    19,999
    Mentioned
    217 Post(s)
    Tagged
    2 Thread(s)
    Do you have anything in your htaccess file? How is your site constructed? (Is it bult around a CMS?)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •