WebFaction
Community site: login faq

Greetings everyone.

I've recently moved one of my old sites to a new hosting at Goddady's server. I've copied its database, changed several strings in config.php and database.php CodeIgniter's configuration files which contained urls related to old hosting. Site's homepage opens successfully, but any other pages display 404 error. Site still works ok at old hosting.

Algorithmically, it should work as this: if page other than index.php at root dir is requested, modrewrite (rules are specified in .htaccess file) kicks in and substitutes requested document with index.php, then hand off this requested document as a parameter (after "?" sign) to the index.php. Thats where, I presume, issue happens.

Can you point out what possibly I could do wrong?

Thank you in advance.

asked 14 Mar '15, 15:16

Mori-mori-mori
112
accept rate: 0%

edited 14 Mar '15, 15:21


Did you move the .htaccess file? Does it exist, and if so what is its contents?

permanent link

answered 14 Mar '15, 21:50

johns
5.4k312
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×262
×168
×23
×22
×8

question asked: 14 Mar '15, 15:16

question was seen: 3,613 times

last updated: 14 Mar '15, 21:50

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM