You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sites created using the Cornell Branded theme return 404 when visiting /sitemap.xml, but wp-sitemap.xml works. Reading settings allow indexing, may also be limited to multi-site instances.
WordPress creates a /sitemap.xml -> wp-sitemap.xml redirect when initially set up. When creating a site using the Cornell Branded theme, the redirect is lost. As a result, new sites created on CampusPress were not getting crawled by Google, which seems to only look for /sitemap.xml.
This was tested on the cd-wpmulti.pantheonsite.io instance as of 11/26/24, but get some inconsistent results on CampusPress.
When testing, removing the permalink structure from the $core_settings array seemed to correct the issue.
Good troubleshooting. I guess that setting isn't so important, but does that mean the user can't use custom permalinks at all on CampusPress any time after activation? Those pretty permalinks are pretty important for some people.
Sites created using the Cornell Branded theme return 404 when visiting /sitemap.xml, but wp-sitemap.xml works. Reading settings allow indexing, may also be limited to multi-site instances.
WordPress creates a /sitemap.xml -> wp-sitemap.xml redirect when initially set up. When creating a site using the Cornell Branded theme, the redirect is lost. As a result, new sites created on CampusPress were not getting crawled by Google, which seems to only look for /sitemap.xml.
This was tested on the cd-wpmulti.pantheonsite.io instance as of 11/26/24, but get some inconsistent results on CampusPress.
When testing, removing the permalink structure from the $core_settings array seemed to correct the issue.
cwd_base > functions > theme > setup.php
$core_settings = array(
'uploads_use_yearmonth_folders' => 0,
'default_pingback_flag' => 0,
'show_avatars' => 0,
'require_name_email' => 0,
'default_comment_status' => 1,
'page_comments' => 1,
'posts_per_page' => 12,
'site_icon' => upload_site_icon(),
'default_comments_page' => 'first',
'default_ping_status' => 'closed',
'date_format' => 'F j, Y',
'permalink_structure' => '/%category%/%postname%/'
);
The text was updated successfully, but these errors were encountered: