Re: login problems
sandiego wrote:Everything seems to be set up now and done just as instructed and i get login problems. Everything looks GREAT! but when login (or logout), it has a
Quote:The page cannot be found
404 error. It DOES log me in and out if I get back to the page I was on (it shows I am logged in or out at the top) Any thoughts?Has anyone seen anything like this? Comments appreciated.
Thankx!!!
Well, as you can see from this site it does work without 404's. I'm not sure what the problem can be for you. If you PM me a link I can have a look but I doubt I will be able to tell from a mere peek and I probably won't have time to audit all the code.
ZiadT wrote:Craven de Kere wrote:Note: You must have Apache and mod_rewrite for the static URLs.
How can I enable these on my server ?
This is a server configuration that you should ask your host or server administrator to enable if it is not currently enabled.
Webby wrote:Basically what I'm asking is whether or not i tis possible to have the mod_rewrite functioning in logged in mode as well as logged out.
It can be done, but right now the rewrite rules are not comprehensive enough to handle all instances of SIDs in URLs (meaning users who do not enable cookies have to keep logging in over and over) and some features and mods would not work well.
My shortcut was to do this only for guests.
I plan to write a complete solution but have not yet done so for two reasons. One is limitations on my time, and the other is that with phpbb 2.2.0 I believe the URLs will change and I am saving some of the more intense mod work I have planned for that version to avoid having to repeat work.
sanmiguel wrote:I installed the Static URL mod alone without the SEO mod. Everything works except the View Previous Topic and View Next Topic links. Also the numerical links that are used to navigate topics and forums that exceed a single page are broken. Clicking on any of these links causes the page to refresh, but it does not change. I'm using PHPBB 2.0.6. Any suggestions?
The next and previous links are inherently detrimental for SEO and need to be removed from guest viewing altogether and the SEO mod does so. The static url mod is intended to be used only after application of that mod.
The reason the next and previous links are detrimental to SEO is because depending on the order of the topics they change, and if a search engine indexes it by the time people are clicking through it might be going to an entirely different topic.
If the search engine decides to index the next or previous page instead of the thread itself (any good search engine algo will either discard or downgrade (Google downgrades) a duplicate page.
So removing those are important and rewrite rules are not distributed because those links are expected to be removed beforehand.
As to the pagination problems, it works here and many other versions of static URL code for phpBB cause the problems you describe.
Perhaps you got it elsewhere from someone who mangled the code? I see that all the time. If you apply the SEO mod first and use code you get from here it should work just fine.