vBulletin Search Engine Optimization
This is a discussion on question about vbseo with a homepage within the General Discussion forums, part of the vBSEO SEO Plugin category; Hello. I am wondering if this is possible. I have a homepage, named index.php. My forum home is forum.php. I ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| question about vbseo with a homepage
Hello. I am wondering if this is possible. I have a homepage, named index.php. My forum home is forum.php. I have it set in vBSEO CP to redirect index.php to the root. But it redirects to forum.php instead. So if you go to http://www.mysite.com/index.php, it goes to http://www.mysite/forum.php, but I want it to go to http://www.mysite.com/. Now I know that this can easily be fixed by doing a 301 in .htaccess, but that is not an option, as ibproarcade uses the vbulletin index.php for saving scores and when I do that in .htaccess it breaks my arcade. So is there any way to redirect it to the root in a way that it will work with the arcade? Thanks in advanced.
__________________ http://www.puretalkforum.com <--forums http://www.yournetdirectory.com <--link directory |
|
#2
| ||||
| ||||
|
i beleive you need to uncheck the FORCE FORUMHOME AS ROOT option the vbseocp.php page, and also, on the home aliases, be sure to change index.php index.php? to forums.php forums.php? |
|
#3
| |||
| |||
|
Hello, and thanks for your reply. I tried that and it still allows you to enter index.php and not redirect to the root. Basically what I am looking for is a way to redirect index.php to the root without affecting the arcade score saving. Thanks. |
|
#4
| ||||
| ||||
|
Hello Andrew , I also have the same structure with you. Index.php my homepage and forum.php as forumhome. I have default .htaccess and have force forum root as homepage enabled with the following two options : index.php index.php? Can you please check the following two setting in vBulletin AdminCp Site Name / URL / Contact setting group : Forum URL : Homepage URL : and make sure they are both domain.com |
|
#5
| |||
| |||
|
Hello. My forum URL and Homepage URL are both http://www.domain.com. I have my vBSEO settings the same as you, too. Here is my .htaccess: Quote:
Is there any way to use a conditional in .htacess? Sorry, I don't know apache well. In English, it would ideally be "if condition - referring url is not arcade.php, rewrite index.php to the domain root. I hope we will be able to get it the way I would like. |
|
#6
| |||
| |||
|
Also, if I block index.php in my robots.txt, would that be bad? I don't want spiders to index my index.php, only my root. If I block index.php, would it also block the root or would I be fine?? Thanks in advanced. |
|
#7
| ||||
| ||||
|
Please try to add this in .htaccess after "RewriteEngine on" line: Code: RewriteCond %{REQUEST_METHOD} GET
RewriteCond %{REQUEST_URI} index\.php$
RewriteRule .* http://www.puretalkforum.com/ [L,R=301]
__________________ Oleg Ignatiuk / Crawlability Inc. vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
|
#8
| ||||
| ||||
|
If the problem is caused by the arcade i suggest you to edit index.php and add the following just after <?php Code: // ibProArcade
if($_POST['module'] == "pnFlashGames")
{
require_once('./global.php');
switch($_POST['func'])
{
case "storeScore":
$_GET['act'] = "Arcade";
$_GET['module'] = "arcade";
$_GET['do'] = "pnFStoreScore";
break;
case "saveGame":
$_GET['do'] = "pnFSaveGame";
break;
case "loadGame":
$_GET['do'] = "pnFLoadGame";
break;
case "loadGameScores":
$gid = $vbulletin->input->clean_gpc('p', 'gid', TYPE_NOHTML);
$uid= $vbulletin->userinfo['userid'];
$game = $db->query_first("SELECT * FROM " . TABLE_PREFIX . "games_scores WHERE mid=$uid AND gid = $gid ORDER BY score DESC LIMIT 0,1");
$scores = $game[score];
if($scores != false)
{
//Return true
print "&opSuccess=true&gameScores=$scores&endvar=1"; //send endvar to keep opSuccess separate from all other output from PostNuke
}
else
{
print "&opSuccess=false&error=Error&endvar=1";
}
break;
}
}
$act = $_GET[act];
$autocom = $_GET[autocom];
$showuser= $_GET[showuser];
if($act == "Arcade" || $autocom=="arcade") {
include "arcade.php";
exit();
}
if(!empty($showuser) && $showuser >= 1) {
$u = $showuser;
$_GET[u] = $showuser;
include "member.php";
exit();
}
// end of ibProArcade
This is also the way i am using in order to submit scores. Maybe this will help you. |
|
#9
| |||
| |||
| Quote:
Thanks for your reply. After I add that, I get the following in ff 2.0.0.4: Quote:
Quote:
|
|
#10
| ||||
| ||||
| Quote:
Code: RewriteCond %{REQUEST_METHOD} GET
RewriteCond %{THE_REQUEST} index\.php
RewriteCond %{QUERY_STRING} ^$
RewriteRule .* http://www.puretalkforum.com/ [L,R=301]
__________________ Oleg Ignatiuk / Crawlability Inc. vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
|
#11
| |||
| |||
|
Thank you very much. That worked perfectly.
|
|
#12
| |||
| |||
|
Just one thing, which I am sure is an easy fix. My admincp now redirects to the root. Fix please? |
|
#13
| |||
| |||
|
I think I was able to do it myself. Please tell me if I did it right. I changed it to this: Quote:
Thanks again for all of your help. |
|
#14
| ||||
| ||||
|
Yes, that's correct
__________________ Oleg Ignatiuk / Crawlability Inc. vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
|
#15
| |||
| |||
|
Great! I'm learning. Thanks so much! |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The vBSEO LinkBacks User Guide - vBSEO 3.0 GOLD | Joe Ward | General Discussion | 25 | 06-05-2008 12:04 PM |
| vBSEO 2.2.0 Released - Google/Yahoo Sitemap Compatible | Juan Muriente | vBSEO Announcements | 58 | 11-17-2005 11:49 PM |