All our tag links are giving us 404 pages. Any idea why?
https://share.america.gov/tag/science/
https://share.america.gov/tag/stem/
https://share.america.gov/tag/makers/
https://share.america.gov/tag/maker-faire/
etc…
etc…
etc…
etc…
Thanks,
David
Likely won’t address your issue but I also hard code my URLs to reduce dbase calls
Blog/Site Address
In your WordPress Settings, you specify the WordPress address and the site address. Those are added in your database, and every time the developer calls it in the template, it is running a database query. In WordPress 2.2, these two settings were introduced to override the database values without changing them:
define('WP_HOME', 'http://sub.wpsitez123.com');
define('WP_SITEURL', 'http://sub.wpsitez123.com');
define('TEMPLATEPATH', '/absolute/path/to/wp-content/themes/active-theme');
define('STYLESHEETPATH', '/absolute/path/to/wp-content/themes/active-theme');
By adding these in your wp-config.php, you are reducing the number of database queries thus increasing your site’s performance.
—–
DEBUG
http://codex.wordpress.org/Editing_wp-config.php#Debug
WordPress Error Log
/**
* This will log all errors notices and warnings to a file called debug.log in
* wp-content only when WP_DEBUG is true. if Apache does not have write permission,
* you may need to create the file first and set the appropriate permissions (i.e. use 666).
*/
define( 'WP_DEBUG', true ); // Or false
if ( WP_DEBUG ) {
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
}
That didn’t help the 404’s on all the tags. Here are all the tags we have… https://share.america.gov/topics/ I just don’t understand why they are getting 404 errors.
The categories work great. We need the tags exactly like this… http://share.digital2.getusinfo.com/category/regional/
Any other ideas?
been there …
with yoast I ran into trouble with two items
1) force transport (e.g,. http vs https) = leave off
2) remove stop words; caused some pages to 404 randomly
likely you should try temporarily switching to the default twenty-fourteen theme and turn off all plugins to see if you have the issue … then turn each plugin on, check to see which one causing issue; then when debugged, switch main theme back on.
Good News & Bad News. We switch off all plugins and switched them back on one by one and found the problem…
Good News: We found out that the WPML plugin is causing the Tags to 404.
Bad News: We don’t know how to fix it. We don’t know where it is causing to to break.
Any thoughts or ideas?
Thanks
David
I would check the WPML support or user forums
eg.,
http://wpml.org/forums/topic/category-and-tag-links-not-working/