Author Topic: php website - links do not work  (Read 203 times)

Sbot

  • Guest
php website - links do not work
« on: August 27, 2010, 10:07:41 AM »
Hi!
I am not a PHP person and I apologize for my question. I need to be pointed in the right direction before to start digging
I have a website set up in a subdomain… It’s loading fine the content of the first page and is connecting to the content database just fine.
In the main page which is index.php I have the content dynamically loaded and in the content the links are like this
<a href="/index.php/contact_us"><img src="contact_us.gif" /></a>
These links do not work and I am getting the “The page cannot be found”  error “HTTP 404”
The path as it appears in browser address bar is:
http://test.mysite.com/index.php/contact_us
The “index.php” page where all the processing occurs and the content is pulled dynamically is not even hit after accessing those links. I just want to mention that this is a old site and it’s working fine on the existent server but it has to be moved.
Is this a PHP(php.ini) setting or is just a web server issue? 
Thank you very much for your time.

phphelp

  • Administrator
  • Senior Member
  • *****
  • Posts: 777
  • Karma: +3/-0
    • View Profile
    • PHP Help forum
Re: php website - links do not work
« Reply #1 on: August 27, 2010, 11:07:39 AM »
There must be a url rewrite rules in the .htaccess - check on your old site.
Are you experienced in PHP programming and willing to share your knowledge?
Join us at php help forum!