Welcome to WPCMS.Ninja. Where the WP CMS Ninja comes to share his WordPress plugins and other useful items. He can also be found shooting pool at local bars.

Capital Letters in WordPress’s site_url and home_url

So if you happen to update your site from WordPress 4.5.3 to 4.6 or newer and your site stops working.  If it is giving too many redirects and is not putting anything in the sites error_log file you may want to take a look at what you have entered into the site_url...

Video from BostonWP 0928

Here is the video of my first BostonWP Talk, Recovering from a WordPress Hack talk. The slides are very hard to see so they can be seen at https://wpcms.ninja/recovering-from-a-wordpress-hack/

My first talk at BostonWP

Well I have finished my first BostonWP Meetup talk. Recovering from a WordPress Hack, https://wpcms.ninja/recovering-from-a-wordpress-hack/. Something that I have some experience in doing. I have to admit I was a little bit nervous at some points but overall I think...

WordPress Plugin Posts

Some posts not displayed right after HTTPS migration(CSS?)

Replies: 0


Some of my post, not all of them, are displayed like below picture. The layout is completely gone.

It looks like it cant proper load CSS or something like that. Yesterday i switched from HTTP to HTTPS, i dont know if it has something to do with that. I added the below code to my htaccess file to activate my SSL certificate(it was already instsalled by my hosting provider). After that i changed the URL’s in my WP dashboard. Then i had to clear the mixed content and added a ‘S’ to some of my images and links in my database, just 3 or 4.

RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !http
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Can somebody help me out? Its super annoying. Thanks!

rss feed not enclosing correctly

Replies: 0

Hello! I am using Church Theme Content to host our website. I’m using feedburner to publish the sermons. The Feed URL I’m supplying is http://www.epic-church.org/ctc-sermons/feed/ and for some reason, the feed stopped showing the “enclose” tag a few months ago. If you load the feed URL it stopped back in October. I don’t recall changing my practice at all back then.

My current process is:
1. Upload the file to my web server (in a non-wordpress directory) via FTP
2. Create new sermon
3. Enter the *full* URL to the mp3

It plays fine from the website. It just doesn’t appear correctly on the feed.

This MP3 URL works:

This MP3 URL doesn’t:

I can’t make heads or tails of it. Any thoughts?

  • This topic was modified 2 minutes ago by  jschwalbe.

Remove category slug from custom taxonomy/post types

Replies: 0

Hi Helpies
I have created custom taxonomy terms and post types. They are all working fine but for SEO purpose i don’t want to display the cateogory/post type name in slug.
For Example my current url’s are:
My base domain: http://richardbeese.co.uk/
My custom post/taxonomy urls look like:

But i want it to look like:

I have tried different plguins but few of them slowed down the website as i have more than 10K posts and categories. One way is via htaccess but it is practically not possible for me to add all those entries to htaccess

Richard Beese




NameCheap Hosting StackSocial: Great Value at Amazing Deals Elegant Themes: Divi Theme ClouDns.Net: DNS Provider