phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
Script does not work

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite
::  
Author Message
ClientHelp



Joined: 07 Oct 2008
Posts: 7

Script does not workPosted: Tue Oct 07, 2008 1:58 pm    Post subject: Script does not work

i installed this script on my site and it does not work theres always problems with 404 errors. Is it the Template? NO , oh maybe i missed edits? Could of but your template edits are not clear for new themes. I went back to the default them you support "ProSilver" and still 404 errors. Even with Member pages its nothing but 404 errors /member/blah 404. My site is -http://www.client-help.co.cc , its full of errors and im not happy.
Back to top
Peter77
phpBB SEO Team
phpBB SEO Team


Joined: 10 May 2006
Posts: 515
Location: Michigan

Script does not workPosted: Wed Oct 08, 2008 2:47 am    Post subject: Re: Script does not work

Have you double checked your .htaccess file and make sure you've made the proper edits?
Back to top
ClientHelp



Joined: 07 Oct 2008
Posts: 7

Script does not workPosted: Thu Oct 09, 2008 6:30 pm    Post subject: Re: Script does not work

ya i followed your instructions but they are not clear. 1) your instructions do not tell you where and what to edit in the .htaccess. 2) there are no clear instructions for other templates 3) Members pages give a 404 and 5) Template shows with blank images . i wasted too much time with a headache trying to get it right and it was too time consuming. i spent 20 hours trying to fix it and no success.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

Script does not workPosted: Sat Oct 11, 2008 12:59 pm    Post subject: Re: Script does not work

-www.client-help.co.cc currently is not reachable from where I stand.
1) The instructions tell you to generate an .htaccess in ACP, as well as all other required steps for a smooth install :
install wrote:
___________
IMPORTANT :
________________________________________
Before you start, read this with caution.
=> For a smooth install :
1) Backup all your files;
2) Apply the mod code changes on copies of your files;
3) Upload all files;
4) CHMOD the phpbb_seo/cache/ folder to 0777;
5) Empty the phpBB/cache/ folder : just delete all files EXCEPTS the .htaccess.
6) Go to -www.yoursite.com/phpBB/phpbb_seo/phpbb_seo_install.php and follow the install instruction
7) Go to phpBB ACP : It's now time to play with settings described bellow;
Cool Generate your personalized .htaccess and upload or move it following the instructions;
9) Test a rewritten URL, such as -www.yoursite.com/phpBB/post1.html, if you end up with a 404 (not a phpBB message), go back to step 8;
10) Activate URL rewriting in phpBB ACP and allow yourself some auto-congratulation Very Happy
________________________________________

Once you will have installed the mod, you will have to refresh your theme's cache as well as phpBB's cache (ACP => STYLE, Themes => Refresh).

2) You won't find many mod with more than prosilver and subsilver2 code changes, none with all available theme code change. Usually, it's pretty easy to adapt the required code change, but we cannot help you without knowing more about the theme you are using.
3) Well if all pages goes 404, why bovering about member urls, this is the same problem, you need a proper .htaccess for url rewritten urls to work.
5) (since there is no 4)) This is why some modding of the template is required, at least the first change in overall_header.html.

In addition, you'll find advices worth being followed in each mod rewrite release thread :
SeO wrote:

Some advices :

    Once you will have installed the mod, you will have to empty the phpBB/cache/ folder before the mod will fully work, just delete all files but the .htaccess.

    Don't forget about your robots.txt as well as about the www prefix issue.
    The Zero Duplicate as well as some other good mods (dynamic meta tag, Otpimal titles, No duplicate ...) that will help you out a lot in this SEO quest are to be found in the phpBB3 SEO toolkit Forum.
    The GYM sitemaps & RSS module is now available.

    You can as well check a lot of interesting Search Engine Optimization (SEO) parameters thanks to our phpBB SEO webmaster Tools

    You should perform test locally or on a test server before you use this setup on a live site. This will prevent many small path issues in .htaccess from becoming too stressing for you Wink

    Our advice goes to Xampp to set up a local test server.
    To load mod Rewrite with Xampp :
    Quote:
    Open <xampp-directory>/apache/conf/httpd.conf and replace :
    Code:
    #LoadModule rewrite_module modules/mod_rewrite.so

    With :
    Code:
    LoadModule rewrite_module modules/mod_rewrite.so

    And then :
    Code:
    <Directory />
        Options FollowSymLinks
        AllowOverride none
        Order deny,allow
        Deny from all
    </Directory>

    With :
    Code:
    <Directory />
        Options FollowSymLinks
        AllowOverride All
        Order deny,allow
        Deny from all
    </Directory>




++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
ClientHelp



Joined: 07 Oct 2008
Posts: 7

Script does not workPosted: Mon Oct 20, 2008 2:52 pm    Post subject: Re: Script does not work

i have fixed it now also fixed the theme. I have one problem though i have to keep purging the cache like every couple minutes as the images come up blank. I see all the theme apart from the header image and cep images. Once i do a purge its fine.

Any ideas on any fixes to this. My new htaccess is below.


Code:

    # Lines That should already be in your .htacess
    <Files "config.php">
    Order Allow,Deny
    Deny from All
    </Files>
    <Files "common.php">
    Order Allow,Deny
    Deny from All
    </Files>

    # You may need to un-comment the following line
    # Options +FollowSymlinks
    # REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
    RewriteEngine On
    # REWRITE BASE
    RewriteBase /
    # HERE IS A GOOD PLACE TO ADD THE WWW PREFIXE REDIRECTION

    #####################################################
    # PHPBB SEO REWRITE RULES - ADVANCED
    #####################################################
    # AUTHOR : dcz www.phpbb-seo.com
    # STARTED : 01/2006
    #################################
    # FORUMS PAGES
    ###############
    # FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. "forum" REQUIRES TO BE SET AS FORUM INDEX
    # RewriteRule ^forum\.html$ /index.php [QSA,L,NC]
    # FORUM
    RewriteRule ^[a-z0-9_-]*-f([0-9]+)(-([0-9]+))?\.html$ /viewforum.php?f=$1&start=$3 [QSA,L,NC]
    # TOPIC WITH VIRTUAL FOLDER
    RewriteRule ^[a-z0-9_-]*-f([0-9]+)/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
    # GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
    RewriteRule ^announces/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /viewtopic.php?t=$1&start=$3 [QSA,L,NC]
    # TOPIC WITHOUT FORUM ID & DELIM
    RewriteRule ^([a-z0-9_-]*)/?[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /viewtopic.php?forum_uri=$1&t=$2&start=$4 [QSA,L,NC]
    # PROFILES THROUGH USERNAME
    RewriteRule ^member/([^/]+)/?$ /memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
    # USER MESSAGES THROUGH USERNAME
    RewriteRule ^member/([^/]+)/(topics|posts)/?(page([0-9]+)\.html)?$ /search.php?author=$1&sr=$2&start=$4 [QSA,L,NC]
    # GROUPS ADVANCED
    RewriteRule ^[a-z0-9_-]*-g([0-9]+)(-([0-9]+))?\.html$ /memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
    # POST
    RewriteRule ^post([0-9]+)\.html$ /viewtopic.php?p=$1 [QSA,L,NC]
    # ACTIVE TOPICS
    RewriteRule ^active-topics(-([0-9]+))?\.html$ /search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
    # UNANSWERED TOPICS
    RewriteRule ^unanswered(-([0-9]+))?\.html$ /search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
    # NEW POSTS
    RewriteRule ^newposts(-([0-9]+))?\.html$ /search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
    # THE TEAM
    RewriteRule ^the-team\.html$ /memberlist.php?mode=leaders [QSA,L,NC]
    # HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES

    # FORUM WITHOUT ID & DELIM
    # THESE FOUR LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^([a-z0-9_-]+)(-([0-9]+))\.html$ /viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^([a-z0-9_-]+)\.html$ /viewforum.php?forum_uri=$1 [QSA,L,NC]
    # END PHPBB PAGES
    ################################################
#####

it happens when i click search

UPDATE:

Fixed i had to CHMOD the site logo to 777
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: