I’ve read all the Wiki articles on removing the index.php and the template name from the URL. I followed all the instructions and love the ease of the “File and Directory Check” Method—that one seems to work just great! But, my concern lies with the lack of 404 action. My client is really adamant about SEO and her links, so I want to make sure that her 404’s show up.
Per this Wiki entry:
Important note for SEO: This method will serve all ExpressionEngine pages with a code 200 - which means that Error Code 404 - Not Found will never be delivered, even if EE is set to use it. The other methods may be more SEO friendly, though fiddler to work with.
I tried using the Include method as it seems like the simplest solution. But either I’m not doing it right or there’s an issue somewhere. I’m leaning more toward the former. lol.
This is according to the Wiki entry:
RewriteEngine on
RewriteCond $1 ^(weblog|member|search|TemplateGroup_4_Name|TemplateGroup_5_Name|P[0-9]{2,8}) [NC]
RewriteRule ^(.*)$ /index.php/$1 [L]
This is what I’ve got:
RewriteEngine on
RewriteCond $1 ^(weblog|member|search|site|P[0-9]{2,8}) [NC]
RewriteRule ^(.*)$ /index.php?/$1 [L]
Do you have any recommendations or thoughts on this? What am I missing? ![]()
