| |
|
| :: |
| Author |
Message |
wilsonf1
Joined: 14 May 2008 Posts: 10
|
Posted: Wed May 14, 2008 11:12 pm Post subject: Outrageous - where have my forums gone? |
|
|
i installed phpbb3 tonight and then went straight in and did the seo plugin this site provides
upon activating the rewrite in the control panel i then tested my forum as it says, my forum url had indeed changed but went to 404 - i deleted the forum and started a new one from scratch and now no forums appear on my BB , it just says:
This board has no forums.
there is a forum called main the the control panel and i can see it in my database table - so where is it?
even when i disable rewrites nothing changes
can any one help as this is very fustrating....
http://www.enterf1.com/f1-forum/ |
|
|
| Back to top |
|
 |
|
 |
wilsonf1
Joined: 14 May 2008 Posts: 10
|
Posted: Wed May 14, 2008 11:53 pm Post subject: Re: Outrageous - where have my forums gone? |
|
|
ok i managed to get 2 test forums working and then reinstalled the plugin
i click enable rewriting and then save the htaccess file, when i look at the fourm i get
http://www.enterf1.com/f1-forum/main-f5.html
which gives a 404 - what do i manually have to do to enable this to work?
im not sure how to check: First make sure mod_rewrite is activated on your server.
im using fasthosts reseller hosting will that work??! |
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3089
|
Posted: Thu May 15, 2008 8:45 am Post subject: Re: Outrageous - where have my forums gone? |
|
|
When saved, the .htaccess ends up in the phpbb_seo/cache/ dir, where we have writing privileges.
You need to move it where the .htaccess generator tells you to (bold red) once done. Default would be above the f1-forum/ dir, in the domain's root, but you can as well generate one to go within the forum dir, playing with the "more option" option. |
_________________
|
|
| Back to top |
|
 |
wilsonf1
Joined: 14 May 2008 Posts: 10
|
Posted: Thu May 15, 2008 8:55 am Post subject: Re: Outrageous - where have my forums gone? |
|
|
i tried it in my fourm dir and website root dit but no joy, does the below like right to you?
| 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 ^f1-forum/forum\.html$ /f1-forum/index.php [QSA,L,NC]
# FORUM
RewriteRule ^f1-forum/[a-z0-9_-]*-f([0-9]+)(-([0-9]+))?\.html$ /f1-forum/viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^f1-forum/[a-z0-9_-]*-f([0-9]+)/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /f1-forum/viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^f1-forum/announces/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /f1-forum/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^f1-forum/([a-z0-9_-]*)/?[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /f1-forum/viewtopic.php?forum_uri=$1&t=$2&start=$4 [QSA,L,NC]
# PROFILES SIMPLE
RewriteRule ^f1-forum/member([0-9]+)\.html$ /f1-forum/memberlist.php?mode=viewprofile&u=$1 [QSA,L,NC]
# USER MESSAGES SIMPLE
RewriteRule ^f1-forum/member([0-9]+)-(topics|posts)(-([0-9]+))?\.html$ /f1-forum/search.php?author_id=$1&sr=$2&start=$4 [QSA,L,NC]
# GROUPS SIMPLE
RewriteRule ^f1-forum/group([0-9]+)(-([0-9]+))?\.html$ /f1-forum/memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^f1-forum/post([0-9]+)\.html$ /f1-forum/viewtopic.php?p=$1 [QSA,L,NC]
# ACTIVE TOPICS
RewriteRule ^f1-forum/active-topics(-([0-9]+))?\.html$ /f1-forum/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
# UNANSWERED TOPICS
RewriteRule ^f1-forum/unanswered(-([0-9]+))?\.html$ /f1-forum/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
# NEW POSTS
RewriteRule ^f1-forum/newposts(-([0-9]+))?\.html$ /f1-forum/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
# THE TEAM
RewriteRule ^f1-forum/the-team\.html$ /f1-forum/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
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^f1-forum/([a-z0-9_-]+)(-([0-9]+))?\.html$ /f1-forum/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
# END PHPBB PAGES
#####################################################
|
|
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3089
|
Posted: Thu May 15, 2008 9:35 am Post subject: Re: Outrageous - where have my forums gone? |
|
|
This one is meant to be used in the domain's root.
If it does not work, it could be due to the slashes, you can try the several options while generating it, but you may want to make sure you can use mod_rewrite first. |
_________________
|
|
| Back to top |
|
 |
wilsonf1
Joined: 14 May 2008 Posts: 10
|
Posted: Thu May 15, 2008 12:09 pm Post subject: Re: Outrageous - where have my forums gone? |
|
|
| fasthosts say the standard reqrite rule is on for their linux servers so all good |
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3089
|
Posted: Thu May 15, 2008 12:46 pm Post subject: Re: Outrageous - where have my forums gone? |
|
|
Then try to play with slashes.
Put the .htaccess you posted in your website's root, and try to delete all the slashes before f1-forum/ for example.
If mod_rewrite is on, it will work  |
_________________
|
|
| Back to top |
|
 |
wilsonf1
Joined: 14 May 2008 Posts: 10
|
Posted: Thu May 15, 2008 1:20 pm Post subject: Re: Outrageous - where have my forums gone? |
|
|
i tried using the below, in the root and the f1-forum folder but still no joy?! i dont get what affects it, the urls is being rewritten but doesnt exist on click?
| 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 ^f1-forum/forum\.html$ f1-forum/index.php [QSA,L,NC]
# FORUM
RewriteRule ^f1-forum/[a-z0-9_-]*-f([0-9]+)(-([0-9]+))?\.html$ f1-forum/viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^f1-forum/[a-z0-9_-]*-f([0-9]+)/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ f1-forum/viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^f1-forum/announces/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ f1-forum/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^f1-forum/([a-z0-9_-]*)/?[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ f1-forum/viewtopic.php?forum_uri=$1&t=$2&start=$4 [QSA,L,NC]
# PROFILES SIMPLE
RewriteRule ^f1-forum/member([0-9]+)\.html$ f1-forum/memberlist.php?mode=viewprofile&u=$1 [QSA,L,NC]
# USER MESSAGES SIMPLE
RewriteRule ^f1-forum/member([0-9]+)-(topics|posts)(-([0-9]+))?\.html$ f1-forum/search.php?author_id=$1&sr=$2&start=$4 [QSA,L,NC]
# GROUPS SIMPLE
RewriteRule ^f1-forum/group([0-9]+)(-([0-9]+))?\.html$ f1-forum/memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^f1-forum/post([0-9]+)\.html$ f1-forum/viewtopic.php?p=$1 [QSA,L,NC]
# ACTIVE TOPICS
RewriteRule ^f1-forum/active-topics(-([0-9]+))?\.html$ f1-forum/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
# UNANSWERED TOPICS
RewriteRule ^f1-forum/unanswered(-([0-9]+))?\.html$ f1-forum/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
# NEW POSTS
RewriteRule ^f1-forum/newposts(-([0-9]+))?\.html$ f1-forum/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
# THE TEAM
RewriteRule ^f1-forum/the-team\.html$ f1-forum/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
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^f1-forum/([a-z0-9_-]+)(-([0-9]+))?\.html$ f1-forum/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
# END PHPBB PAGES
##################################################### |
|
|
|
| Back to top |
|
 |
wilsonf1
Joined: 14 May 2008 Posts: 10
|
Posted: Thu May 15, 2008 1:41 pm Post subject: Re: Outrageous - where have my forums gone? |
|
|
| sorry hold on, there may well be a rewrite problem with my host, i'll get back to you |
|
|
| Back to top |
|
 |
wilsonf1
Joined: 14 May 2008 Posts: 10
|
Posted: Mon May 19, 2008 7:43 pm Post subject: Re: Outrageous - where have my forums gone? |
|
|
hi guys
my forum is defo on a linux server now, but when i have a ,htaccess file in my root i get a 500 error, my host says the following:
The .htaccess file will allow changes to the folllowing configurations:
* Mod_rewrite This allows you to manipulate URL's to make them more user and search engine friendly. More information regarding the use of this feature can be found in our article: Mod_rewrite on Linux web servers.
* Password Protection It is not possible to add password protection directly by creating a .htaccess file, however this feature can be created through your Fasthosts control panel.
* Custom error pages It is not possible to add custom error pages by creating a .htaccess file, however this feature can be created through your Fasthosts control panel.
* Frontpage Extensions If you are using Frontpage extensions to publish your website a .htaccess file will be created. This will be managed and maintained by Frontpage.
All other features of the .htaccess file have been disabled on our shared hosting servers.
is there something in the htaccess that isnt in their included rules???
this is annoying!!!
msn me if you can tonight f1jameswilson@hotmail.co.uk
thanks |
|
|
| Back to top |
|
 |
wilsonf1
Joined: 14 May 2008 Posts: 10
|
Posted: Mon May 19, 2008 10:10 pm Post subject: Re: Outrageous - where have my forums gone? |
|
|
OK im nearly there:
http://forum.enterf1.com/
ive got the forums acting as folders, but cant the topic titles be folders too? do they have to be .html and do they have to have a number at the end? ideally not but let me know!!! |
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3089
|
Posted: Tue May 20, 2008 9:15 am Post subject: Re: Outrageous - where have my forums gone? |
|
|
Great.
So, you can use "/" instead of ".html" as suffixes for topics (read the install, you can actually change all suffixes to what you want except ".php"), but you can't get rid of the topic ids.
You need to regnerate an .htaccess after you change the static settings. |
_________________
|
|
| Back to top |
|
 |
wilsonf1
Joined: 14 May 2008 Posts: 10
|
Posted: Wed May 21, 2008 1:44 pm Post subject: Re: Outrageous - where have my forums gone? |
|
|
in fustration to finding out which line in the root htaccess file affetcs the topic extension i didnt replace all from .html and .asp and it worked lol so at least i know its in there some where
the last thing i need to do is style it up - copied and pasted the prosilver folder, changed the name to enterf1v1 in all the .cfg files in the imageset, theme and template folders then uploaded
in the control panel i made enterf1v1 my default style all round - so i expected to see a carbon copy of prosilver just renamed
but click the forum f1 discussion and it looses the styling:
http://forum.enterf1.com/
any ideas why - when u look in the source u can see where its point the style sheets at and they do exist? |
|
|
| Back to top |
|
 |
wilsonf1
Joined: 14 May 2008 Posts: 10
|
Posted: Wed May 21, 2008 7:36 pm Post subject: Re: Outrageous - where have my forums gone? |
|
|
update:
using firebug to manipulate the source code, it seems putting ../style rather than the default ./style as the path to to style.php kicks in the css -
this is because im in a sub folder /f1-discussion
i noticed trying to login to the forum from that sub folder also doesnt work
so why has the style/template affected the paths of these files? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
Posted: Sat May 31, 2008 9:55 am Post subject: Re: Outrageous - where have my forums gone? |
|
|
It's just that you need to implement the template code change for the mod rewrite to all you styles. Usually, custom styles are either based on prosilver or subsliver2, at least, the code change meant for one of the two provided should fit your custom style fr the most.
Post here in case you need help to find the exact pieces of code to change, the one in overall_header.html is the one that will fix your last issue.
About how to change suffixes, please refer to the install file from the release package, it's pretty simple.
++ |
_________________ 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 |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|