bassetts
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: pretty urls without mod_rewrite?There are ways of doing this but they appear to take a long time and can be easily broken just by adding a new category or similar. Your best bet is moving host if you really need permalinks.
If you set wordpress to the default permalink setting e.g. /index.php?p=1 then wordpress does not touch your .htaccess and your site should be just fine.
Someone please tell me if I am wrong and you can get this working without mod_rewrite and it is nice and stable.
Forum: Fixing WordPress
In reply to: Can’t upload images in post, newbie help.Hi, to be able to upload files you need to allow the server to write to the folder you are using for uploads. To do this you need to connect to your FTP and
chmod
your uploads folder to 777.If you do not know how to do this then try this tutorial
https://www.phpjunkyard.com/ftp-chmod-tutorial.phpForum: Fixing WordPress
In reply to: Hide Post CountSeems like this is a question for those who know more about K2. What version of K2 and WP do you have?
Forum: Fixing WordPress
In reply to: Hide Post CountHi, I got an answer for you. Open up categories.php under /app/modules/ inside your K2 folder and edit the lines
wp_list_categories('title_li=&show_count=1&hierarchical=0');
and
list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','');
to
wp_list_categories('title_li=&show_count=0&hierarchical=0
and
list_cats(0, '', 'name', 'asc', '', 1, 0, 0, 1, 1, 1, 0,'','','','','');
Thanks to Zeo at the K2 forums.
Forum: Fixing WordPress
In reply to: URL Rewrite ProblemIf you just download your .htaccess and add that code then upload it then it should work. I have tested it out on my blog and it worked fine.
Forum: Fixing WordPress
In reply to: Hide Post CountI have had a look at the code and even edited it on my website and it does not stop the count showing for me as well. This is the block of code that controls that sidebar widget;
<?php if (function_exists('wp_list_categories')) { wp_list_categories('title_li=&show_count=1&hierarchical=0'); } else { list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','',''); } ?>
if you look at the list of numbers 1, 0, 1, 1, 1, 1, 0, the third number 1 in is the optioncount parameter of the list_cats tag. I also tried setting that to 0 but no luck.
I shall have a look around and try and find out the problem for you.
Forum: Your WordPress
In reply to: Hoovaloo.com! (For Review Comments)Makes sense if you are sharing a lot of the links with friends. I cannot remember most of the sites that I have seen do this as I do not use them, but one I do remember is https://everygamersblog.com/all-gaming-news/
It is nice to see that you have put some good effort into the site and the layout works very well.
Forum: Plugins
In reply to: newbie help with plugin!Hi, where exactly are you trying to download these from?
Forum: Your WordPress
In reply to: Hoovaloo.com! (For Review Comments)Nice use of wordpress there although I have seen this done many times before. I am liking the logo and the use of the theme. Just a note that the link on the copyright in your footer is broken.
Although if the site is just for you to catch up with the headlines from sites you enjoy reading would it not of been simpler to just use a RSS reader?
Forum: Fixing WordPress
In reply to: Uploading a new header imageHi, what theme are you using on your blog?
Forum: Everything else WordPress
In reply to: wordpress won’t save my pages or postsDoes wordpress throw out any errors when publishing a page? and what type of content are you attempting to put into the page, just text or are you trying to use something else, e.g php?
Forum: Themes and Templates
In reply to: Alternate template for single posts (permalinks)A quick search on google for “wordpress post template” revealed a plugin called (believe it or not) Post Templates and this seems to be exactly what you are after.
Forum: Fixing WordPress
In reply to: Hide Post CountThe Category List sidebar module in K2 uses the template tag “wp_list_categories” and the code for it is located in sidebar.php in the root of the K2 folder. If you open the file and find the code “wp_list_categories(‘title_li=&show_count=1&hierarchical=0’);” remove “&show_count=1” from that and it should display how you want it to.
For a full list of arguments for “wp_list_categories” see https://codex.www.ads-software.com/Template_Tags/wp_list_categories
Forum: Fixing WordPress
In reply to: .htaccessTo get your permalinks working you just need to open up the .htaccess file on the root folder of your domain and add the code given to the file. So your .htaccess should look like:
# -FrontPage- IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* <Limit GET POST> #The next line modified by DenyIP order allow,deny #The next line modified by DenyIP #deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthName www.illusivelife.com AuthUserFile /home/illusive/public_html/_vti_pvt/service.pwd AuthGroupFile /home/illusive/public_html/_vti_pvt/service.grp <Files 403.shtml> order allow,deny allow from all </Files> deny from 207.68.216.59 deny from 63.106.106.2 <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
For the time and author of the entry do you mean to add them to the permalink structure? If so here is a full list of permalink tags:
Forum: Fixing WordPress
In reply to: URL Rewrite ProblemLooking at the mod_rewrite cheat sheet (https://www.ilovejackdaniels.com/apache/mod_rewrite-cheat-sheet/) I think this should do the trick:
RewriteEngine On
RewriteRule ^blog/([A-Za-z0-9-]+)?.html$ /index.php?s=$1 [L]