Tag: listing

WordPress: Get URL of all Posts

On a lot of  Blogs, Forum and Howto Pages i have read the Question: “How to get the URL of all WordPress Posts?” If you dont want to use a external Plugin which can be a Security Hole in the CMS you can fix it with a small Workaround: Login into WordPress as Blog Admin Create a New cenral Categorie like “Howtos” Now go to the Posts Page where all Content Pages can be seen as list Here SELECT ALL and do Bulk Action “ADD” to the new Categorie “howto” that’s it.. now all Posts listet like.. https://www.linuxonlinehelp.de/category/howto/ Remark: If […]

Apache: Count Visits on Console

If you use a Webserver like Apache, you can use a small script to Analyse your Logs. Create a analyse-web.sh Script with: $sudo nano /home/user/analyse-web.sh insert: #!/bin/bash cat /var/log/apache2/access.log | awk '{ print $1 }' | sort | uniq -c exit 0 System Output: 1573 www.domain2.de 3568 www.domain3.de .. If you change the “$1” to other value like “$8” you will get the count of touched files or folders! This shows you attacks on single Files by abnormal high counts! You can use cron to run it every 15Minutes and send it to mailbox of a user. And this way […]

WordPress: SEO Ranking bad after setting “read more” tags

After some weeks of cleaning up my blog, i remarked a very bad ranking from under the first 10 on google to nirvana What did i change? saved wp-login with htaccess to non-public set post content with “read more” buttons Background: Search engine like google wasn’t able to pull content of posts which are cut by “more” Search engine wasn’t able to pull relinks over the wp-admin url by the internal wordpress feeds I was forced to turn back my settings and wait for better ranking.. not safe but must be..