Added pages open to 404 error.

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jcopacetic
New Member
New Member
Posts: 3
Joined: Tue Jul 08, 2014 6:58 am

Added pages open to 404 error.

Post by jcopacetic »

I am attempting to post 2 new pages to my cmsms installation and they are opening to a 404 error page. I am opening them from the cmsms console using the magnifying glass looking button, not from a web link.

I activated pretty urls (I think) and it caused my news module to have this problem so I removed the news module and I posted my 2 original articles as their own page and it worked fine.

Now I have created 2 more pages for 2 more articles and these pages aren't working but I'm not using a module or anything like that.

I really dont understand what the issue is. I've cleared the cms cache btw. I can't find any documentation on pretty urls or on why this would be causing my pages to direct to a 404 page.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Added pages open to 404 error.

Post by velden »

Activating pretty urls needs 2 steps:

(this is voor Apache webserver!):

1. copy htaccess.txt from /doc to the root of CMSMS install (where your config.php exists) AND rename then rename it to .htaccess (so starts with a dot and has no extension).

2. edit your config.php: add/edit line:

Code: Select all

$config['url_rewriting'] = 'mod_rewrite';
Then clear cache and try again. If that doesn't work, you did something wrong and/or your hosting provider doesn't support mod_rewrite/htaccess (which I think is rare).
Post Reply

Return to “CMSMS Core”