0

404ページを取得する代わりに、http://mydomain.com/category-1/key-word-1/存在しないページのような名前を使用して、存在しないページから検索ページにリダイレクトする方法。http://mydomain.com/?search=key word 1

それとも、その検索結果を 404 ページに配置したほうがよいのでしょうか?

.htaccess の現在の行

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php [L]

ありがとうございました。

4

0 に答える 0