We’re rewarding the question askers & reputations are being recalculated! Read more.

New answers tagged

1

You should set the following in your virtualhost apache: <Directory /var/www/html/wordpress> AllowOverride All </Directory> Then, refresh your permalinks: wp-admin->settings->permalinks. That's worked for me.


1

A missing template will never result in a 404 error. That's not how templates work. The reason you're getting a 404 is that you're attempting to access a URL that does not exist. {Site URL}/{Taxonomy name}/ doesn't exist. There's nothing for WordPress to display at that URL. WordPress templates only ever display posts, but this URL doesn't specify which ...


0

It certainly sounds like a caching issue. Even if you disable W3 Total Cache, often it keeps cache code in your wp-config.php file and .htaccess. Purge all that code and see if the problem persists. Also, make sure your web host does not have server caching. Many "managed" platforms have a built-in cache (eg. WP Engine, SiteGround) which can lead to unusual ...


0

I've had the same issue. However, I added the following to functions.php file (courtesy: wpbeginner.com) to view my custom post types in categories. WordPress does not display any custom post types in categories until we add the following filter. add_filter('pre_get_posts', 'query_post_type'); function query_post_type($query) { if( is_category() ) { $...


1

Please try <form method="post" action="<?php echo get_template_directory_uri() ?>/abc.php"> I am assuming that abc.php is located in theme folder.


0

define( 'WP_HOME', 'http://example.com' ); define( 'WP_SITEURL', 'http://example.com' ); Add this to your wp-config.php which you can find in the root of your website. Remember to change example.com to your URL.


-1

Before I start, I should point out that I am making a few educated guesses about what you have done exactly. I will try to cover as much as I can. This is most likely an issue with the way your hosting is set up. WP.SE is not the ideal question to ask about that. However, depending on how comfortable you are with accessing the database itself, you should be ...


1

...what @sally_CJ said in the comment to your question. In general, if a plugin is causing problems, then remove the plugin. If you can't do that with admin/plugins, then use your hosting File Manager or FTP to rename that plugin's folder, which will effectively disable it. Also, ensure that PHP is at least version 7.2, and ensure WP and all themes/...


0

You can try run "mysql" for basic default config "options-permalink.php" UPDATE `wp_options` SET `option_value` = '' WHERE `option_name` = 'permalink_structure'; or UPDATE `wp_options` SET `option_value` = '/%year%/%monthnum%/%day%/%postname%/' WHERE `option_name` = 'permalink_structure';


Top 50 recent answers are included