Wordpress itself creates the permalink. Wordpress permalinks are very important for SEO purpose. Short words are sometimes are not good for seo so you might need to remove the short words from permalink. Using the following code you can remove the short words from wordpress permalink URL. Continue reading
Some days before I enabled the my site registration as subscribers. In last seven days there are four thousand subscribers has been registered on my site. After reviewing the users and there server request logs I got to know about that was spam users which was registered to my site. Wordpress is always easy target for spammers and hackers. I tried to use some code for remove the wordpress users but then later I used following Mysql commands for removing he wordpress users. Continue reading
Wp Developers are always looking for remove the category or blog slug from wordpress URL. We can very easily remove the blog word from wordpress blog URL. Many clients want to remove the category word from URL. There are some nice wordpress plugins which will help you to remove the category word from wordpress URL. Continue reading
Wordpress is always very target for hackers. Hackers always use the proxy servers to access the wordpress websites. Hackers attack the wordpress sites using the proxy IP addresses and servers. Here Using small trick you can prevent the proxy server attack. This is very easy trick which can be used in every wordpress project. All proxy visits are not bad requests so First check the site access logs. If you are thinking Your site attacked by Hackers and proxy servers then only use the following code. Continue reading
Earlier I used date and name permalink structure for my blogs. Recently I got information about SEO URL tricks and I made decign to change permalink structure to Post name.
But with this produced many issues. Like google search result will go to old site URLs and My blog links are posted on other multiple blogs. That links will be broken and redirect to 404. Also I interlinked my other posts with other posts. They will go to 404 page.
If your blog pages will not found then google site ranking will go down.
There is default username in wordpress. admin is default username in wordpress but many times user want to use other wordpress user url for admin user. You can easily do this by using following wordpress hook.
I given the simple code for insert into functions.php file. Continue reading
Spam comments are most irritating for bloggers. Reading the all comments and there content and deside. If Comment author URL is bigger then you should consider that comment as Spam comment for sure. Many times I observed, spammer always try to add there site URL in Author URL.
Using following code you can protect your site from spam commenters. Open your functions.php file from your theme folder and just copy/paste the following code into that. Continue reading