Nov

25

A Bridge Too Far: Simple Redirects

No new work on the blog today. Boo.

Unless you count spending half an hour trying again to get pocketuniverse.ca to redirect to www.pocketuniverse.ca. Django only does the redirect when it's in the mood, so I tried adding an Apache rule. Thus enters (dramatic music) mod_rewrite, slinking its way in, complicating the simple, and confounding the brilliant.

This is in my virtual host for pocketuniverse.ca (with a ServerAlias to www.pocketuniverse.ca). Does it make any sense? (contact email = my first name at this domain name)

  RewriteCond %{HTTP_HOST}   !^www.pocketuniverse.ca [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^/(.*) http://www.pocketuniverse.ca/$1 [L,R]

Oh yeah. I did get one other thing set up: Google Analytics. It's set to track traffic to pocketuniverse.ca, so I should see at least some of you guys as you come in.

Update:
I got it working. You know what helped?

  RewriteEngine on

Hi there, every time i used to check blog posts here in the early hours in the morning, as i like to find out more and more.

networksolutions.com (October 22, 2018 at 6:30 p.m.)

If you are going for best contents like me, only go to see this website daily since it gives feature contents, thanks

http://Cnet.com/ (January 30, 2019 at 10:00 a.m.)

Hi! I know this is kind of off topic but I was wondering if you knew where I could locate a captcha plugin for my comment form? I'm using the same blog platform as yours and I'm having problems finding one? Thanks a lot!

Wade (February 05, 2019 at 4:44 p.m.)

Do you mind if I quote a few of your posts as long as I provide credit and sources back to your website? My website is in the very same niche as yours and my users would definitely benefit from some of the information you provide here. Please let me know if this ok with you. Thanks a lot!

Stella (February 13, 2019 at 6:51 p.m.)

This post is truly a good one it assists new the web people, who are wishing for blogging.

Leta (February 14, 2019 at 4:15 a.m.)