Results 1 to 13 of 13

Blog

This is a discussion on Blog within the General Discussion forums, part of the vBulletin SEO Discussion category; Hi, I've installed a WordPress blog, and it's in a directory /blog. Now, when I got to mysite.com/blog, the www ...

  1. #1
    Senior Member Jason_A's Avatar
    Real Name
    Jason Abbot
    Join Date
    Feb 2008
    Location
    USA
    Posts
    278
    Liked
    0 times
    Blog Entries
    1

    Blog

    Hi,

    I've installed a WordPress blog, and it's in a directory /blog. Now, when I got to mysite.com/blog, the www never shows. I'd like to have www. show at all times, any of you know what I need to do?

    I tried this in the index.php file, which works for my forums, but not my blog:

    Code:
    header('Location: http://www.mysite.org/blog');
    Regards Jason

  2. #2
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    You need to add lines to the .htaccess file in the Blog directory, just like the ones in your root .htaccess. (adding the /blog to the redirected url, of course. )

    Details here: 301 Redirecting Domains

  3. #3
    Senior Member Jason_A's Avatar
    Real Name
    Jason Abbot
    Join Date
    Feb 2008
    Location
    USA
    Posts
    278
    Liked
    0 times
    Blog Entries
    1
    Yes, I created a .htaccess file with the following inside:

    Code:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^www\.techsupportteam\.org
    RewriteRule (.*) http://www.techsupportteam.org/blog/$1 [R=301,L]
    I then uploaded it to my blog directory, but I then get the following:
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
    Also tried:

    Code:
    RewriteCond %{HTTP_HOST} !^www\.techsupportteam\.org
    RewriteRule (.*) http://www.techsupportteam.org/blog/$1 [R=301,L]
    Regards Jason

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,687
    Liked
    157 times
    What is your blog URL as defined in Wordpress options?
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  5. #5
    Senior Member Jason_A's Avatar
    Real Name
    Jason Abbot
    Join Date
    Feb 2008
    Location
    USA
    Posts
    278
    Liked
    0 times
    Blog Entries
    1
    I've done it now, thanks Oleg. I just had to add www in my wordpress options LOL.

    Your help is much appreciated!

    Regards Jason

  6. #6
    Senior Member Jason_A's Avatar
    Real Name
    Jason Abbot
    Join Date
    Feb 2008
    Location
    USA
    Posts
    278
    Liked
    0 times
    Blog Entries
    1
    I have one more question. I want to create some pages, that go to another url, such as my forums. However, it doesn't give me the option to input the url -- yet I've seen it done...any ideas how to do this?

    Also, how do I get my favicon show?

    Regards Jason
    Last edited by Jason_A; 03-27-2008 at 01:42 PM.

  7. #7
    Senior Member Jason_A's Avatar
    Real Name
    Jason Abbot
    Join Date
    Feb 2008
    Location
    USA
    Posts
    278
    Liked
    0 times
    Blog Entries
    1
    Anyone?

    Regards Jason

  8. #8
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    Quote Originally Posted by Jason Amison View Post
    I have one more question. I want to create some pages, that go to another url, such as my forums. However, it doesn't give me the option to input the url -- yet I've seen it done...any ideas how to do this?
    not sure what you're asking here...

    Also, how do I get my favicon show?
    add
    <link rel="shortcut icon" href="/favicon.ico" />

    in the head

  9. #9
    Senior Member Jason_A's Avatar
    Real Name
    Jason Abbot
    Join Date
    Feb 2008
    Location
    USA
    Posts
    278
    Liked
    0 times
    Blog Entries
    1
    For the links; take a look at my blog: Tech Support Team You see where it says home? Well, I want to put a forums tab ect.. there and it redirects them to the forums.

    I added:
    <link rel="shortcut icon" href="/favicon.ico" /> in the head, but it still doesn't show -- works for my forums, though.

    Regards Jason

  10. #10
    Senior Member Jason_A's Avatar
    Real Name
    Jason Abbot
    Join Date
    Feb 2008
    Location
    USA
    Posts
    278
    Liked
    0 times
    Blog Entries
    1
    And to add, I've put WordPress in a seperate database -- is that ok, or is it best having it in the same as my forums?

    Regards Jason

  11. #11
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    database doesn't matter, so long as you don't ever want to do a query in a word press plugin to pull forum info, and vice versa. it CAN be done, but its a lot more complex than a simple join.

    As for the link... you'll have to modify the template and put one in there.

    Most likely, there's a loop for 'page' while have_page($before='<li>' . . . . ) {} or something like that.
    just hard code a link to your forums after that while loop in a list.

  12. #12
    Member goddess_dix's Avatar
    Real Name
    Dixie Vogel
    Join Date
    Apr 2007
    Location
    KS
    Posts
    44
    Liked
    0 times
    Blog Entries
    8
    i wouldn't put them in the same database, personally.

    for help adding a tab, look to where you got the wordpress theme.

  13. #13
    Senior Member Jason_A's Avatar
    Real Name
    Jason Abbot
    Join Date
    Feb 2008
    Location
    USA
    Posts
    278
    Liked
    0 times
    Blog Entries
    1
    Ok, thanks. Any ideas why the favicon isn't working?

    Regards Jason

Similar Threads

  1. Wordpress blog or vB/vBSEO blog?
    By Kwak in forum General Discussion
    Replies: 6
    Last Post: 12-11-2007, 03:39 PM
  2. UTF-8 im Blog
    By Hoffi in forum Deutsch
    Replies: 2
    Last Post: 12-08-2007, 11:43 AM
  3. Why is blog.php....
    By Itworx4me in forum URL Rewrite Settings
    Replies: 8
    Last Post: 12-01-2007, 10:55 AM
  4. Blog Categories - Blog Not Found
    By NeutralizeR in forum Troubleshooting
    Replies: 1
    Last Post: 11-30-2007, 12:26 PM
  5. Blog SEO
    By briansol in forum Member Articles
    Replies: 2
    Last Post: 07-15-2006, 07:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •