My new blog (Textpattern) rewrites are messing up my redirects. Old pages are from an old messy URL script.
I've tried for hours with no luck. I commented within the redirects whats going on.
Sure could use some help...
Be happy to send a Paypal as thanks too
- Code: Select all
#DirectoryIndex index.php index.html
#Options +FollowSymLinks -MultiViews
#Options -Indexes
RewriteCond %{HTTP_HOST} ^www\.mydomain\.com$ [NC]
RewriteRule ^(.*)$ http://mydomain.com/$1 [R=301,L]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteRule ^(.*) index.php
</IfModule>
#php_value register_globals 0
Redirect permanent /ask-bob.php http://mydomain.com/ask-bob/ WORKS
but
Redirect permanent /ask-bob.php?ID=6 http://mydomain.com/ask-bob/new-page-title
Resolves to http://mydomain.com/ask-bob/?ID=6
&
Redirect permanent /place-to-be.php http://mydomain.com/new-section/ WORKS
but
Redirect permanent /place-to-be.php?placeID=2 http://mydomain.com/new-section/new-page-title
Resolves to http://mydomain.com/new-section/?ID=2
I have about 50 pages to redirect in the 2 sections above, plus keep my blog happy.
It acts like theres a [QSA] but there isn't one???
Thanks again