atdblog
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: How to stop hotlinking with www and without wwwOthers may find this “stop hotlinking” code useful …
My root .htaccess file now looks like this:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^https://(www.)?mydomain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^https://(www.)?seconddomain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !google. [NC] RewriteCond %{HTTP_REFERER} !search?q=cache [NC] RewriteCond %{HTTP_REFERER} !msn. [NC] RewriteCond %{HTTP_REFERER} !yahoo. [NC] RewriteCond %{REQUEST_URI} !^/pages/images/ RewriteRule .*.(gif|jpg|png|ico)$ – [F,L] </ifModule> # END WordPress
Where “mydomain.com” is my site, “seconddomain.com” is a site I allow to hotlink my pics, followed by allowing search engines to hotlink my pic, and finally a condition to allow anyone to hotlink pics from my non-WP “pages/images” directory.
Forum: Developing with WordPress
In reply to: How to stop hotlinking with www and without wwwOk, the code above seems to be working today. I thought I had my cache cleared but I guess I didn’t.
Forum: Developing with WordPress
In reply to: How to stop hotlinking with www and without wwwMay have been confusing … meant to say …
A blog cannot hotlink to my image at “https://www.mydomain.com/wp-content/uploads/2012/02/elephant_quote.jpg”
But they can still hotlink to my image at “https://mydomain.com/wp-content/uploads/2012/02/elephant_quote.jpg”
I appear to be missing some code in my .htaccess.
Forum: Everything else WordPress
In reply to: How to display category name in url not cat numberActually, I’ve discovered that when using the wp_dropdown functions to manually insert dropdowns in my theme, the url contains the “cat”, “page_id”, and “author” labels followed by an equal sign and an id number. But when using the dropdowns provided with the sidebar widgets (via the Admin panel), those selections display the url I prefer, with “category” spelled-out in the url followed by the category name (not an id number). So what’s the difference between the dropdowns, and how do I get the code to spell-out the names in the url?
Fyi: Using lists instead of dropdowns also provides the spelled-out names in the url, like I want. But I prefer to use dropdowns if this can be resolved.
Hmmm… actually, if I go to any random site and then return to my previously logged-in blog, its back to “login” as if I’m logged out. Is that normal?
If yes, is there at least another way besides including the wp header or load file in my non-wordpress site pages to retain my login status when switching pages within my site?
Forum: Fixing WordPress
In reply to: Moved blog, media library image paths wrongHello?
I’ve been thinking, is it possible there’s a support table that has a record with the image path that needs to be updated in the database that I missed in my search/replace? Maybe related to the media library?
Forum: Fixing WordPress
In reply to: Error in deleting (posts, images, categories)I wish I knew. I definitely need the sitemaps plugin so I don’t intend to deactivate it. As a workaround I’m going to avoid deleting posts, leaving drafts as drafts and changing any published post I may want to delete to a draft and leaving it in that status (until this is resolved).
Forum: Fixing WordPress
In reply to: can’t delete draft and error 500It’s possible that it’s caused by or is in conflict with Google XML Sitemaps (see this post and this post). I haven’t seen a reply with a resolution yet.
Forum: Fixing WordPress
In reply to: Error in deleting (posts, images, categories)I’m having the same problem. I tried the solution by bobisag and it didn’t work for me either.
It appears that it’s caused by, or having a conflict with, the Google XML Sitemaps plugin (https://www.ads-software.com/support/topic/189766?replies=7). I tested it with and without the plugin activated and it seems pretty definite that there’s an issue with that plugin when deleting posts or drafts. Not to diss the author! I appreciate his hard work. Just saying, it appears to be the problem. His plugin page says to post the problem under the correct tag in this forum.
Forum: Plugins
In reply to: [Plugin: Google XML Sitemaps] Needs to be updated for 2.6.igneous, you’re on the right track. I’m having the same problem, except after a long delay mine results in and Internal Server Error. Half the time refreshing the page completes the delete, or not. It happens when deleting from the manage panel or in the write panel.
I deactivated the plugin and the deletes are fast and without issues. Reactivated the plugin and it’s back to the long delay when deleting followed by the error. And yes, I have the latest version of the plugin.
Forum: Fixing WordPress
In reply to: Upgrade to 2.6, Blank screens after actionsIt’s worse than I thought, it leads to an internal server error half the time I delete a single draft from the Write panel:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.
Apache/1.3.33 Server at https://www.allthingsdemocrat.com Port 80
In some of the cases refreshing the page completed the delete after about 30 seconds of waiting. That should have been a fairly simple check for whoever tests this stuff. :-p
Forum: Plugins
In reply to: [Plugin: Admin Management Xtended] AMX no longer working since 2.6 upgradeNot sure which plugin you guys are talking about, but I get the IE status bar “done with errors on the page” on every single admin page. It says the error is on line 8 char 1, object expected but that sounds near the beginning so I’m guessing it’s one of those syntax errors further down the page. Doesn’t seem to hurt anything but it’s annoying.
Forum: Fixing WordPress
In reply to: Upgrade to 2.6, Blank screens after actionsI’m having an issue with that too. It takes a long time to delete 1 file, so if you delete more than one from the Manage/Posts page, it hangs until you finally get an Internal Server Error. Very lame.
Forum: Plugins
In reply to: Custom Smilies pluginHow do I mark this thread as resolved?
Forum: Requests and Feedback
In reply to: Have any news on 2.5.2 RC?Wow, I guess I was the only one reading the forum after it was released on April 25th. I saw tons of defects that were show-stoppers for the blogmasters reporting the problems. Thought I would wait a few months until the next release.
I was looking at the timeline of defect tickets covering 5/5/08-6/4/08 where there are hundreds of reported defects and enhancements. But I see that the timeline roadmap you referenced shows 72 closed tickets and 793 tickets still active, with a due date of August 7th.
Now, if I’m reading the list of tickets right, it appears that the closed ticket fixes are being applied to the latest nightly build, which they invite anyone to try out and report bugs. If you guys downloaded the latest version recently, then you may have a much better version.
I guess I’ll wait until August.