1/ I had put the [L] after every rule ( this is the current .htaccess file on the server ):
Code:
Options +FollowSymlinks
RewriteEngine On
RewriteRule GD_snippets_f_(.*)\.html$ GD_snippets.php?f=$1 [L]
RewriteRule Creation_snippets_f_(.*)\.html$ Creation_snippets.php?f=$1 [L]
RewriteRule Modify_snippets_f_(.*)\.html$ Modify_snippets.php?f=$1 [L]
RewriteRule Imagick_snippets_f_(.*)\.html$ Imagick_snippets.php?f=$1 [L]
RewriteRule Text_snippets_f_(.*)\.html$ Text_snippets.php?f=$1 [L]
RewriteRule Resize_snippets_f_(.*)\.html$ Resize_snippets.php?f=$1 [L]
RewriteRule php_snippets_f_(.*)\.html$ php_snippets.php?f=$1 [L]
RewriteRule Optimize_snippets_f_(.*)\.html$ Optimize_snippets.php?f=$1 [L]
RewriteRule Watermark_snippets_f_(.*)\.html$ Watermark_snippets.php?f=$1 [L]
RewriteRule Utilities_snippets_f_(.*)\.html$ Utilities_snippets.php?f=$1 [L]
RewriteRule psd_snippets_f_(.*)\.html$ psd_snippets.php?f=$1 [L]
RewriteRule Mask_snippets_f_(.*)\.html$ Mask_snippets.php?f=$1 [L]
IndexIgnore *
2/ There are some test URL's in the first post:
Incorrect working URL with the address appended generated from the rewrite.
http://www.rubblewebs.co.uk/imagemagick/snippets/www.rubblewebs.co.uk/imagemagick/snippets/Resize_snippets_f_52.html
A correct working URL generated from the rewrite.
http://www.rubblewebs.co.uk/imagemag...pets_f_52.html
3/ The .htaccess file is within the folder containing the snippets:
Root/imagemagick/snippets/.htaccess
Root/imagemagick/snippets/Resize_snippets.php
4/ The links can only be found using a link checker and so I could leave it as it is but it would be nice to tidy things up.
Thanks
I must reiterate that the Resize_snippets.php is the only problem; all the other rewrites work as they should.
Bookmarks