WordPress.org

Ready to get started?Download WordPress

Forums

Need to create duplicate page for subdirectory...or redirect traffic (4 posts)

  1. aloe4288
    Member
    Posted 2 years ago #

    I've got a problem. HELP!

    I have 25,000 Travel Packs going out with those QC Code thingies printed on them that direct users to a page called http://www.aloe-baby.com/mobile. The problem is, I had to give up pretty permalink names because I had so much trouble with them. So now the page I MEANT to have at http://www.aloe-baby.com/mobile exists at http://aloe-baby.com/?page_id=77. This means that those 25,000 Travel Packs are sending people to an 404 error page.

    So I'm web hosting with godaddy (I know, I know...I didn't know better when I started.) and they suggested I create a subdirectory in my folder called /mobile, which I have done. Then they told me to put a copy of my page that's called http://aloe-baby.com/?page_id=77 into that directory.

    Now, I'm no genius, but I don't think it's that simple. My page doesn't exist as a simple entity that I can just copy and paste. It's situated in a complex array of some database, surrounded by widgets and plugins and all sorts of other goodies.

    And, no, I don't want to risk going back to pretty permalinks and losing my entire website again.

    So, how do I either redirect traffic going to aloe-baby.com/mobile to http://aloe-baby.com/?page_id=77 OR put my http://aloe-baby.com/?page_id=77 page into that /mobile subdirectory?

    Thanks so much!!

  2. aloe4288
    Member
    Posted 2 years ago #

    Or is there another solution that I don't know about? Like renaming ONLY that /?page_id=77 page without doing pretty permalinks for the rest of the site?

  3. aloe4288
    Member
    Posted 2 years ago #

    Or is there a more robust pretty permalinks plugin that I can try (after thoroughly backing up the site) that works well with 3.3.1? Though this idea scares the heck out of me. But it would be better for SEO, I know...

  4. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 2 years ago #

    Please dont bump - it is against forum rules and has caused your topic not to be on the 'no replies yet' list.

    What kind of trouble did you have with pretty permalinks that made you give up on them? It sounds like solving that problem will be the best wat way to cure the issue.

    Until you have permalinks working, you can create the /mobile directory and create a file in that directory called index.php with the content:

    <?php
    Header( "HTTP/1.1 301 Moved Permanently" );
    Header( "http://aloe-baby.com/?page_id=77" );
    ?>

Topic Closed

This topic has been closed to new replies.

About this Topic