Apache mod rewrite .htaccess problem -
My site is a php based site, but I have added wordpress to a / blog / folder .htaccess file below / blog / Should allow access to the folder, but I get a 404 error, which is saying that blog.php is not present.
& lt; IfModule mod_rewrite.c & gt; % {SCRIPT_FILENAME} on Reviving SignatureConnect! \. (Gif | jpg | png) $ rewrite note% {REQUEST_FILENAME}! -D rewrite% {REQUEST_FILENAME}! -R Revittium ^ (. *) / (. *) / $ / $ 1_ $ 2.php [L] Rewrite Rule ^ (. *) / $ / $ 1.PHP [L] & lt; / IfModule & gt;
Anybody able to help?
Last rewrite your request / blog /
to index Redirecting to php
, to check if a blog folder is a request or not, you should add a RewriteCond
Rewrite% {REQUEST_URI}! ^ / Blog /.*
Comments
Post a Comment