Profile urls not working?

phpBB3 SEO Advanced mod Rewrite support forum.
This mods performs URL rewriting for phpBB, injecting forums and topic titles in their URLs.

Moderator: Moderators

Profile urls not working?

Postby websinch » Tue Jul 29, 2008 3:48 pm

hi it appears that my profile urls are not working, i have tried all the extra options which have had no effect, the profile urls used to work but have stopped recently.

here is the .htaccess code generated by the script (if the code should not be here please remove it mods or just tell me to remove it):

Code: Select all

    # 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 /forum/
    # 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
    #####################################################

websinch
 
Posts: 3
Joined: Fri Jul 25, 2008 3:53 pm

Advertisement

Postby dcz » Wed Jul 30, 2008 8:09 am

Well, without knowing how are your profiles urls, it's hard to tell if this .htaccess works.

This .htaccess is set up to use profiles without ids : example.com/member/nickname

How are your profiles urls ?

Can you post or pm you forum url ?

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Postby websinch » Wed Jul 30, 2008 9:48 am

the link to my profile given out on the forum index is
http://www.websinch.com/forum/member/SteelSlasher/
but it seems that the .htaccess should allow that link

[ignore]it is likely that i have two .htaccess files (one in /forum/ and one in the root)[/ignore]

i removed both .htaccess files and added a re-generated file to the root now it works but the css will not load through a virtual folder as the urls are made like this:
./style.php?id=X

which turns into:
forum/member/{username}/style.php?id=x
websinch
 
Posts: 3
Joined: Fri Jul 25, 2008 3:53 pm

Postby SeO » Wed Jul 30, 2008 1:23 pm

The css issue most likely related to un-complete code changes in your templates.

Your themes seems based on prosilver, the prosilver's code changes should thus match. Apply them and clear you theme's cache in style acp.
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Postby websinch » Thu Jul 31, 2008 9:24 am

i thought i did that, then again i did change the theme a couple of times after installing phpbb seo, thanks for your help
websinch
 
Posts: 3
Joined: Fri Jul 25, 2008 3:53 pm


Return to Advanced SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 5 guests