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.
Added pages open to 404 error.
Re: Added pages open to 404 error.
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:
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).
(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';