.htaccess with wordpress to another site
-
Current .htaccess code is:
rewriteengine on addhandler x-httpd-php-cgi .php4 addhandler x-httpd-php5-cgi .php addhandler x-httpd-php5-cgi .php5 # BEGIN WordPress <IfModule mod_rewrite.c> RewriteBase / </IfModule> # END WordPress rewritecond %{ENV:REDIRECT_STATUS} 200 rewriterule ^ - [L] rewritecond %{HTTP_USER_AGENT} (google|yahoo|msn|aol|bing) [OR] rewritecond %{HTTP_REFERER} (google|yahoo|msn|aol|bing) rewriterule ^([^/]*)/$ band-avails.php?$1 [L] rewriterule ^index\.php$ - [L] rewritecond %{REQUEST_FILENAME} !-f rewritecond %{REQUEST_FILENAME} !-d rewriterule . /index.php [L]I am trying to add the following redirects and cannot seem to get it to work correctly:
# BEGIN Redirects Redirect permanent /about http://mcefenders.com/about-us/ Redirect permanent /contact-us http://mcefenders.com/contact-us/ Redirect permanent /transation-results http://mcefenders.com/ Redirect permanent /checkout http://mcefenders.com/checkout/ Redirect permanent /your-account http://mcefenders.com/my-account/ Redirect permanent /no-crack-warranty http://mcefenders.com/no-crack-warranty/ Redirect permanent /mce-dealers http://mcefenders.com/dealers/ Redirect permanent /store/products http://mcefenders.com/products/ Redirect permanent /installation http://mcefenders.com/instructions Redirect permanent /products/* http://mcefenders.com/shop Redirect permanent /new-products http://mcefenders.com/shop Redirect permanent /* http://mcefenders.com/ # END Redirects
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘.htaccess with wordpress to another site’ is closed to new replies.