404 issue in codeigniter based website

Hello

We have recently launched our website on linode server. The url of the website is http://www.customstitchers.com . The issue is that no link is working except the front page . The same website was working fine on our old server . It seems to be a apache settings issues on linode server . Please guide us how we can fix this asap .

4 Replies

Check your .htaccess

http://www.codeigniter.com/user_guide/general/urls.html

This is my .htaccess file , please guide what I need to add or configure to make the site working. Apache mod rewrite is enabled on server.

http://www.customstitchers.com/phpinfo.php

authname "Protected Page"

authtype Basic

authuserfile /var/chroot/home/content/13/10153313/html/.htpasswd

addhandler x-httpd-php5-cgi .php

require user dpc

RewriteEngine On

RewriteBase /customstitchers/

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ index.php?/$1 [L]

# If we don't have mod_rewrite installed, all 404's

can be sent to index.php, and everything works as normal.

Submitted by: ElliotHaughin

ErrorDocument 404 /

A little change in .htaccess file but still no success

RewriteBase /customstitchers/

changed it to

RewriteBase /

Use the following code in your .htaccess file

RewriteEngine On

RewriteCond %{REQUEST_URI} ^/system.*

RewriteRule ^(.*)$ index.php?/$1 [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.+)$ index.php?/$1 [L]

links removed by admins

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct