Here’s something I noticed when trying to redirect a PDF URL to a new URL. On most servers, using .htaccess redirects, or even redirect plugins, have no effect, because most servers are configured to resolve directly to the PDF URL. Here’s how you can fix that on Apache servers.
How To 301 Redirect a PDF in WordPress for SEO
301 Redirects and SEO
What are 301 redirects? A 301 redirect is a when you forward an old web address to a new one. For instance, let’s say you have a page on your site with a URL of http://example.com/contact-us, but you want to change it to a more SEO friendly URL http://example.com/contact. You would use a 301 redirect […]
Prevent Google From Crawling Old Sitemaps
As our websites mature, we often move from doing things one way to a different, more efficient way. But sometimes, the footprint of how our site used to work remains behind. Recently, I had a client come to me with a most intriguing problem. They had a large e-commerce site, that had gone through many […]
Increase Maximum File Upload Size In WordPress
WordPress limits the size of media files you can upload to 2MB. Sometimes we need to increase the maximum file upload size in the WordPress Admin > Media to a number higher than this. There are a couple of ways to do this. Be forewarned, if you are on shared hosting, these may not work. […]
Fix Redirect Loop on WordPress Install
If you need to fix a redirect loop on a fresh install of WordPress, or if you have not_found URLs when trying to reach the admin panel, these steps might solve your problem. In my scenario, I was manually doing a fresh install of WordPress on a new site. I was having problems getting the […]