Results 1 to 2 of 2

Thread: php MVC site migrated but errors

  1. #1
    Fanatic Member
    Join Date
    Aug 07
    Posts
    806

    php MVC site migrated but errors

    i have a website already built up by someone else, he used PHP MVC to develop this website.
    it was working correct on the previous hosting. but now we have changed hosting and uploaded full backup on new host.
    the problem is when i click on any link in the website it always displays page not found :-(
    how this can be resolved?

    here is code of the htaccess file.
    Code:
    RewriteEngine On
    
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-l
    
    RewriteRule ^(.+)$ index.php?uri=$1 [QSA,L]

  2. #2
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 08
    Location
    Trivandrum, Kerala, India
    Posts
    7,557

    Re: php MVC site migrated but errors

    There isn't anything that appears to be affecting, when you change the host! I mean, the above redirect conditions doesn't cause any issues even if you changed the host.
    * Did you made sure that the folder structure are correct ?
    * Have you restored the database and set the new db settings in your app ?
    * Are you able to access the home page or the home page is also not showing up ?
    * Is mod-rewrite turned on, in your new host ?


    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD Athlon X2 5200+, ASUS Motherboard, 2 GB RAM, 400 GB HDD, Nvidia 8600 GT 512MB, 19.5" TFT(Wide), Creative 5.1 Home Theater

    Social Group: VBForums - Developers from India

    Skills: PHP, MySQL, jQuery, VB.Net, VB6, Photoshop...

Posting Permissions

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