We got a request to add a custom field to user profiles allowing multiple codes…
If your WooCommerce categories are suddenly (or initially) are displaying as a 404 (Not Found) page on the front end of your site you can try the following:
- From inside your Dashboard go to
- Make sure the
Product permalink basesub-section are setup to what you’re expecting
If the above didn’t work you’ll need to check the permissions of your
.htaccess file to be sure that WordPress can update the file. The owner of the file needs to be apache’s user. Usually this is one of the following (but it depends on which webserver you’re using and which platform you’ve installed WordPress via):
The above is for apache installs only. They differ for Plesk systems and Windows based systems running apache.
If the owner of the file isn’t set to apache you’ll need to change it. From the root documents directory of your website run the following:
sudo chown www-data:www-data .htaccess
Then save the permalink options again by pressing
Maje Media LLC cannot be held responsible for the functionality of this code. Please make sure you test it on a development site before adding the code to your production website. There is no support available for this (and other) code snippet(s) posted on this website. If you’d like Maje Media to do custom development to help with your custom implementation please send a contact request.