Wordpress Tips & Tricks

Wordpress Tips & Tricks

There are times when you would like to remove the Category base altogether for your Category archive page URL.

I prefer this when using a custom WordPress permalink structure of /%category%/%postname%/

There are several plugins (Yoast SEO) that will do this for you.

Dont forget to flush permalinks! Be sure to flush your permalinks each time you make changes to your WordPress URL structure. It’s not always needed, but can help. To do that, go to Settings > Permalinks and click Save Changes.

Nisam siguran da li je to ovo isto: Smart Archive Page Remove

SQL: Delete all images from image library

DELETE FROM etkwp_postmeta WHERE post_id IN (SELECT id FROM etkwp_posts WHERE post_type = 'attachment');
DELETE FROM etkwp_posts WHERE post_type = 'attachment'

Attach / unattach images to posts

If you want images to be auto-removed on post deletion, use plugin Autoremove Attachments.

WordPress Bash Magic


WordPress constants overview - WP Engineer

A Guided Tour of WordPress’s wp-config.php File 10 wp-config Tweaks To Improve Your WordPress Site New wp-config Tweaks You Probably Don’t Know - Tuts+ Code Article


Conquering the wp-config.php File - 11 Good Practices


Warn that deprecated WPLANG constant will be ignored

10 Things you did not know about WordPress - Remkus de Vries

Override Wordpress Site URL With wp-config.php

Exhaustive The Developer’s Advanced Guide to the wp-config File

date 03. Mar 2016 | modified 29. Dec 2023
filename: Wordpress » Tips & Tricks