[SOLVED] Pretty URLs and News module gives 404 error
[SOLVED] Pretty URLs and News module gives 404 error
I have a fresh install of CMS Version 1.11.2.1 in a sub directory with mod_rewite enabled.
Every page url is working fine except News url's which gives me an 404 error.
The htaccess file is cmsms default with RewriteBase set to /foldername.
I also have another cmsms installation in the base directory, where all page url's including from News module working just fine.
What am i missing?
Every page url is working fine except News url's which gives me an 404 error.
The htaccess file is cmsms default with RewriteBase set to /foldername.
I also have another cmsms installation in the base directory, where all page url's including from News module working just fine.
What am i missing?
Last edited by webform on Fri Nov 16, 2012 10:50 am, edited 1 time in total.
- timdebuurman
- Power Poster
- Posts: 891
- Joined: Sun Nov 06, 2011 8:15 pm
- Location: Deventer, Netherlands
Re: Pretty URLs and News module gives 404 error
Maybe this?
--------------------------------
Troubleshooting - news module - error 404
Error message
Opening a news detail- or categorypage ends up in a error 404 - page doesn't exist.
Solution
When using the detailpage parameter in the news tag, it could be the set detailpage is switched inactive in the listcontent. Or perhaps renamed or removed.
Related categories: - m
-----------------------------------------
--------------------------------
Troubleshooting - news module - error 404
Error message
Opening a news detail- or categorypage ends up in a error 404 - page doesn't exist.
Solution
When using the detailpage parameter in the news tag, it could be the set detailpage is switched inactive in the listcontent. Or perhaps renamed or removed.
Related categories: - m
-----------------------------------------
NextDoorMedia - Online Marketing Partner
https://www.nextdoormedia.nl
https://www.nextdoormedia.nl
Re: Pretty URLs and News module gives 404 error
No, it can be it. Everything works fine if i disable mod_rewrite.
It seems it some sort of problem with Pretty URLs and News module when the site is placed in a sub directory (www.domain.com/subdirectory).
I have copy of the site in the root, and here everything is working.
It seems it some sort of problem with Pretty URLs and News module when the site is placed in a sub directory (www.domain.com/subdirectory).
I have copy of the site in the root, and here everything is working.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Pretty URLs and News module gives 404 error
make sure you do not have a physical directory in the install named 'news'.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Pretty URLs and News module gives 404 error
I'm puzzled! On my test server the Pretty URLs an News module works just fine, but on the live server i get an 404 error when i click on the detail link
I'm missing something here, but what?
I'm missing something here, but what?
Re: Pretty URLs and News module gives 404 error
What about the apache error log? Does it tell you where the rules direct you to?
Might be a starting point.
Might be a starting point.
Re: Pretty URLs and News module gives 404 error
A search on the forum revealed that there were some more posts related... did you read: http://forum.cmsmadesimple.org/viewtopi ... 8&p=288470?
On that thread:
On that thread:
hth!Dr.CSS wrote:At some point there was a new route thing in the News modules so most likely yours didn't take so clicking Update routes fixed it...
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: Pretty URLs and News module gives 404 error
"Update routes" seems to fix the problem - Thank you
Re: [SOLVED] Pretty URLs and News module gives 404 error
I found the problem :
Updating routes (admin) empty "cms_routes" if mod_rewrite is on.
Then, if you clear cache, you got an error 404 for news and pages with alternate URL.
Updating routes (admin) empty "cms_routes" if mod_rewrite is on.
Then, if you clear cache, you got an error 404 for news and pages with alternate URL.
Re: [SOLVED] Pretty URLs and News module gives 404 error
Fixed in svn 8523.
Bug fixed one hour after being deposited : Calguy, you are the best
Bug fixed one hour after being deposited : Calguy, you are the best