chemoul
Forum Replies Created
-
Forum: Plugins
In reply to: how to write a separate search plug in?no one?
Forum: Fixing WordPress
In reply to: how to include 3rd party php script?bump
Forum: Fixing WordPress
In reply to: try to add custom rule to htaccess = server error?The only access I have is an error log through my cpanel. As I said
above the only error message I get is:
File does not exist: /home/myserver/public_html/500.shtmlSteve
Forum: Fixing WordPress
In reply to: try to add custom rule to htaccess = server error?Thanks for the reply VaamYob, I tried it but it doesn’t make a
difference unfortunately.I don’t understand why adding an additional rewrite rule would cause
an error 500.Steve
Forum: Fixing WordPress
In reply to: nextpage not working with permalinksI read the forum topics. It is clearly an issue with the htaccess
rewrite rules. From what I could figure out, some of the rules are
too greedy and match too much.Unfortunately, I’m not a regular expressions expert, so some help
would really be appreciated.
I tried replacing the .+ with [^/]+ in
RewriteRule ^(.+)/([^/]+)(/[0-9]+)?/?$ /digitalcamera/index.php?category_name=$1&name=$2&page=$3 [QSA,L]
so that only up until the next / would be matched and not the rest
of the URL. This works for the nextpage part, but then clicking on
an article title link does not work any more.Steve
Forum: Fixing WordPress
In reply to: nextpage not working with permalinksI’ve read this article before and I’ve read it again now, but I
can’t find anything in it the would relate/explain the problem I
have?Steve
Forum: Fixing WordPress
In reply to: nextpage not working with permalinksIt seems to be a problem with the automatically generated htaccess
file.
If I manually rewrite the link to point to page 2 of the post it is
working:https://thevital.net/digitalcamera/index.php?category_name=uncategorized&name=nikon-coolpix-8800&page=2 (page=2 displays the correct second part of the
post).As the permalink structure, I’m only using /%category%/%postname%/
so nothing fancy.This is the htaccess line in question:
RewriteRule ^(.+)/([^/]+)(/[0-9]+)?/?$ /digitalcamera/index.php?category_name=$1&name=$2&page=$3 [QSA,L]Is this a bug in the htaccess creation of WordPress?
Thanks.
Steve
Forum: Fixing WordPress
In reply to: nextpage not working with permalinksThank you for your reply.
I’ve changed the category for the post to “uncategorized”. This
category is unique. Unfortunately, the problem 404 still exists.Is anyone actually using the nextpage functionality in combination
with permlinks on their site successfully?Thanks.
Steve
Forum: Fixing WordPress
In reply to: nextpage not working with permalinksI have 2 parent categories named:
“By manufacturer”
and
“Reviews”The subcategories for each of the 2 parent categories are the
manufacturer’s names, such as Canon, Sony, etc.What you see as categories on the website at the moment are the
subcategories of the “Reviews” parent category as I only have 1
post in the “By manufacturer” category and that’s the one that’s
marked as private.
What I don’t understand is why the parent category “Reviews” isn’t
displayed above the links to the manufacturer category.I know what you mean however, it is strange that the category links have a “category” in them, e.g.
https://thevital.net/digitalcamera/CATEGORY/reviews/canon/
but when you click on a post itself, there is no “category” in the link, e.g.
https://thevital.net/digitalcamera/reviews/canon/canon-powershot-s80-review-at-letsgodigitalI cannot explain this and I don’t know whether this is normal or not?
I have now published the post in question. Active category is “Nikon”
underneath the parent category “By manufacturer”. “By manufacturer”
itself has not been selected, which is why it won’t show up in the
category list. You can see however that there are two “Nikon”
categories now, one is the subcategory of “By manufacturer”, one is
the subcategory of “Reviews” (“Reviews” itself doesn’t show, because
there is no post in it.I’ve also tried to check both “Nikon” and “By manufacturer” for the
post in question, but I still get the 404 error when I click on the
next page link.Thank you for your help.
Steve
Forum: Fixing WordPress
In reply to: nextpage not working with permalinksThe page without the /2 doesn’t exist because I marked the post
private so that noone else sees the 404 error until I figured out
what’s wrong with it.
The “by manufacturer” is the parent category. By manufacturer, then
all the camera manufacturers underneath. I don’t have any posts in
the parent category, that’s why it’s not showing up (I guess?).Thank you for your help.
Steve
Forum: Plugins
In reply to: hacking quicktags 2nd link button, how?Thank you so much, that worked. I must have changed something else in the quicktags file for it not to work, because this is essentially the same code I already had. I started with a fresh quicktags file and now it works ??
Thanks again.
Forum: Plugins
In reply to: hacking quicktags 2nd link button, how?No, it still doesn’t show me any quicktag buttons at all and has got the “Object expected” error when loading the page. I don’t understand why duplicating and renaming the button, inserting the button and duplicating and renaming the original link function won’t work.. ??
But thank you for your help so far, it is really appreciated.Stefan
Forum: Plugins
In reply to: hacking quicktags 2nd link button, how?I’d like a button for links that open in a new window and another button for links that open in the same window. I’m also thinking about 2 different css classes to be able to format links differently with the push of a button.
To do that I need to be able to create a working ‘clone’ of the original link button though…Forum: Plugins
In reply to: hacking quicktags 2nd link button, how?I’ve uploaded the quicktags.txt file at https://www.thevital.net/quicktags.txt
To get the second link button/functionality I added at the lines:
60-66
174-176
392-406thank you for your help.
Stefan
Forum: Plugins
In reply to: hacking quicktags 2nd link button, how?Thank you for your reply.
The newer versions of quicktag don’t seem to be using the closing tag in the button definition any more, however. I just can’t see what’s wrong with what I did.