kingrat: (Default)
I noticed some sites leeching off images on Rat's Reading.

So I played around with .htaccess to prevent hot-linking. I used cPanel to generate the rules, then I played with them. I need Google Reader, Bloglines, Livejournal, etc. to be able to display the images. It got too complicated so I decided it was more trouble than it was worth. I used cPanel to turn off the hotlink protection.

Then I headed over to mom's, to Costoco, to Bellingham for coffee, to the gym, back to mom's and then home. I got home and realized I had no hits to Rat's Reading since I left. I go to my home page, and that comes up. But every single post errors out.

I look at the logs. I poke around for 5 minutes or so. Then I realized that cPanel turned off the Rewrite engine when it turned off hotlink protection. The Rewrite engine is required to display individual posts. I turned it back on.

And here I thought I was going to go a month with every day having 20 or more hits. But I fear google and other search engines may have flagged my site as down, and it will take a while for their indexes to be updated.

ah hah!

Feb. 19th, 2007 04:09 pm
kingrat: (Default)
problem was my output was being printed before strip_tags was called, and the output from strip_tags wasn't being printed at all!

I now have a completely valid home page for Rat's Reading.

strip_tags

Feb. 19th, 2007 03:41 pm
kingrat: (Skull)
For some reason the PHP function strip_tags is not stripping <cite> entities from a string.

This is very aggravating to me.
kingrat: (Skull)

So I just upgraded Rat's Reading to the latest version of Simplr, the theme for it. It's the equivalent of Livejournal's styles.

Unfortunately, more than a one thing doesn't work the same way as it used to in the old version. So now I have a few hours worth of hacking to get it all ship shape.

I'll probably get a better schooling in PHP and Wordpress than I did last time I hacked Simplr up.

Pagerank

Jan. 21st, 2007 07:59 pm
kingrat: (Default)

Rat's Reading has seen a huge increase in traffic from Google searches this month. I'm not sure why. It's Pagerank still shows as 2. Most months I get between 10 and 20 search referrals. High months 30 to 40. This month, it's already at 100 and we're only at day 21. So I'm not sure what gives. About the only thing I can think of is they are rolling out their personalized search to a wider percentage of searchers, and the site is ranked higher for people who click on reading related links.

Profile

kingrat: (Default)
kingrat

July 2020

S M T W T F S
   1234
567891011
12131415 16 1718
19202122232425
262728293031 

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 3rd, 2025 03:55 am
Powered by Dreamwidth Studios