Can´t find more options "alternate location"

phpBB3 SEO Mixed mod Rewrite support forum. This mods performs URL rewriting for phpBB3, injecting forums in their URLs and keeping a static rewriting for topics.

Moderator: Moderators

Can´t find more options "alternate location"

Postby alejo » Mon Jul 06, 2009 4:47 am

Hello, this is my first post.

Im trying to configure mod seo.

Pphpbb version is 3.0.5, i ve recently downloaded the Seo Url Premod and everything goes fine.

The phorum is in a sub-folder of main site,, like /phorum/ . When generating the .htaccess file, clicking on "more options", the "alternate location" option doesn´t appears,,,

any help?

Regards
alejo
 
Posts: 11
Joined: Mon Jul 06, 2009 4:42 am

Advertisement

Re: Can´t find more options "alternate location"

Postby Typo » Mon Jul 06, 2009 5:02 am

Click on more options, then hit submit, this reloads the page with the new options on the bottom, then select the alternate location option and click submit again, this will reload the page again but this time the .htaccess will be the one your trying for.

Typo
User avatar
Typo
phpBB SEO Team
phpBB SEO Team
 
Posts: 346
Joined: Sun Jan 18, 2009 11:33 am

Re: Can´t find more options "alternate location"

Postby alejo » Mon Jul 06, 2009 2:25 pm

Hello Typo, thankyou.

after clicking on more options, and hiting submit,, the new options on the bottom are:

RegEx Right Slash and RegEx Left Slash

I don´t see the an alternate location to select... I do not know if I said well, I can upload a screenshot if necessary

regards
alejo
 
Posts: 11
Joined: Mon Jul 06, 2009 4:42 am

Re: Can´t find more options "alternate location"

Postby Typo » Mon Jul 06, 2009 11:33 pm

The option being unavailable mean that your not running from an alternate folder. The option is only available when it needs to be used, if your running the forum from root, the mod will recognize this and not show the alternate location field.

You say that your site is in a subfolder so I don't understand why you would be having this problem.

The fact is however that this option would be available if you needed to use it.

Please let us know anything about your setup that you may have left out.

Also paste the current .htaccess that your trying to get changed with the alternate location so if I or someone else decides to build the new htaccess for you, they can.

Make sure to let us know everything about your setup that may be pertinent.

Typo
User avatar
Typo
phpBB SEO Team
phpBB SEO Team
 
Posts: 346
Joined: Sun Jan 18, 2009 11:33 am

Re: Can´t find more options "alternate location"

Postby alejo » Tue Jul 07, 2009 3:45 am

Thanks again Typo,

Tell more about: the main site url is rock.net.uy , a joomla 1.5.12 installation. The phpbb 3.0.5 is located at /debate, The two systems are bridged with rokbridge, I ve read arround the phorum that they are not compatible, in that case I should find another solution.. The url for bridge is /foro, although /debate works fine too.

Seo Url for phpbb worked partialy at first time , the phorums url fine, but no topics. But suddenly stop well working. (maybe I regenerated wrong .htaccess). Now the urls generated starts with: / , instead of /debate/

Copy the .htaccess file. I do not know If the file needs to be merged with the joomla one (on root folder) , or if it s indifferent.
This one was generated with acp (generated first and then check the option yes in Activate URL rewriting on phpBB SEO Class settings).
More options was marked no, system suggested to install at root folder ( / ) and the option to generate in a sub-folder. which is the one that does not work. So I placed at /debate and edited this line: RewriteBase /debate/

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 lines
# Options +FollowSymlinks
# To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist
# Options -MultiViews
# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
RewriteEngine On
# REWRITE BASE
RewriteBase /debate/
# HERE IS A GOOD PLACE TO FORCE CANONICAL DOMAIN
# RewriteCond %{HTTP_HOST} !^rock\.net\.uy$ [NC]
# RewriteRule ^(.*)$ http://rock.net.uy/$1 [QSA,L,R=301]

# DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
#####################################################
# PHPBB SEO REWRITE RULES ALL MODES
#####################################################
# AUTHOR : dcz www.phpbb-seo.com
# STARTED : 01/2006
#################################
# FORUMS PAGES
###############
# FORUM INDEX
RewriteRule ^forum\.html$ /debate/index.php [QSA,L,NC]
# FORUM ALL MODES
RewriteRule ^(foro|[a-z0-9_-]*-f)([0-9]+)/?(pagina([0-9]+)\.html)?$ /debate/viewforum.php?f=$2&start=$4 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER ALL MODES
RewriteRule ^(foro|[a-z0-9_-]*-f)([0-9]+)/(tema|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /debate/viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER ALL MODES
RewriteRule ^anuncio/(tema|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /debate/viewtopic.php?t=$2&start=$4 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM ALL MODES
RewriteRule ^([a-z0-9_-]*)/?(tema|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /debate/viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC]
# PHPBB FILES ALL MODES
RewriteRule ^resources/[a-z0-9_-]+/(thumb/)?([0-9]+)$ /debate/download/file.php?id=$2&t=$1 [QSA,L,NC]
# PROFILES THROUGH USERNAME
RewriteRule ^usuario/([^/]+)/?$ /debate/memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
# USER MESSAGES THROUGH USERNAME
RewriteRule ^usuario/([^/]+)/(topics|posts)/?(pagina([0-9]+)\.html)?$ /debate/search.php?author=$1&sr=$2&start=$4 [QSA,L,NC]
# GROUPS ALL MODES
RewriteRule ^(grupo|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?\.html$ /debate/memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC]
# POST
RewriteRule ^mensaje([0-9]+)\.html$ /debate/viewtopic.php?p=$1 [QSA,L,NC]
# ACTIVE TOPICS
RewriteRule ^temas-activos(-([0-9]+))?\.html$ /debate/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
# UNANSWERED TOPICS
RewriteRule ^temas-sin-respuesta(-([0-9]+))?\.html$ /debate/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
# NEW POSTS
RewriteRule ^nuevos-temas(-([0-9]+))?\.html$ /debate/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
# THE TEAM
RewriteRule ^el-equipo\.html$ /debate/memberlist.php?mode=leaders [QSA,L,NC]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES

# FORUM WITHOUT ID & DELIM ALL MODES (SAME DELIM)
# THESE THREE LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z0-9_-]+)/?(pagina([0-9]+)\.html)?$ /debate/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
# END PHPBB PAGES
#####################################################



This line was edited in phpbb_seo_class.php
Code: Select all
var   $seo_static = array( 'forum' => 'foro', 'topic' => 'tema', 'post' => 'mensaje', 'user' => 'usuario', 'group' => 'grupo', 'index' => '', 'global_announce' => 'anuncio', 'leaders' => 'el-equipo', 'atopic' => 'temas-activos', 'utopic' => 'temas-sin-respuesta', 'npost' => 'nuevos-temas', 'pagination' => 'pagina', 'gz_ext' => '.gz' );


These are the options I choosed from phpbb-seo acp:

Activate URL rewriting: yes
URL rewriting type: mixed
Activate SQL Rewriting: yes
Profiles and groups injection: yes
Virtual folder Profiles: yes
Profiles ID removing: yes
Common Search and User messages pages rewriting: no
Attachment Rewriting: no
SID Removing: yes
Highlights Removing: yes
Remove small words: no
Virtual Folder: yes
Virtual Root: yes
Forum URL caching: yes
Forum ID Removing: yes

I also run the same pararel install on localhost and I met the same problem.

I hope I can fix this,, seo is necessary

Best regards
alejo
 
Posts: 11
Joined: Mon Jul 06, 2009 4:42 am

Re: Can´t find more options "alternate location"

Postby dcz » Sat Jul 11, 2009 1:08 pm

So in the first place, if the alternate location option did not show up, it means that your phpBB Server and Cookie settings aren't set right.

Then, you should not use the debate/ path in rewriterules if you add it in the RewriteBase (this must have been done by hand).

Ultimately, you should not edit the part you mentioned in phpbb_seo_class.php but rather do it in phpbb_seo/includes/setup_phpbb_seo.php as explained in the install file.

++
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: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Re: Can´t find more options "alternate location"

Postby alejo » Sun Jul 12, 2009 1:02 am

Hello dcz, thankyou. I followed the steps , and configured the server and cookie settings, but still the "alternate location" option does not appears, and the urls of the phorum are not working either

Regards
alejo
 
Posts: 11
Joined: Mon Jul 06, 2009 4:42 am

Re: Can´t find more options "alternate location"

Postby dcz » Fri Jul 17, 2009 8:38 am

What did you use for your server settings, and where exactly is your forum installed ?
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: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Re: Can´t find more options "alternate location"

Postby alejo » Fri Jul 17, 2009 3:54 pm

Hello dcz, thankyou again, I uninstalled phpbb from this website, because It it was giving too many problems, I think maybe when I was editing the files, changed something which should not be changed, and now I lost control.

But I have installed de seo premod in a new installation, and everything goes fine.

This seo premod is impressive, thanks for that.

Best regards
alejo
 
Posts: 11
Joined: Mon Jul 06, 2009 4:42 am

Re: Can´t find more options "alternate location"

Postby dcz » Sat Jul 18, 2009 9:35 am

You're welcome ;)
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: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Re: Can´t find more options "alternate location"

Postby alejo » Mon Jul 20, 2009 1:18 am

Hello, how are you... I had decided to leave the seo mod because I could not install correctly, but I regretted, I think there must be some way to... although I am somewhat frustrated, because I can´t install mod , even if is the only sofware running on site and fresh install.

I´m trying to install it in a sub-folder. For testing I´m using a sub-domain, the typical sub.domain.com

so it would be :http://sub.domain.com/foro/

considering leaving joomla install for final

I´m following the .txt install instructions literally, honestly, 4 seo mod installations were already made, (more on localhost too) with same problem: It seems to not recognize de subfolder the phpbb was installed on,

only once works well, and now the "alternate location" option doesn´t appears any more.

Do you have any idea?

Regards

Edited: I have noticed that if I delete content in phpbb_seo cache folder, then the .htaccess generator shows the alternate location option, but then when update settings and try to regenerate .htaccess the option disapears..
alejo
 
Posts: 11
Joined: Mon Jul 06, 2009 4:42 am

Re: Can´t find more options "alternate location"

Postby dcz » Thu Jul 23, 2009 2:54 pm

To me it stills looks like a server config issue.

With phpbb in sub.domain.com/foro/ you should use (exactly):
Code: Select all
server name :sub.domain.com
script path:/foro
cooke domain:.domain.com


Any other setting will not fully work.
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: 21238
Joined: Fri Apr 28, 2006 9:03 pm


Return to Mixed SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: Google Feedfetcher and 22 guests