Hello everyone, I have two URL issues one that seems like a bug, and the other is a question.
The first being that EE is putting the index file into my pagination URL string, for example /index.php/default/news
. HTACCESS will remove the index.php from the URL upon visit but for my use case, this actually isn’t a solution. I need the URLs generated from EE to be exact and I cannot rely on HTACCESS.
The second problem is the URL pagination URL is /default/news rather than just news. When I change my paginate_base to the news it breaks with the error, “The page you requested was not found,” for the URL //EXAMPLE.COM/news/P6. I have no idea why I have to have default in the URL string, it’s kind of ugly, is there a way to remove it?
Below are code examples…
[ CANNOT POST CODE EXAMPLES ]
Error Message Due to a heavy increase of spam within our community, the privilege of posting certain content is currently reserved for active community members and those who have purchased software.
If you feel you have received this in error, please contact support@expressionengine.com with a support key of:
05d78ac8-72fc2dfe-d72f42f3-5ccffb5a
re: index.php:
You need to remove index.php
from your “Website index page” in Settings -> URL and Path Settings
Re: URL. Is your News template inside a template group called “default”? If so, you need to use Pages, Routing, or use a 3rd party add-on like Structure to create URLs that don’t use the default template group/template routing.
First reaction is exactly what Andy mentioned… Beyond that I’d take a look at the paginate_base parameter as well.
ON the better place to post stuff, I’d recommend joining Slack. There’s about 7,000 people in there, and it has become to go to place for ExpressionEngine
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.