vBulletin Search Engine Optimization
|
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
| ||||
| ||||
| 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');
|
|
#2
| |||
| |||
|
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
| ||||
| ||||
|
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]
Quote:
Code: RewriteCond %{HTTP_HOST} !^www\.techsupportteam\.org
RewriteRule (.*) http://www.techsupportteam.org/blog/$1 [R=301,L]
|
|
#4
| ||||
| ||||
|
What is your blog URL as defined in Wordpress options?
__________________ Oleg Ignatiuk / Crawlability Inc. vBSEO Styles: Version 1.0 PRO For Everyone Version 2.0 For vBSEO Customers vBSEO 3.3.0 Gold Released with New "Virtual HTML Display" Feature Available for Download Now 6X Traffic - $1400 in One Day with vBSEO! Max Out Your SEO |
|
#6
| ||||
| ||||
|
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 12:42 PM. |
|
#8
| ||||
| ||||
| Quote:
Quote:
<link rel="shortcut icon" href="/favicon.ico" /> in the head |
|
#9
| ||||
| ||||
|
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 |
|
#11
| ||||
| ||||
|
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. |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wordpress blog or vB/vBSEO blog? | Kwak | General Discussion | 6 | 12-11-2007 02:39 PM |
| UTF-8 im Blog | Hoffi | Deutsch | 2 | 12-08-2007 10:43 AM |
| Why is blog.php.... | Itworx4me | URL Rewrite Settings | 8 | 12-01-2007 09:55 AM |
| Blog Categories - Blog Not Found | NeutralizeR | Troubleshooting | 1 | 11-30-2007 11:26 AM |
| Blog SEO | briansol | Member Articles | 2 | 07-15-2006 06:54 PM |