I’m messing around with my domain settings

I’m going to map bnmng.com to another server because I’m so much more than just an erudite blogger, I want to have a place under my URL for such projects as my WordPress themes and by blog reader/sharer if I ever get around to finishing it.

This blog will still be under https://bnmng.wordpress.com, but no longer under bnmng.com.

If you’re one of my countless devoted followers, there’s no need for panic or suicide! I think I can keep the old RSS feeds going by creating a directory on the new server called “feed” and creating an index.php file with the following code:

<?php

$url='https://bnmng.wordpress.com/feed';
if(isset($_SERVER['QUERY_STRING'])) {
$url=$url . '?' . $_SERVER['QUERY_STRING'];
}
$output=file_get_contents($url);
echo $output;
?>

So the RSS feed “http://bnmng.com/feed?cat=262&#8221;, which was mapped to this wordpress blog but will be mapped to the new server, will grab and return the contents from “https://bnmng.wordpress.com/feed?cat=262&#8221;. That should work.

I don’t know if email subscriptions will be affected at all, but I think when I select bnmng.wordpress.com as my primary URL, those will automatically be updated.

Advertisements
Previous Post
Leave a comment

1 Comment

  1. Haha you are too funny

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s