Skip to main content

Posts

Showing posts with the label WordPress

How to disable directory browsing on Apache using .htaccess

 .htaccess, means Hypertext Access, it is a configuration files used on web-servers. It does many things, one thing you can do with it is to prevent people from browsing your folders. When people check your-website/folder, they get to know how many files or folders that URL contain, and they can know all the details. For example, earlier when directory browsing for this site's sub-domain was enabled people could see my files and folders just using http://mrd.myroughdrafts.com/logo/, it listed number of folders and files I made in that directory. How did I disable that? I did for domain and sub-domain, I just put up a one line of code in my .htaccess file — this hidden file exists within the root folder of your domain and sub-domain. If you don't see that file, in cPanel of your hosting company, then while clicking on "file manager" don't forget to check "show hidden files," you can also contact the support to know, where that file exists in both your dom...

Removing Category and Tags from Wordpress Theme Twenty Sixteen

 Many times, when I don't want 'people to see my Tag and Category link' that come with the Post Title, I just remove them via CSS. There are just two things to know — a) CSS class associated with "something" you want to play with; that you can easily find by Page Source; b) over-riding the CSS rule by the keyword "!important." .tags-links, .cat-links { display:none !important; }

Setting up Wordpress feed with Feedburner

 When I first burned my Wordpress feed on Feedburner, it took me hours to figure out “how to do that.” If you are struggling with the same problem here you can do it in just few minutes. What I did, I typed on browser,  http://www.myroughdrafts.com/feed/ , and saw the feed for my blog; please note that Wordpress automatically generates feed for your blog. You can do same for your blog also, just type your blog name and add /feed/, that’s it. If you already have a gmail a/c, then it’s good, otherwise create a gmail account, ‘coz your Feedburner a/c will be linked to that. Just type  http://feedburner.google.com/  on browser’s url and paste your blog feed url where you see this message, “ Burn a feed right this instant ,” and click “next”.