Problem about some images and all pages not found

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
scubindu

Problem about some images and all pages not found

Post by scubindu »

Hello everyone!

After moving my site from one server to another I now have the problem that some of the images are not showing and only the home page will show all other pages when linked to give a 404 error:

Not Found

The requested URL /location.html was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Thank's a lot!
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Problem about some images and all pages not found

Post by velden »

1. clear cmsms cache
2. if using pretty urls (config.php contains: $config['url_rewriting'] = 'mod_rewrite';) make sure that:
- .htaccess is copied too (in root of cmsms install directory)
- mod_rewrite is actually installed on web server and allowed to use
Easy to check if that's the cause of the problem by commenting that specific line in config.php and check if pages are found.

You can check too by using:

http://www.yourdomain.com/index.php?page=<page alias here>
Post Reply

Return to “The Lounge”