New Posts
Welcome guest, is this your first visit?
  • Login:
Dealer Training - Learn To Deal Poker
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
  1. #1
    PAL Red Pro
    Go Cubs Go
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    USSA
    Posts
    4,008
    Blog Entries
    355
    Feedback Score
    6 (100%)

    Default Redirecting PAL to /forums

    Hopefully tonight we are going to be rolling out the beta of the new PAL set-up. Everything will be driven on the VB platform. I am actually very excited about this because it has always been a struggle getting traffic to the main site. Having one website on 2 platforms is not optimal.

    Anyhow, here is the dilemma. I have hundreds of blog posts and several University articles that I'd like to import to VB pages at some point, not initially.

    Unfortunately, I imagine the URL structure will be different. Will I need to 301 every article or blog post individually? Likewise couldn't I just un-index all the pages on the root domain of the site, and then they'd be re-indexed once imported here in the /forums.

    Any thoughts from the SEO gurus here. Thanks in advance.


    Signed,

    Captain Question
    Support PAL Partner Affiliate Programs, because they will support you!

    Support PAL Partners Today!

  2. #2
    CK
    CK is offline
    Senior Member
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    ?
    Posts
    2,226
    Blog Entries
    2
    Feedback Score
    35 (100%)

    Default

    I would 301 them to the new urls individually. You want to keep the backlinks you have built, age pr so thats what I would do. Yeah its pain in the ass but personally I think its the best option
    Last edited by CK; 02-04-2009 at 03:57 PM.
    ----------------------------------------
    Everyone says they are willing to do whatever it takes to get ahead - but yet there are so few people up at 5AM ? - Robert Herjavec
    ---------------------------------------

  3. #3
    Tin Foil Hatter
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    USA
    Posts
    948
    Blog Entries
    5
    Feedback Score
    8 (100%)

    Default

    agreed, except i would outsource Kaus to handle this 301 re-direction if at all humanly possible .
    Promote the only Home Based Poker Dealing School on the net via Clickbank with these banners.
    Poker Leaderboard - manage & display points standings easily on your website.

  4. #4
    NOT A Moderator
    My Status
     

    Add as a friend
    Join Date
    Dec 2008
    Location
    Canada
    Posts
    1,727
    Feedback Score
    13 (100%)

    Default

    Definitely 301 them. Don't want to lose the work you put into linking them.
    Host your sites with a reliable webhost!
    Get quality safe and secure hosting from Garner Hosting.
    Need quality content for your gambling or non-gambling website?
    Now offering translation services! Get Pricing Information

  5. #5
    PAL Red Pro
    Go Cubs Go
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    USSA
    Posts
    4,008
    Blog Entries
    355
    Feedback Score
    6 (100%)

    Default

    Quote Originally Posted by Spry View Post
    agreed, except i would outsource Kaus to handle this 301 re-direction if at all humanly possible .
    Yes, this type of stuff is not my specialty.... I agree. Thanks Kaus, I was just looking for the lazy and easiest way to do it.

    If I do outsource, since the U.S. dollar is so weak, I will be paying in Turkish Lira via my forex account.
    Support PAL Partner Affiliate Programs, because they will support you!

    Support PAL Partners Today!

  6. #6
    Let's Eat A Goddamn Snack
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    Cayman Islands
    Posts
    204
    Feedback Score
    0

    Default

    I would also 301, but there's usually a better way to do it than line by line in an htaccess file.

  7. #7
    Senior Member
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    United States
    Posts
    626
    Feedback Score
    9 (100%)

    Default

    Quote Originally Posted by Nat Arem View Post
    I would also 301, but there's usually a better way to do it than line by line in an htaccess file.
    Please explain!

    I always do my 301s in htaccess. Should I be using something different, or is there a way to add multiple stuff easily.
    PokerTrikz - The Free Poker Training Site.

  8. #8
    Let's Eat A Goddamn Snack
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    Cayman Islands
    Posts
    204
    Feedback Score
    0

    Default

    Quote Originally Posted by Trikkur View Post
    Please explain!

    I always do my 301s in htaccess. Should I be using something different, or is there a way to add multiple stuff easily.
    Well, as an example, I migrated a site today to a new system. There is a WordPress install on the system. And the old news backend was a custom system. So I made a table (explained below) and used this code in the WordPress index.php:

    PHP Code:
    <?php
    /**
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */

    //Code to redirect old news to new news pages

      
    include("../database-config.php"); //I changed this for PAL :)
      
      
    $requesturi $_SERVER['REQUEST_URI'];
      
      if(
    preg_match("/\/news\/(.+).shtml/",$requesturi,$matches)) {
        
    $slug $matches[1];
        
    $slug addslashes($slug);
        
    $query "SELECT `newsid`
                  FROM `news301redirects`
                  WHERE `slug` LIKE CONVERT( _utf8 '
    $slug'
                  USING latin1 )
                  COLLATE latin1_swedish_ci
                  LIMIT 0 , 1 "
    ;
        
    $result mysql_query($query);
        
        
    $rows mysql_num_rows($result);
        if(
    $rows == 0) { //no slug found
          
    header('HTTP/1.1 301 Moved Permanently'true301); 
          
    header("Location: /news/");
          exit();
        }
        
        
    $row mysql_fetch_row($result);
        
    $articleid $row[0];
        
        
    $query "SELECT `post_name`
                  FROM `wp_posts`
                  WHERE `ID` = 
    $articleid
                  LIMIT 0 , 1 "
    ;
        
    $result mysql_query($query);
        
        
    $rows mysql_num_rows($result);
        if(
    $rows == 0) { //no id found
          
    header('HTTP/1.1 301 Moved Permanently'true301); 
          
    header("Location: /news/");
          exit();
        }
        
        
    $row mysql_fetch_row($result);
        
        
    $newarticleslug $row[0];
        
        
    $newurl "/news/$newarticleslug-$articleid/";
        
    header('HTTP/1.1 301 Moved Permanently'true301); 
        
    header("Location: $newurl");
        exit();
      }

    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define('WP_USE_THEMES'true);

    /** Loads the WordPress Environment and Template */
    require('./wp-blog-header.php');
    ?>
    My old news structure was /news/[slug].shtml. So I took the old news table, deleted every column except id and slug/url (which used to be written by hand). Then I imported the 700some old posts into WordPress using the same ids. Then I use the two queries above (with some error/bug fixes to make sure everything works okay) to determine the redirected URL. Then I use two php header lines to send the user and search engine to the right place.

    No htaccess needed. Let me know if you have questions, but this was a 20 minute project max, which is much better than putting 750 lines in my htaccess imo.

  9. #9
    Senior Member
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    United States
    Posts
    626
    Feedback Score
    9 (100%)

    Default

    I followed none of that. I wish I could code lol. Thanks though, maybe when the time comes for me to do something that massive, I will actually study that and figure out how to implement it.
    PokerTrikz - The Free Poker Training Site.

  10. #10
    PAL Red Pro
    Go Cubs Go
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    USSA
    Posts
    4,008
    Blog Entries
    355
    Feedback Score
    6 (100%)

    Default

    Nat, you are wealth of knowledge dude. Thanks homeboy.
    Support PAL Partner Affiliate Programs, because they will support you!

    Support PAL Partners Today!


 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. 301 Redirecting Bad Site to Good Site: Effects?
    By pokerprop in forum Poker SEO Forum
    Replies: 7
    Last Post: 06-11-2010, 06:08 AM
  2. forwarding/redirecting your site to another site
    By frenchnadine in forum Poker SEO Forum
    Replies: 13
    Last Post: 03-21-2010, 06:46 AM
  3. Does redirecting carry link juice
    By pokerextras in forum Poker SEO Forum
    Replies: 11
    Last Post: 01-08-2010, 10:11 PM
  4. Redirecting Question
    By CorryC in forum Poker SEO Forum
    Replies: 1
    Last Post: 06-24-2009, 02:20 PM
  5. redirecting aged domains
    By Josh in forum Poker SEO Forum
    Replies: 3
    Last Post: 12-28-2008, 07:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Powered by vBulletin® Version 4.1.5
Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.
SEO by vBSEO 3.6.0
Affiliate Program Consultant