Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2008-03-12 12:42:00
- cocoloco
- New Member
- Registered: 2008-03-12
- Posts: 1
?pg=2 .htaccess problems
Hi I am done with the design of my textpattern site, but one problem i left unsolved until now was this:
?pg=2 instead of simply pg=2
I read about .htaccesess but cant seem to find the solution to my problem this is what I have in my .htaccess document
——————————————————————————————————————————————————
——————————————————————————————————————————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks #Options -Indexes<IfModule mod_rewrite.c> RewriteEngine On #RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) index.php
RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
#php_value register_globals 0
——————————————————————————————————————————————————
——————————————————————————————————————————————————
Could someone help me?
thanks!
Last edited by cocoloco (2008-03-12 12:43:22)
Offline
#2 2008-03-13 18:47:07
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: ?pg=2 .htaccess problems
but one problem i left unsolved until now was this:
?pg=2 instead of simply pg=2
What is the problem? The above is unintelligible.
Offline
#3 2008-03-14 21:09:59
- pbrienesse
- Member
- Registered: 2008-03-14
- Posts: 10
Re: ?pg=2 .htaccess problems
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
<IfModule mod_rewrite.c> RewriteEngine On #RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) index.php
</IfModule>
#php_value register_globals 0
This is what I use for .htaccess
Have you checked that your host has mod rewrite?
Offline
Pages: 1