If I use {page_uri} inside exp:weblog:entries, nothing comes up, so links don’t work.
If I edit the entry, nothing appears in the Pages URI field, even on entries that I know have a Pages URI.
How do I know the entry has a Pages URI? If I load a previous revision under the Revisions tab, the Pages URI field has the URI. If I then load the current revision, the Pages URI field has the URI.
So, the Pages URI is in the database somewhere, but it is not getting pulled up via exp:weblog:entries.
<?php
global $LOC;
$sixty_days_ago = {current_time}-5184000; // 60 days, in seconds;
$start_time = $LOC->decode_date('%Y-%m-%d %g:%i',$sixty_days_ago);
?>
{exp:weblog:entries weblog="news_articles" status="open" dynamic="off" start_on="<?php echo $start_time; ?>" disable="member_data|pagination|trackbacks"}
<tr>
<th scope="row"><a href="/news{exp:replace">{entry_date format="%F %j, %Y"}</a></th>
<td>{title}</td>
</tr>
{/exp:weblog:entries}
That stripped out some code: exp:replace find=“php/” replace=“php”
The page_uri doesn’t come up, so the links don’t work.
Being able to edit and save doesn’t help much since we have hundreds of entries.