whimsy
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Upload folder in 3.5 is under WordPress root instead of blog rootAre these options likely to be deprecated in a future version breaking my site? Or is this solution “safe” for me to use?
Forum: Fixing WordPress
In reply to: Upload folder in 3.5 is under WordPress root instead of blog rootI did discover a solution.
I went to https://example.com/wordpress/wp-admin/options.php to see ALL options, including ones without a UI, and found the old ones that used to be set from the Settings/Media page:
upload_path & upload_url_pathI set them there like this:
upload path: /home/username/public_html/u
upload_url_path: https://example.com/uI deleted the define(‘UPLOADS’,”.’u’); line from my wp-config.php
Now it works the way I want, and those options were visible again settings/media again as an extra benefit.
Forum: Plugins
In reply to: [Database Backup for WordPress] WP DB Backup no longer emailing daily backupsLouieGeetoo, thank you very much. I was able to manually email myself a backup after I edited the files according to patch 20970.
I expect my automatic backups will resume now, I’m just waiting for it to come around.
Forum: Plugins
In reply to: [Database Backup for WordPress] WP DB Backup no longer emailing daily backupsI believe this plugin stopped working for me when I upgraded to WP 3.4, although I’m not 100% certain which day I did the upgrade from WP 3.3.2, compared to my last (successful) emailed backup.
Now when I manually email a backup, I get this error message:
The following errors were reported: mail() [function.mail]: SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE
A manual download to my computer still works, and the automatic email backups seem not to be working either.
Thank you to westonrc and andreascreten for your help!
I had the exact same problem, and was able to solve it once I found both parts of westonrc’s solution.
Forum: Requests and Feedback
In reply to: I would love a clean URL path for uploaded filesAhh…if full paths work fine, I should be able to do what I want afterall. (WP never ceases to amaze me with how versatile it is!)
I’ll have to go and see how it works for me.
Forum: Requests and Feedback
In reply to: I would love a clean URL path for uploaded filesI’m not really trying to run two ‘sites’ here. I was just trying to keep the WordPress administrative stuff out of my site’s root directory.
I guess I could do it by moving my wp-content directory to be my site root. (While leaving the rest of the WordPress directory structure as it is)
But I would really like some way of making the file upload path be relative to my WordPress blog directory instead.
Forum: Requests and Feedback
In reply to: I would love a clean URL path for uploaded filesWhat I was trying to do was have my files appear in a location like this:
My (relevant) blog settings are as follows…
Main options:
WordPress address (URL) https://example.com/wordpress
Site address (URL) https://exmaple.com/
Media Options:
Store uploads in this folder: pixResulting file upload URL:
https://example.com/wordpress/pix/fileThe closest hack I can do to get what I want is this change:
Media Options:
Store uploads in this folder: ../pixActual file upload URL:
https://example.com/wordpress/../pix/file
(as it appears in the browser’s html)
If I type in the browser my desired URL it goes to the same place.I’m posting here in this forum as a request to change WordPress–I’m 99.9% sure it won’t do what I want as is.
Forum: Requests and Feedback
In reply to: I would love a clean URL path for uploaded filesI guess what I really mean to say is this:
The upload path always uses the wordpress install path as a base.
I would like it to use the blog path as a base instead.
There doesn’t seem to be a way to do this. (For some reason I cannot access the codex right now….odd network outage or something, so perhaps I’m missing something, but I’ve read those docs on wordpress install directories and used them for years)
Forum: Plugins
In reply to: Individual widget per pageI was searching for the same thing, and I didn’t find a completely easy way to do it, but I did find something which I expect would work.
It was a description of how to define multiple sidebars and put different widgets on each one, then make sure that the page you want shows the correct sidebar on somebody’s website here.
If there are other ideas, I’d love to see them too.
Forum: Your WordPress
In reply to: WordPress for an Artist’s websiteGlad you like it. Do you have any suggestions, or any ideas on how to promote it a little?
Forum: Your WordPress
In reply to: WordPress, CMS and pagesSounds like a reasonable approach, but you’ve got a ways to go still–I first got a 404 on your URL, and the domain seems to indicate you haven’t finished installing WP yet.
For a static homepage, you can edit home.php, or use one of the static homepage plug-ins which will allow a specific page to be shown as the homepage. (I have used Filosofo home-page control successfully.)
I haven’t used lightbox, and haven’t done a public guestbook or many-author blog section myself, so I can’t speak on how those would work, but putting them into div’s and template files as you suggested should be fine.
Forum: Alpha/Beta/RC
In reply to: what does file upload actually do??Am I the only one who thinks that this “fix” in 2.0.1 didn’t quite fix the problem?
At least I still get thumbnail dimensions for any image with a thumbnail, whether it puts the image in as a thunbnail or not. I use “Send to Editor” instead of drag-and-drop if it matters.
Forum: Plugins
In reply to: Multiple Category BasesI’m a little more awake now, and I grabbed and tweaked old WordPress 1.5.2 mod_rewrite rules for category URLs. I would try these (If possible, in a test environment rather than “live”) out:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^projects/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?category_name=$1&feed=$2 [QSA,L]
RewriteRule ^projects/(.+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?category_name=$1&feed=$2 [QSA,L]
RewriteRule ^projects/(.+)/page/?([0-9]{1,})/?$ /index.php?category_name=$1&paged=$2 [QSA,L]
RewriteRule ^projects/(.+)/?$ /index.php?category_name=$1 [QSA,L]
</IfModule>
[Note: Each RewriteRule is on one full line, no matter how long, even though they are wrapped here in the forum post]You will already have a .htaccess file; insert the code above in front of the #BEGIN WordPress line in it.
You may need to change the /index.php? to read /path/to/index.php? if you did not install the blog to be accessed from your https://www.site.com root directory. I am assuming that “projects” is the extra category base you want to have work, and that the “blog” category base is set up in the wordpress permalink options. If it is the other way, just change “projects” to “blog” on each of the RewriteRule lines.
Forum: Plugins
In reply to: Multiple Category BasesLet me see if I get this right: You have two categories, “house” and “story”, and you have one category base setup in wordpress (I will assume it is “blog”)
You could write a .htaccess rule to allow the “projects” category base to work: (I’m too sleepy to write .htaccess rules or regular expressions right now, maybe somebody else can do it for you, or I’ll try to get back at you later]
If you are using WP 1.5, you can see the wordpress generated .htaccess rules, and just find the ones for the “blog” category base, copy them and edit them to use the “projects” category base instead, but outside the “WordPress” section in the file.
If you are using WP 2.0, you could look up a 1.5 style rule, or just write one to convert the a section sortof like ^/projects/(.*)$ to /blog/$1 and don’t give it the flag which tells mod_rewrite to not evaluate any more rules. (I think that one is [L])
If you don’t follow this, read up on mod_rewrite, and make sure you back up your .htaccess before you mess with it.