Forums

1 Blog on 2 Domains (6 posts)

  1. e03179
    Member
    Posted 6 years ago #

    I have a friend deployed overseas. Recently the powers that be began blocking huge chunks of the internet including his WP blog. This is frustrating as blogging has become a hobby for him.

    The Problem: he can not access his blog because it is blocked because of his URL.

    Possible solution: Have him post from a new URL. I want to get a new domain name for him that will run the same install of WP on the same DB. I hope this domain name will stay unblocked by TPTB. I want this domain name to be private so that only he and I know about it. I want his old blog to continue to function as normal without visitors knowing that he is actually posting through another URL.
    Any way to achieve this?

    Note: I do not want to use HTML frames to achieve the results. I want to go with the new URL route unless someone else has a better idea.

    TYIA.

  2. Mark (podz)
    Support Maven
    Posted 6 years ago #

    No.
    A WP blog constantly checks the URL and if it varies it will break.

    In this case I would suggest blogging by mail - you can alter the email address as often as needed.
    Alternatively, setup another blog and use RSS to pull the posts from the new into the old blog.

  3. gMk
    Member
    Posted 6 years ago #

    I had a similar problem with corporate networks blocking some of my readers.

    Its a bit of a work around - but if you go to google language tools and translate a webpage endglish to english - you will need to make a change in the URl - i found that folks blocked could access it !

  4. Ajay
    Member
    Posted 6 years ago #

    Though it isn't directly possible.

    What I did last time was use .htaccess and copy all the rules as is and lastly just add the new domain at the start.

    however, you will need to update the .htaccess whenever you create a new page.

  5. e03179
    Member
    Posted 6 years ago #

    @podz: He currently can blog by mail. However, I have not figured out a way for him to reply to comments. Is there a way to reply to comments by mail?

    @gMk: I do not understand your reply.

    @Ajay: This is more along the lines that I was hoping someone would suggest - some kind of .htaccess hack. I just need another website URL to serve as the editor. I don't really care if things get out of sync on the editor as long as the main/first/old blog appears to function as normal. Can anyone provide a sample .htaccess with the rules I would need to put this off?

  6. Ajay
    Member
    Posted 6 years ago #

    Sorry for the delayed reply, but what you can do is this.

    e.g. rule. I am using 1.5, so you may have to modify the same for 2.0

    RewriteRule ^([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$ http:// newdomain.com/index.php?year=$1&monthnum=$2&day=$3&feed=$4 [QSA,L,R=301]

    Replace newdomain.com with your new blog url.
    You will need to modify all the other rules similarly.

    What this will do is not make your old blog function as it, but it will create a 301 redirect to the new blog.

Topic Closed

This topic has been closed to new replies.

About this Topic