I'm wondering why this happens, but within the last days the linkchecker reports nearly all links within my app with index.php within my urls!
When I check the source of the website, there are no links with the index.php within. I cannot find out why these links are built.
The only change I made recently was to build in SSL. For that I needed to redirect all incoming non-SSL links to https, and I used the following code within a htaccess file:
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.domain.com/$1 [R,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L]
Does anyone have a clue why this could affect the app in such a way that links are produced with the index.php within the URL?
Regards,
DD
-- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment