| :: |
| Author |
Message |
MasterYoda
Joined: 21 Feb 2008 Posts: 19
|
Posted: Thu Feb 21, 2008 9:17 am Post subject: Help needed |
|
|
Hi,
first of all i want to thank you in the name of all users for doing such a great thing to phpbb community. I started this site http://www.cilipi.net as a small portal without much knowlodge of making websites. It took me 6 months to make as it is now. I use Joomla with some html of my own, and with phpbb forum. Last week succesfuly installed seo for joomla and i want to do it with my phpbb now.
Joomla has .htacess file that i have in my root folder of site. My forum is in /forum directory. I tried reading all informations about advanced seo rewrite mod but i dodnt want to start installing it bcs i wasn't sure about some things, couldnt understand them. English is not mine native language and some things confuse me
Ok. As i understood, first of all i need to install that GUEST session MOD right? After that i am ready to start seo mod installation.
What am i consfused about is .htaccess file. As i mentioned i have one in my root directory od site. i dont understand what is the root of my forum, probably a /forum directory where my index.php of forum is located. It is not stated a direct location where to put .htaccess file placed in zip file of mod.
So, if i have .htaccess file modified for my site right now do i have to add lines in it or i have to put a .htaccess file in /forum directory.
I hope we will install this for me
Lets start from this..
Thank you guys |
|
|
| Back to top |
|
 |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3103
|
Posted: Thu Feb 21, 2008 10:57 am Post subject: Re: Help needed |
|
|
Default for phpBB .htaccess is the domains root (not phpBB's root), but you can as well add it in the phpBB dir ( changing the rewritebase).
Post here your joomla's .htaccess and your phpBB one, and I'll tell you how to merge the two or to add the phpBB one in it's install dir.
By the way, nice site  |
_________________
|
|
| Back to top |
|
 |
MasterYoda
Joined: 21 Feb 2008 Posts: 19
|
Posted: Thu Feb 21, 2008 1:19 pm Post subject: Re: Help needed |
|
|
Thank you very much
I will post it later so we could finish this, thank you for site alot
cee you later |
|
|
| Back to top |
|
 |
MasterYoda
Joined: 21 Feb 2008 Posts: 19
|
Posted: Thu Feb 21, 2008 5:49 pm Post subject: Re: Help needed |
|
|
hey mate, i am back.
here is my .htacess located in root of the site:
| Code: | ##
# @version $Id: htaccess.txt 5975 2006-12-11 01:26:33Z robs $
# @package Joomla
# @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##
#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
# Only use one of the two SEF sections that follow. Lines that can be uncommented
# (and thus used) have only one #. Lines with two #'s should not be uncommented
# In the section that you don't use, all lines should start with #
#
# For Standard SEF, use the standard SEF section. You can comment out
# all of the RewriteCond lines and reduce your server's load if you
# don't have directories in your root named 'component' or 'content'
#
# If you are using a 3rd Party SEF or the Core SEF solution
# uncomment all of the lines in the '3rd Party or Core SEF' section
#
#####################################################
##### SOLVING PROBLEMS WITH COMPONENT URL's that don't work #####
# SPECIAL NOTE FOR SMF USERS WHEN SMF IS INTEGRATED AND BRIDGED
# OR ANY SITUATION WHERE A COMPONENT's URL's AREN't WORKING
#
# In both the 'Standard SEF', and '3rd Party or Core SEF' sections the line:
# RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
# May need to be uncommented. If you are running your Joomla!/Mambo from
# a subdirectory the name of the subdirectory will need to be inserted into this
# line. For example, if your Joomla!/Mambo is in a subdirectory called '/test/',
# change this:
# RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
# to this:
# RewriteCond %{REQUEST_URI} ^(/test/component/option,com) [NC,OR] ##optional - see notes##
#
#####################################################
## Can be commented out if causes errors, see notes above.
#Options FollowSymLinks
#
# mod_rewrite in use
RewriteEngine On
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla!/MamboDirectory (just / for root)
# RewriteBase /
########## Begin - Joomla! core SEF Section
############# Use this section if using ONLY Joomla! core SEF
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteRule ^(content/|component/) index.php
#
########## End - Joomla! core SEF Section
########## Begin - 3rd Party SEF Section
############# Use this section if you are using a 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc
#
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
#
########## End - 3rd Party SEF Section
########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits
rewritecond %{http_host} ^cilipi.net [nc]
rewriterule ^(.*)$ http://www.cilipi.net/$1 [r=301,nc] |
It was a htaccess.txt which i renamed to .htacess and modified as suggested on some forums to work with my SEO on Cilipi.net.
Thanks a lot mate:) |
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3103
|
Posted: Thu Feb 21, 2008 9:50 pm Post subject: Re: Help needed |
|
|
So, you should be able to merge the two .htaccess if you just add the one generated for phpBB3 starting from :
in the phpBB3's.htaccess code and until the end, and put this part right after :
in the one you posted.
Post here the phpBB3 .htaccess you get if you have trouble merging it. |
_________________
|
|
| Back to top |
|
 |
MasterYoda
Joined: 21 Feb 2008 Posts: 19
|
Posted: Thu Feb 21, 2008 10:09 pm Post subject: Re: Help needed |
|
|
well, my forum is phpbb2. take a look http://forum.cilipi.net
do i have to modify this htaccess or i need to modify one in forum directory*? |
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3103
|
Posted: Thu Feb 21, 2008 10:35 pm Post subject: Re: Help needed |
|
|
| Ho but your forum is indeed installed in it's domain's root (a sub domain is a domain), so you should just use the root install .htaccess in phpBB's dir (the sub domain's root). |
_________________
|
|
| Back to top |
|
 |
MasterYoda
Joined: 21 Feb 2008 Posts: 19
|
Posted: Thu Feb 21, 2008 11:31 pm Post subject: Re: Help needed |
|
|
aha. that means i need to use one located in my forums directory and my forum is located lhere ...public_html/forum/....
that will be my second htacess.
This one i posted here is located in ...public_html/...
which one is root? sorry i am stupid about this |
|
|
| Back to top |
|
 |
MasterYoda
Joined: 21 Feb 2008 Posts: 19
|
Posted: Sat Feb 23, 2008 9:21 am Post subject: Re: Help needed |
|
|
| am i right? |
|
|
| Back to top |
|
 |
MasterYoda
Joined: 21 Feb 2008 Posts: 19
|
Posted: Mon Feb 25, 2008 1:27 pm Post subject: Re: Help needed |
|
|
i see you gave up on me  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
MasterYoda
Joined: 21 Feb 2008 Posts: 19
|
Posted: Tue Feb 26, 2008 11:07 am Post subject: Re: Help needed |
|
|
hihihihi cmon man, lets do this... i am willing to listen to a master  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
|
|