Can't Enabled Mod Rewrite - No SEO Tab Shown in ACP

phpBB3 SEO Advanced mod Rewrite support forum.
This mods performs URL rewriting for phpBB, injecting forums and topic titles in their URLs.

Moderator: Moderators

Can't Enabled Mod Rewrite - No SEO Tab Shown in ACP

Postby sublimed1 » Fri Dec 19, 2008 4:35 am

I installed the phpbb-seo advanced rewrite 0.4.6 and it doesn't seem to be enabled and no tab is showing up in the ACP. If you go to module management in PHPBB3 v3.0.4 the PHPBB SEO module shows up though...

Any advice?
sublimed1
 
Posts: 11
Joined: Fri Dec 19, 2008 4:31 am

Advertisement

Postby SeO » Fri Dec 19, 2008 9:01 am

Have you lunched the install script as explained in the install file ?
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby sublimed1 » Fri Dec 19, 2008 12:14 pm

Image

yes sir did the cache clear and the robots.txt file is exaclty as you show it. No errors on the forums at all.
sublimed1
 
Posts: 11
Joined: Fri Dec 19, 2008 4:31 am

Postby SeO » Fri Dec 19, 2008 1:10 pm

I was talking about phpbb_seo/phpbb_seo_install.php, did you browse it ?
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby sublimed1 » Fri Dec 19, 2008 1:12 pm

yes sir, any ideas or would you like to see any chunks of code or screen captures of any settings?
sublimed1
 
Posts: 11
Joined: Fri Dec 19, 2008 4:31 am

Postby sublimed1 » Fri Dec 19, 2008 1:31 pm

Image

Just un-installed and re-installed the module with phpbb_seo/phpbb_seo_install.php and still no luck. Is this supposed to write any database tables as I just logged into mysql and didn't see any new tables made for this.

Image
sublimed1
 
Posts: 11
Joined: Fri Dec 19, 2008 4:31 am

Postby SeO » Fri Dec 19, 2008 2:05 pm

No it does not add any table, just entries in the module ones.

From what I see on your screens, everything looks all right, have you tried to clear the phpBB's cache ?
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby sublimed1 » Fri Dec 19, 2008 2:16 pm

yeah, several times without any luck.

I'm guessing we need that tab to enable the rewrite as it's not working without it. Anyway around it?

I guess we need to roll back to PHPBB3 3.0.3 or do an emergency fix on this as the site is live without the re-written URLs that we've had for the past couple years.
Last edited by sublimed1 on Fri Dec 19, 2008 2:27 pm, edited 1 time in total.
sublimed1
 
Posts: 11
Joined: Fri Dec 19, 2008 4:31 am

Postby SeO » Fri Dec 19, 2008 2:25 pm

mm, I'm thinking it could be dealing with your browser's cache too, try to clear it as well as try to refresh your theme templates and css in the style acp.
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby sublimed1 » Fri Dec 19, 2008 2:29 pm

one of the things I did before making this post here last night was to update my theme and I've tried clearing the cache on my browser in FF and IE with no luck.

I just thought of something the autogenerated .htacess file in the phpbb_seo/ directory contained this...

<Limit GET POST PUT DELETE>
Order Allow,Deny
Deny from All
</Limit>

I couldn't open the phpbb_seo/phpbb_seo_install.php so I just cleaned out the .htacess file and left it blank. Could this be causing the issue? There is no tab to go to in order to generate a new one, so I am stuck. I just sent you a PM with my URLs if looking at the live site will help at all.
sublimed1
 
Posts: 11
Joined: Fri Dec 19, 2008 4:31 am

Postby SeO » Fri Dec 19, 2008 2:52 pm

mm, this .htaccess in phpbb_seo/ was removed few versions ago.

Make sure you have the latest phpbb_seo_install.php file and then try to uninstall / reinstall, you should not lose any of your url settings while doing so.

As PMed :
SeO wrote:For now, if you are using our mod, you can try to enable url rewriting again in phpbb_seo/cache/phpbb_cache.php, settings are pretty obvious in there, the one for url rewriting is :
Code: Select all
'url_rewrite' => true,
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby sublimed1 » Fri Dec 19, 2008 3:46 pm

well we've been using this mod for a long time, so that could be why it was there. The cache file has been set chmod 777 and there are no files located in that directory.

our root .htacess file is this:

Code: Select all
# 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]
RewriteRule ^forum-([0-9]+)(-([0-9]+))?\.html$ /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]
RewriteRule ^about([0-9]+)(-([0-9]+))?\.html$ /viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# GLOBAL ANNOUNCES && TOPIC WITHOUT FORUM URLS
RewriteRule ^(annonces/)?[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /viewtopic.php?t=$2&start=$4 [QSA,L,NC]
# POST
RewriteRule ^post([0-9]+)\.html$ /viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^member([0-9]+)\.html$ /memberlist.php?mode=viewprofile&u=$1 [QSA,L]
# THE TEAM
RewriteRule ^the-team\.html$ /memberlist.php?mode=leaders [QSA,L,NC]
# END PHPBB PAGES
#####################################################


The phpbb_seo/ directory has a .htacess file that has no lines of code in it.
sublimed1
 
Posts: 11
Joined: Fri Dec 19, 2008 4:31 am

Postby SeO » Fri Dec 19, 2008 5:05 pm

You must be confusing, from the url you PMed me, you are using phpBB3, and this is a phpBB2 .htaccess.

With the phpBB3 SEO url mod, there is a cache file in phpbb_seo/cache/, if you have a backup of it, you can put it back, should help to turn back url rewriting on (as suggested) while you try to figure out how much of phpBB2 code did you try on phpBB3.
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby sublimed1 » Fri Dec 19, 2008 6:31 pm

That is what we had in the phpbb3 root and it worked till 3.0.4 to be honest...

I'm so confused by all this I don't know where to start. We had a PHPBB2 forum with your mod on it and I guess when I had a friend switch to PHPBB3 he somehow for the old .htacess to work?

The phpbb_seo/cache/ folder is 100% empty... nothing is in it, so I can't change or look at any cache file as it's not there.
sublimed1
 
Posts: 11
Joined: Fri Dec 19, 2008 4:31 am

Postby sublimed1 » Fri Dec 19, 2008 6:49 pm

SeO wrote:You must be confusing, from the url you PMed me, you are using phpBB3, and this is a phpBB2 .htaccess.


I just dug around my system and found a backup from 2007 of our phpbb2 forums and this was the .htacess we used for it:

RewriteEngine On
RewriteRule ^forums.* index.php [L,NC]
RewriteRule ^post-([0-9]*).html&highlight=([a-zA-Z0-9]*) viewtopic.php?p=$1&highlight=$2 [L,NC]
RewriteRule ^post-([0-9]*).* viewtopic.php?p=$1 [L,NC]
RewriteRule ^view-poll([0-9]*)-([0-9]*)-([a-zA-Z]*).* viewtopic.php?t=$1&postdays=$2&postorder=$3&vote=viewresult [L,NC]
RewriteRule ^about([0-9]*).html&highlight=([a-zA-Z0-9]*) viewtopic.php?t=$1&highlight=$2 [L,NC]
RewriteRule ^about([0-9]*).html&view=newest viewtopic.php?t=$1&view=newest [L,NC]
RewriteRule ^about([0-9]*)-([0-9]*)-([a-zA-Z]*)-([0-9]*).* viewtopic.php?t=$1&postdays=$2&postorder=$3&start=$4 [L,NC]
RewriteRule ^about([0-9]*)-([0-9]*).* viewtopic.php?t=$1&start=$2 [L,NC]
RewriteRule ^about([0-9]*).* viewtopic.php?t=$1 [L,NC]
RewriteRule ^about([0-9]*).html viewtopic.php?t=$1&start=$2&postdays=$3&postorder=$4&highlight=$5 [L,NC]
RewriteRule ^mark-forum([0-9]*).html* viewforum.php?f=$1&mark=topics [L,NC]
RewriteRule ^updates-topic([0-9]*).html* viewtopic.php?t=$1&watch=topic [L,NC]
RewriteRule ^stop-updates-topic([0-9]*).html* viewtopic.php?t=$1&unwatch=topic [L,NC]
RewriteRule ^forum-([0-9]*).html viewforum.php?f=$1 [L,NC]
RewriteRule ^forum-([0-9]*).* viewforum.php?f=$1 [L,NC]
RewriteRule ^topic-([0-9]*)-([0-9]*)-([0-9]*).* viewforum.php?f=$1&topicdays=$2&start=$3 [L,NC]
RewriteRule ^ptopic([0-9]*).* viewtopic.php?t=$1&view=previous [L,NC]
RewriteRule ^ntopic([0-9]*).* viewtopic.php?t=$1&view=next [L,NC]


As you can see it is different from the one we are using for PHPBB3...

At this point in time what do you suggest doing? Starting over from scratch with a clean install? Is seems that something is fubar... our cache folder is empty, the .htacess is for the wrong version??, but yet we get no errors and the module shows that it is installed.
sublimed1
 
Posts: 11
Joined: Fri Dec 19, 2008 4:31 am

Next

Return to Advanced SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 15 guests