Reply
Fri 4 Jun, 2004 08:18 am
After making the Able2Know SEO mods, the links on the forum now point to static HTML pages, as they should, but the pages don't exist. How do I cause those to be created?
Those pages are never created, they are rewritten urls.
If your mod_rewrite module is working it will work.
My Apache file shows that mod_rewrite is loaded. Do you know how I can verify that it works, or, if it doesn't, get around the problem? Should I undo the changes relative to the Apache module? Thanks.
Are you running phpbb under a subdomain?
Craven de Kere wrote:Are you running phpbb under a subdomain?
No. It is 2 directories below our primary domain name.
And you placed the htaccess file in the same directory?
Ask your server administrator if you have mod_rewrite available.
Thank you -- that solved the problem. I understood that the .htaccess file went in the document directory for the domain, not where the files were.
My .htacess file does not work
Hi, i´ve done all the steps of the mod, and created .htaccess file under my /foro/ directory.
Links are static in my forum thanx to the mod, but htaccess does not work. I´m testing it offline: //localhost/foro/forum-1.html
This link does not work.
I´ve apache with mod rewrite module activated. In another directory of /news/ i have another htaccess with rewrite code, and works, but the htaccess you provided does not work here.
What can i do to know what happens? This is the code:
RewriteEngine On
RewriteRule ^forums.* index.php [L,NC]
RewriteRule ^post-([0-9]*).html&highlight=([a-zA-Z0-9]*) post-.html$1&highlight=$2 [L,NC]
RewriteRule ^post-([0-9]*).* post-.html$1 [L,NC]
RewriteRule ^view-poll([0-9]*)-([0-9]*)-([a-zA-Z]*).* about.html$1&postdays=$2&postorder=$3&vote=viewresult [L,NC]
RewriteRule ^about([0-9]*).html&highlight=([a-zA-Z0-9]*) about.html$1&highlight=$2 [L,NC]
RewriteRule ^about([0-9]*).html&view=newest about.html$1&view=newest [L,NC]
RewriteRule ^about([0-9]*)-([0-9]*)-([a-zA-Z]*)-([0-9]*).* about.html$1&postdays=$2&postorder=$3&start=$4 [L,NC]
RewriteRule ^about([0-9]*)-([0-9]*).* about.html$1&start=$2 [L,NC]
RewriteRule ^about([0-9]*).* about.html$1 [L,NC]
RewriteRule ^about([0-9]*).html about.html$1&start=$2&postdays=$3&postorder=$4&highlight=$5 [L,NC]
RewriteRule ^mark-forum([0-9]*).html* forum-.html$1&mark=topics [L,NC]
RewriteRule ^updates-topic([0-9]*).html* about.html$1&watch=topic [L,NC]
RewriteRule ^stop-updates-topic([0-9]*).html* about.html$1&unwatch=topic [L,NC]
RewriteRule ^forum-([0-9]*).html forum-.html$1 [L,NC]
RewriteRule ^forum-([0-9]*).* forum-.html$1 [L,NC]
RewriteRule ^topic-([0-9]*)-([0-9]*)-([0-9]*).* forum-.html$1&topicdays=$2&start=$3 [L,NC]
RewriteRule ^ptopic([0-9]*).* about.html$1&view=previous [L,NC]
RewriteRule ^ntopic([0-9]*).* about.html$1&view=next [L,NC]
tested, does not work.
UPDATE: The htaccess code i had was corrupt. I have downloaded again you zip and replaced htaccess code and it works OFFLINE.
THANX, man.
Craven de Kere wrote:Are you running phpbb under a subdomain?
If you are running it under a subdomain is there anything else needed for the URLs mod_rewrite to work.
Some users have reported problems with subdomains, it is usually because of hosting configurations.
I am getting a page not found error, I am on a subdomain testing server for my forum and am trying to implement the SEO mod to the forum. Everything has worked but when I add the phpBB static URLs mod_rewrite 1.0.0 to the forum i get a Object not found Error 404. So I've looked throughout the site for anything I might be doing wrong. I downloaded the latest version of the SEO, I even backtracked and removed the static URL mods i didn't get the error anymore. Do you have any known issues with subdomains that I can fix?
Please start your own thread to make it easier to follow.