Preview and search broken
-
I installed wordpress in a subdirectory. Then moved it to the root to make links prettier. My main static site is done in iWeb (*everybody calm down*) so I have an index.html that redirects to Home.html. WordPress works fine for normal use, but there are a few things that are broken.
Search and Preview.
Every time a link is sent to my site with a question mark parameter:
http://mokidocavaliers.com/?p=112
it redirects to the root and goes to the home page. This breaks searching (?search=blah) and preview (?p=112&preview=true)Here is my .htaccess:
Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^mokido.net [NC] RewriteRule ^(.*)$ http://mokidocavaliers.com/$1 [R=301,L] RewriteCond %{HTTP_HOST} ^www.mokido.net [NC] RewriteRule ^(.*)$ http://mokidocavaliers.com/$1 [R=301,L] RewriteCond %{HTTP_HOST} ^www.mokidocavaliers.com [NC] RewriteRule ^(.*)$ http://mokidocavaliers.com/$1 [R=301,L] Redirect 301 /Blog/ http://mokidocavaliers.com/blog/ # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘Preview and search broken’ is closed to new replies.