| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
Caios
Joined: 04 Oct 2007 Posts: 6
|
Posted: Thu Oct 04, 2007 1:33 am Post subject: Help with Premod3.0.RC5a install |
|
|
Hello, Ive installed Premod3.0.RC5a and somethings not right. I think its to do with the .htaccess as the session id is still showing at root. Ive installed it at root, could this be a problem?
Any way its here http://www.iphonecomplaints.co.uk/
and this is the .htaccess
| 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 - MIXED
#####################################################
# 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]+)/?(page([0-9]+)\.html)?$ /viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^[a-z0-9_-]*-f([0-9]+)/topic([0-9]+)(-([0-9]+))?\.html$ /viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^announces/topic([0-9]+)(-([0-9]+))?\.html$ /viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^[a-z0-9_-]*/?topic([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,NC]
#PROFILES
RewriteRule ^member([0-9]+)\.html$ /memberlist.php?mode=viewprofile&u=$1 [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
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^[a-z0-9_-]+/?(page([0-9]+)\.html)?$ /viewforum.php?start=$2 [QSA,L,NC]
# END PHPBB PAGES
#####################################################
|
Im not sure if its relevant but my server refuses to display the .htaccess when using ftp. I have to use ensim to download it. Also I think somethings wrong with my notepad as when I download the .htaccess from the cache folder its not formated when opened. Its all on one line. |
|
|
| Back to top |
|
 |
|
 |
Caios
Joined: 04 Oct 2007 Posts: 6
|
|
| Back to top |
|
 |
Caios
Joined: 04 Oct 2007 Posts: 6
|
Posted: Thu Oct 04, 2007 2:12 am Post subject: Re: Help with Premod3.0.RC5a install |
|
|
Okay, worked it out it was a themes issue.
One question though:
How do I make it work with themes?
EDIT* Also sorry Im still seeing session ids? |
|
|
| Back to top |
|
 |
Caios
Joined: 04 Oct 2007 Posts: 6
|
Posted: Thu Oct 04, 2007 1:31 pm Post subject: Re: Help with Premod3.0.RC5a install |
|
|
Sorted just add:
| Code: | // www.phpBB-SEO.com SEO TOOLKIT BEGIN
function jumpto()
{
var page = prompt(jump_page, on_page);
var seo_ext_html = '.html';
var seo_ext_htm = '.htm';
var seo_ext_slash = '/';
var seo_delim_start = '-';
if (page !== null && !isNaN(page) && page > 0)
{
base_url = base_url.replace(/&/g, '&');
if ( ((page - 1) * per_page) > 0 ) {
if (base_url.indexOf(seo_ext_html) >0 && base_url.indexOf('?') < 0) {
document.location.href = base_url.replace(/.html/, '') + seo_delim_start + ((page - 1) * per_page) + seo_ext_html;
} else if (base_url.indexOf(seo_ext_htm) >0 && base_url.indexOf('?') < 0) {
document.location.href = base_url.replace(/.htm/, '') + seo_delim_start + ((page - 1) * per_page) + seo_ext_htm;
} else if (base_url.indexOf(seo_ext_slash) >0 && base_url.indexOf('?') < 0) {
document.location.href = base_url.replace(new RegExp(/\/$/),"") + seo_delim_start + ((page - 1) * per_page) + seo_ext_slash;
} else {
document.location.href = base_url + '&start=' + ((page - 1) * per_page);
}
} else {
document.location.href = base_url;
}
}
}
// www.phpBB-SEO.com SEO TOOLKIT END |
to overall_header.html in themplate folder.
Could you still look at the site though and tell me why the sesion ids are showing? Missing something with the setings or in the .htaccess maybe?
Cheers |
|
|
| Back to top |
|
 |
Caios
Joined: 04 Oct 2007 Posts: 6
|
Posted: Thu Oct 04, 2007 1:32 pm Post subject: Re: Help with Premod3.0.RC5a install |
|
|
| actually its only at root that the ids are showing? Guess it was written to be in a folder? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
loveseo PR0

Joined: 29 Aug 2007 Posts: 73 Location: Egypt
|
Posted: Wed Oct 24, 2007 10:34 pm Post subject: Re: Help with Premod3.0.RC5a install |
|
|
| thank you very much now i undersand will |
|
|
| Back to top |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |