rogerplanchon
Customer
Hello,
Just go through install process:
- files upload
- import xml
- update htaccess
- import vbseo setting
Everything goes smoothly. No error messages.
Try to access several pages but none of them are working anymore.
Looks like URL rewriting is working in adress bar and respect the imported settings but I get diffent kind of errors.
My website is build as follow:
- "root" index.php is from vbadvanced CMPS 3.0.2 with relative path /home/limpers/www
- "root" forum.php is a renamed file of the index.php of vbulletin and is set accordingly in vbulletin admincp preferences
- "root" blog.php
- Force Forum Directory Index option is set to: No
Here are the different kinds of errors I get :
* Acces forums index
* Acces a blog entry
* Acces to a user main blog page (ie: http://www.limpers.com/blogs/username/)
* Acces a thread
* Access to a custom vbadvanced page
... etc etc
Custom rewrite rules in settings
.htaccess
Any fix or any config missed ?
Just go through install process:
- files upload
- import xml
- update htaccess
- import vbseo setting
Everything goes smoothly. No error messages.
Try to access several pages but none of them are working anymore.
Looks like URL rewriting is working in adress bar and respect the imported settings but I get diffent kind of errors.
My website is build as follow:
- "root" index.php is from vbadvanced CMPS 3.0.2 with relative path /home/limpers/www
- "root" forum.php is a renamed file of the index.php of vbulletin and is set accordingly in vbulletin admincp preferences
- "root" blog.php
- Force Forum Directory Index option is set to: No
Here are the different kinds of errors I get :
* Acces forums index
Warning: require(/home/limpers/www/index.phpforum.php) [function.require]: failed to open stream: No such file or directory in /home/limpers/www/dbseo.php on line 435
Fatal error: require() [function.require]: Failed opening required '/home/limpers/www/index.phpforum.php' (include_path='.:/usr/share/php5') in /home/limpers/www/dbseo.php on line 435
* Acces a blog entry
Warning: file_get_contents(/home/limpers/www/1853-ept-london-tour-monde.html) [function.file-get-contents]: failed to open stream: No such file or directory in /home/limpers/www/dbseo.php on line 440
* Acces to a user main blog page (ie: http://www.limpers.com/blogs/username/)
Page not found
* Acces a thread
Warning: file_get_contents(/home/limpers/www/index.php$limpers-conclu-kill-tilt-un-61377.html) [function.file-get-contents]: failed to open stream: No such file or directory in /home/limpers/www/dbseo.php on line 440
* Access to a custom vbadvanced page
Page not found
... etc etc
Custom rewrite rules in settings
//==========================================================================
// Sample Custom Rewrite Rule: showgroup.php as forumleaders.html (Remove the '//' in front of the rule to enable).
//==========================================================================
//'^showgroups\.php$' => 'forumleaders.html'
//==========================================================================
// Sample Custom Rewrite Rules: calendar as static pages (Remove the '//' in front of the rules to enable).
// Note: Enable the calendar dropdown redirect rule within the Custom 301 Redirects section below.
//==========================================================================
//'calendar\.php$' => 'calendar/'
//'^calendar\.php\?c=1$' => 'calendar/'
//'^calendar\.php\?(c=1&)?do=(display.+?)(&year=)?$' => 'calendar/$2/[NF]'
//'calendar\.php\?(c=1&)?nojs=1' => 'calendar/nojs/[NF]'
//'calendar\.php\?(c=1&)?do=(display.+?)&nojs=1' => 'calendar/$2/nojs/[NF]'
//'calendar\.php\?(c=1&)?week=(\d+)&nojs=1' => 'calendar/week-$2/nojs/[NF]'
//'calendar\.php\?(c=1&)?month=(\d+)&year=(\d+)&nojs=1' => 'calendar/$3/$2/nojs/[NF]'
//'^calendar\.php\?do=getinfo&(c=1&)?day=(\d+)-(\d+)-(\d+)(&c=1)?$' => 'calendar/$2/$3/$4/'
//'^calendar\.php\?do=getinfo&e=(\d+)(&day=[0-9\-]+)?(&c=1)?$' => 'calendar/event-$1/'
//'^calendar\.php\?(s=&)?(c=1&)?(week=&)?month=(\d+)&year=(\d+)(&c=1)?(&do=displaymonth)?$' => 'calendar/$5/$4/'
//'^calendar\.php\?c=1&week=(\d+)(&do=displayweek&month=.+?)?$' => 'calendar/week-$1/'
//'^forumdisplay\.php\?f=4$' => 'poker-news-high-stakes-sexy-stuffs/'
'^forum\.php$' => 'forum/'
'^index\.php$' => '/'
'^index\.php\?langid=1$' => 'en/'
'^index\.php\?page=leaderboard$' => 'leaderboard/'
'^index\.php\?page=odds$' => 'odds-calc/'
'^index\.php\?page=lsop$' => 'limpers-series-of-poker/'
'^index\.php\?page=tos$' => 'tos-fr/'
'^index\.php\?page=limpersshop$' => 'shop-boutique-limpers/'
'^index\.php\?page=leaderboard_lvpd$' => 'leaderboard-lvpd/'
'^index\.php\?page=leaderboard-winamax$' => 'leaderboard-winamax/'
'^index\.php\?page=cgwinamax$' => 'leaderboard-cash-game-winamax/'
'^index\.php\?page=uc$' => 'poker-coaching-video-about/'
'^index\.php\?page=road$' => 'poker-coach-about/'
'^index\.php\?page=hh-converter$' => 'poker-hand-history-converter/'
//'^misc\.php\?do=form&fid=1$' => 'contact-coaching-prive/'
//'^misc\.php\?do=form&fid=2$' => 'transfert-premium-winamax/'
//'^misc\.php\?do=form&fid=3$' => 'transfert-premium-full-tilt/'
//'^misc\.php\?do=form&fid=4$' => 'transfert-premium-pokerstars/'
'^newthread\.php\?do=bonus-winamax$' => 'bonus/winamax-depot/'
'^newthread\.php\?do=bonus-redeposit-winamax$' => 'bonus/winamax-redeposit/'
'^newthread\.php\?do=challenge-perf-max$' => 'challenge/perf-max/'
'^newthread\.php\?do=challenge-tournoi-mensuel$' => 'challenge/tournoi-mensuel/'
'^newthread\.php\?do=bonus-winamax-20$' => 'bonus/winamax-depot-20/'
//'^forumdisplay\.php\?f=91\?filter[14]=NLH$' => 'f91/coaching-poker-video/no-limit-holdem/'
'^vbglossar\.php\?do=showentry&id=(\d+)&title=(.*)&catid=(\d+)&cattitle=(.*)'=>'wiki-lexique-poker/$2-$1/$4-$3.html'
'^vbglossar\.php\?do=(.*)&id=(\d+)&title=(.*)&catid=(\d+)&cattitle=(.*)'=>'wiki-lexique-poker/$3-$2/$5-$4-$1.html'
'^vbglossar\.php\?do=showcat&catid=(\d+)&cattitle=(.*)'=>'wiki-lexique-poker/$2-$1/'
'^vbglossar\.php\?do=toc$' => 'wiki-lexique-poker/summary/'
'^vbglossar\.php'=>'wiki-lexique-poker/'
//'quick-poker-news/(\w+)\.html' => '$1.html'
// 'las-ticot/ => l-as-ticot'/
.htaccess
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the dbseo control panel to stop url rewrites.
RewriteEngine On
# On récrit les urls sans www
RewriteCond %{HTTP_HOST} !^www\.limpers\.com
RewriteRule (.*) http://www.limpers.com/$1 [R=301,L]
RewriteCond %{REQUEST_METHOD} GET
RewriteCond %{THE_REQUEST} "T /index.php"
RewriteCond %{QUERY_STRING} ^$
RewriteRule .* http://www.limpers.com/? [L,R=301]
RewriteCond %{REQUEST_URI} !(admincp/|dbseocp/|modcp/|cron|mobiquo|forumrunner|api\.php)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ dbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|dbseocp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ dbseo.php [L,QSA]
Any fix or any config missed ?
Last edited: