phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
Mod rewrite is working on everything but viewtopic
Goto page 1, 2  Next
 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Advanced mod Rewrite
::  
Author Message
dmoore



Joined: 18 Feb 2007
Posts: 1

Mod rewrite is working on everything but viewtopicPosted: Sun Feb 18, 2007 12:58 am    Post subject: Mod rewrite is working on everything but viewtopic

I double checked the steps I did for the viewtopic.php changes in the instructions, but it still doesn't work. When I view a post or thread, the url is still
-http://www.domain.com/forum/viewtopic.php?t=2

Any advice on where to look?

Thanks in advance!
Derek
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

Mod rewrite is working on everything but viewtopicPosted: Mon Feb 19, 2007 10:52 pm    Post subject: Re: Mod rewrite is working on everything but viewtopic

And welcome Very Happy

Obviously, you did not installed your forum where the link goes.

So it's a bit hard to tell.

The viewtopic.php code changes only affect the topic title link in this case, it's possible that the link was modified by a mod, did you find all the code to find mentioned in the install ?

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
conceptcrew



Joined: 02 Sep 2007
Posts: 7

Mod rewrite is working on everything but viewtopicPosted: Sun Sep 02, 2007 8:12 pm    Post subject: Re: Mod rewrite is working on everything but viewtopic

I am having the same issue with the mod not rewriting the viewtopic.

test site: www.reptilerescueleague.com

i have double checked the edits and all is right.

I have used the .htaccess file included with the mod and everything else works.

Any assistance would be greatly appreciated.

Thanks,

Jim
Back to top
coyote
phpBB SEO Team
phpBB SEO Team


Joined: 11 May 2007
Posts: 72

Mod rewrite is working on everything but viewtopicPosted: Mon Sep 03, 2007 10:46 am    Post subject: Re: Mod rewrite is working on everything but viewtopic

conceptcrew,

I checked out your site, and I notice that as a guest I had a session ID. Did you remember to install CyberAlien's guest session mod?
Back to top
Visit poster's website
conceptcrew



Joined: 02 Sep 2007
Posts: 7

Mod rewrite is working on everything but viewtopicPosted: Mon Sep 03, 2007 12:09 pm    Post subject: Re: Mod rewrite is working on everything but viewtopic

installed that mod and it is still not working on viewtopic.

Any more ideas?
Back to top
Peter77
phpBB SEO Team
phpBB SEO Team


Joined: 10 May 2006
Posts: 512
Location: Michigan

Mod rewrite is working on everything but viewtopicPosted: Mon Sep 03, 2007 12:21 pm    Post subject: Re: Mod rewrite is working on everything but viewtopic

What does your rewrite code in the .htcaccess look like?
Back to top
coyote
phpBB SEO Team
phpBB SEO Team


Joined: 11 May 2007
Posts: 72

Mod rewrite is working on everything but viewtopicPosted: Mon Sep 03, 2007 12:28 pm    Post subject: Re: Mod rewrite is working on everything but viewtopic

hmmm, dcz is the expert around here. I don't know if this has anything to do with it, but I also noticed that the
Code:
{U_INDEX}
appears to be a bit messed up. Instead of getting a clickable link, you get an insert cursor. I'm not sure what that's about. It may be related somehow....




Maybe check your page_header.php? Ensure that
Code:
   'U_INDEX' => append_sid('index.'.$phpEx),


isn't messed up?
Back to top
Visit poster's website
conceptcrew



Joined: 02 Sep 2007
Posts: 7

Mod rewrite is working on everything but viewtopicPosted: Mon Sep 03, 2007 12:52 pm    Post subject: Re: Mod rewrite is working on everything but viewtopic

ok here is the .htaccess
I used the one provided in the download of this mod.

Code:

# 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,NC]
# FORUM PROTECTION RULE
# RewriteRule ^[a-z0-9_-]+/([^/]+\.html)$ /index.php [R=301,L,NC]
# CATEGORIES
RewriteRule ^[a-z0-9_-]*-c([0-9]+)\.html$ /index.php?c=$1 [QSA,L,NC]
# PAGINATED FORUM
RewriteRule ^[a-z0-9_-]*-f([0-9]+)-([0-9]+)\.html$ /viewforum.php?f=$1&start=$2 [QSA,L,NC]
# FORUM
RewriteRule ^[a-z0-9_-]*-f([0-9]+)\.html$ /viewforum.php?f=$1 [QSA,L,NC]
# PAGINATED TOPIC
RewriteRule ^[a-z0-9_-]*-t([0-9]+)-([0-9]+)\.html$ /viewtopic.php?t=$1&start=$2 [QSA,L,NC]
# TOPIC
RewriteRule ^[a-z0-9_-]*-t([0-9]+)\.html$ /viewtopic.php?t=$1 [QSA,L,NC]
# POST
RewriteRule ^post([0-9]+)\.html$ /viewtopic.php?p=$1 [QSA,L,NC]
#PROFILES
RewriteRule ^member([0-9]+)\.html$ /profile.php?mode=viewprofile&u=$1 [QSA,L,NC]
# END PHPBB PAGES
#####################################################


And the page header.php was never editted. it is a fresh install of phpbb 2.0.22
Back to top
coyote
phpBB SEO Team
phpBB SEO Team


Joined: 11 May 2007
Posts: 72

Mod rewrite is working on everything but viewtopicPosted: Mon Sep 03, 2007 1:23 pm    Post subject: Re: Mod rewrite is working on everything but viewtopic

Well, something is definitely goofy. Your phpBB logo doesn't link to your index like it should, either (by default). Maybe something in your overall_header? Like an anchor that didn't get properly closed, or maybe you're missing a quotation mark?
Back to top
Visit poster's website
coyote
phpBB SEO Team
phpBB SEO Team


Joined: 11 May 2007
Posts: 72

Mod rewrite is working on everything but viewtopicPosted: Mon Sep 03, 2007 1:29 pm    Post subject: Re: Mod rewrite is working on everything but viewtopic

I just looked at the page source. What do you have listed as the domain name in your general configuration options? Live Test Area? It should be www.reptilerescueleague.com, and your script path should be /

All the links that are supposed to be pointing at www.reptilerescueleague.com/index.php are pointing to http://Live Test Area, which isn't a real address.
Back to top
Visit poster's website
conceptcrew



Joined: 02 Sep 2007
Posts: 7

Mod rewrite is working on everything but viewtopicPosted: Mon Sep 03, 2007 1:29 pm    Post subject: Re: Mod rewrite is working on everything but viewtopic

overall_header.tpl and page_header.php were not modified or editted in anyway for this mod install.

This is a fresh install of the phpbb script with no other mods installed.

I am looking into the edits made on the other files for this mod now. Maybe there was something done wrong.
Back to top
conceptcrew



Joined: 02 Sep 2007
Posts: 7

Mod rewrite is working on everything but viewtopicPosted: Mon Sep 03, 2007 1:32 pm    Post subject: Re: Mod rewrite is working on everything but viewtopic

Well, now that is just another issue i found. Login works but drops you at a blank page as does clicking on the admin link. i get a SID but also a blank page, not even the login page for the admin area.


ok, that is all fixed. LInks are now corrected. I cannot believe i made such a simple mistake on the server name Smile

ANyway, the view topic is still not converting to the SEO Friendly URL. but all other issues have been corrected.

Thanks for your help on this.
Back to top
coyote
phpBB SEO Team
phpBB SEO Team


Joined: 11 May 2007
Posts: 72

Mod rewrite is working on everything but viewtopicPosted: Mon Sep 03, 2007 1:40 pm    Post subject: Re: Mod rewrite is working on everything but viewtopic

haha well it's easy to do when you've got 101 things that you're working on. Glad I could help some. Hopefully dcz or someone more knowledgeable than I am can help you with the rewrite issues.
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

Mod rewrite is working on everything but viewtopicPosted: Tue Sep 04, 2007 9:04 am    Post subject: Re: Mod rewrite is working on everything but viewtopic

It looks like you did something wrong in viewforum.php.

viewtopic.php looks ok : -http://www.reptilerescueleague.com/welcome-to-phpbb-2-t1.html

So double check your code change in that file, and send us a link to a zip archive in case you have trouble Wink

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
conceptcrew



Joined: 02 Sep 2007
Posts: 7

Mod rewrite is working on everything but viewtopicPosted: Tue Sep 04, 2007 4:44 pm    Post subject: Re: Mod rewrite is working on everything but viewtopic

This is what i get when i click a topic:

http://www.reptilerescueleague.com/viewtopic.php?t=1

I get this URL above both being logged in and as a guest.

Viewforum seems to be working ok, but I will go back and check the edits to make sure i didn't make a mistake.

THis is a viewforum rewrite URL:

http://www.reptilerescueleague.com/test-forum-1-f1.html

SO that seems ok.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Advanced mod Rewrite
Page 1 of 2 Goto page 1, 2  Next

Navigation Similar Topics

Jump to: