I have the category C++ in my links database, and whenever I build the pages, the url in the HTML shows up something link this C_and_C%2B%2B/ My question is, how do I change the two "%2B" with a simple "+"?
Try to use the HTML codes within the new category name.
e.g., CGI/C_and_C& #43;& #43;
It should work.
------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
e.g., CGI/C_and_C& #43;& #43;
It should work.
------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Jun 27, 1999, 9:31 PM
Veteran / Moderator (3111 posts)
Jun 27, 1999, 9:31 PM
Post #6 of 13
Views: 2914
Jun 28, 1999, 4:40 AM
Novice (12 posts)
Jun 28, 1999, 4:40 AM
Post #7 of 13
Views: 2914
That didn't work. When I tried to add it in the admin, it wouldn't allow me to add it because it contained invalid charaters. So I added the characters in the category.def and nph-build.cgi. It accepted the new category, but when I built the pages it did the same thing. The ASCII text was in the linked URL form the homepage.
Jun 28, 1999, 4:50 AM
User (282 posts)
Jun 28, 1999, 4:50 AM
Post #8 of 13
Views: 2919
Chris,
I don't know if this will help, but you might want to try the "special characters in category" fix found at the following thread.
http://www.gossamer-threads.com/...um3/HTML/001722.html
Phoenix
I don't know if this will help, but you might want to try the "special characters in category" fix found at the following thread.
http://www.gossamer-threads.com/...um3/HTML/001722.html
Phoenix
Jun 28, 1999, 5:09 AM
Novice (12 posts)
Jun 28, 1999, 5:09 AM
Post #9 of 13
Views: 2913
phoenix,
Thanks, I've already seen that post. That's where I learned how to edit the category.def and nph-build.cgi to allow special characters. But I'm still having the problem where it builds the page with the url as C_and_C%2B%2B/
Look at:
http://www.webmastersonly.com/CGI/ and click on C and C++. It will bring you to the page where the url is C_and_C%2B%2B/
Thanks, I've already seen that post. That's where I learned how to edit the category.def and nph-build.cgi to allow special characters. But I'm still having the problem where it builds the page with the url as C_and_C%2B%2B/
Look at:
http://www.webmastersonly.com/CGI/ and click on C and C++. It will bring you to the page where the url is C_and_C%2B%2B/
Jun 28, 1999, 8:43 AM
Veteran / Moderator (3111 posts)
Jun 28, 1999, 8:43 AM
Post #10 of 13
Views: 2953
Have you tried adding the special characters you want to use as escaped characters? For example, in links.def and nph-build.cgi, put in "\+" (minus the quotes). I think that will allow the characters but I do believe you might run into problems later when searching. Someone did that with the & character.
Jun 29, 1999, 8:01 PM
User (282 posts)
Jun 29, 1999, 8:01 PM
Post #13 of 13
Views: 2929
Geez! I just found this while looking for something completely different. Now why couldn't I have stumbled on this 3 days ago?
I haven't tried it, but I think your problem is coming from db_utils.pl, sub urlencode. I betcha if you add your + to this list: [^a-zA-Z0-9_\-.] it will stop getting encoded. This might be a problem for some browsers, but a + in a URL works fine on Netscape and MSIE 3 and better.
I hope this finally fixes it!
Phoenix
[This message has been edited by phoenix (edited June 29, 1999).]
I haven't tried it, but I think your problem is coming from db_utils.pl, sub urlencode. I betcha if you add your + to this list: [^a-zA-Z0-9_\-.] it will stop getting encoded. This might be a problem for some browsers, but a + in a URL works fine on Netscape and MSIE 3 and better.
I hope this finally fixes it!
Phoenix
[This message has been edited by phoenix (edited June 29, 1999).]