PDA

View Full Version : phpBB3 + mod_rewrite "phpbb-seo" ?



xtram
06-30-2007, 08:47 PM
Hi there,

Is it possible to use the mod-rewrite with a .htacess file as it's explained in this MOD : "Advanced phpBB3 SEO mod Rewrite (http://www.phpbb-seo.com/boards/advanced-seo-url/advanced-phpbb3-seo-url-vt1219.html)" ?

full doc : http://www.phpbb-seo.com/boards/advanced-seo-url/advanced-phpbb3-seo-url-vt1219.html

I tried, but I get errors, and i can't see in phpinfos any mod_rewrite activated, am i wrong ?

thank you.

charlesgan
06-30-2007, 09:02 PM
"mod-rewrite with a .htacess" is supported.. and for seo thing, yes it can be customised the url so that showing the post name etc. Instead of the posting id.

make sure the .htaccess is configure properly, and located in the right domain folder.

you might post your url here.

xtram
07-02-2007, 03:32 PM
Hi charlesgan,

thank you for responding to me.


today, I tried again, and it continues to dysfonction..

the index page is ok, but the links are wrongs,

you can see it there :
http://forum-thailande.agvoyage.com/

try to go in the "tourisme" or "culture" part, and you'll see the problem

it wants to use this link, and of course it's wrong.
http://localhost/agvoyage/culture-thailandaise-f2/

it should be :
http://forum-thailande.agvoyage.com/culture-thailandaise-f2/
or
http://www.agvoyage.com/forum-thailande/culture-thailandaise-f2/

I don't know where is the error ??

may you help me ?

thanks.

lazynitwit
07-02-2007, 04:40 PM
The code does not specifically specify anywhere to use "localhost." Make sure you have set your "domain name" under Server Settings in the admin panel. Also make sure you have the proper .htaccess file on your site as even the correct SEO urls cause 404 errors.

xtram
07-02-2007, 06:19 PM
Thank you lazynitwit,

I change the settings in the ACP, and the links are now in a correct form :
http://forum-thailande.agvoyage.com/culture-thailandaise-f2/

but the result is always an error page... :confused:

is it due to a mistake in the .htaccess file ?

this is the .htacsess file i use :


# You could need to un-comment the following line
# Options +FollowSymlinks
RewriteEngine On
RewriteBase /

################################################## #######
# PHPBB SEO REWRITE RULES #
################################################## #######
# AUTHOR : dcz http://www.phpbb-seo.com/
# STARTED : 01/2006
################################################## ###
# FORUMS PAGES
########################
# FORUM INDEX (un-comment if used)
RewriteRule ^index\.html$ /index.php [QSA,L]
# FORUM
RewriteRule ^[a-z0-9_-]*-f([0-9]+)(-([0-9]+))?/?$ /viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC
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
RewriteRule ^annonces/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^post([0-9]+)\.html$ /viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^membre([0-9]+)\.html$ /memberlist.php?mode=viewprofile&u=$1 [QSA,L]
# THE TEAM
RewriteRule ^equipe\.html$ /memberlist.php?mode=leaders [QSA,L,NC]
# END PHPBB PAGES
################################################## ###

this file is stored in the phpbb_seo folder, its correct place ?

benjamina
11-22-2008, 08:45 PM
What does this mod do?, how does a static url look like? are they search engine friendly? Does this MOD eliminate the problem of duplicate content? i.e. a single page of content could be reached by a number of URLs on the board, which the search engines generally don't like
__________________
Keyword Research Tool (http://www.keywordspy.com)

nadalbg
11-23-2008, 03:34 AM
What does this mod do?, how does a static url look like? are they search engine friendly? Does this MOD eliminate the problem of duplicate content? i.e. a single page of content could be reached by a number of URLs on the board, which the search engines generally don't like

Yes, this is what it is, I didnt try it because I installed so many mods before that and another mod would seriously make the things way too complicated, plus I dont want to do it just for google. In general this mod will give you static urls that are I think with the title of the thread.

dkinzer
11-23-2008, 08:34 AM
this file is stored in the phpbb_seo folder, its correct place ?No. The .htaccess file must be in your web root directory for the domain to which it applies. For you primary domain, that means the public_html directory.

solankie
04-15-2009, 11:39 PM
What is the current and future state of SEO as you see it?
I read so many blogs and hear so many podcasts that say "SEO is dead" or soon will be. Do you think there is any truth to these arguments? Or does SEO just get a bad rap because there are so many people who illegitimately claim to know so much about it, but aren't successful? I work for a large agency mainly on PPC stuff but am thinking about learning more about SEO, just don't know much about where it's going.
__________________
external keyword tool (http://www.keywordspy.com/overview/keyword.aspx?q=external%20keyword%20tool) ~ keyworddiscovery.com (http://www.keywordspy.com/overview/domain.aspx?q=keyworddiscovery.com) ~ keycompete.com (http://www.keywordspy.com/overview/domain.aspx?q=keycompete.com) ~ compete.com (http://www.keywordspy.com/overview/domain.aspx?q=compete.com) ~ webmasterworld.com (http://www.keywordspy.com/overview/domain.aspx?q=webmasterworld.com)

irissandeep
08-16-2009, 12:03 PM
Hi, I have a problem this i want to put SEO URL in my foum so i download its code http://www.phpbb-seo.com/en/phpbb2-advanced/advanced-seo-url-t43.html but in txt file they said

#
#-----[ OPEN ]------------------------------------------
#

common.php

#
#-----[ FIND ]------------------------------------------
#

if (file_exists('install') || file_exists('contrib'))
{
message_die(GENERAL_MESSAGE, 'Please_remove_install_contrib');
}

#
#-----[ BEFORE, ADD ]------------------------------------------
#

// www.phpBB-SEO.com SEO TOOLKIT BEGIN
include($phpbb_root_path . 'phpbb_seo/phpbb_seo_class.'.$phpEx);
$phpbb_seo = new phpbb_seo();
// www.phpBB-SEO.com SEO TOOLKIT END

but i didn't find this code on this page
if (file_exists('install') || file_exists('contrib'))
{
message_die(GENERAL_MESSAGE, 'Please_remove_install_contrib');
}
so can you help me in this section.

thanks.