Sunday, 15 March 2015

php - wordpress redirect 1 wordpress site to custome site on the same domain -



php - wordpress redirect 1 wordpress site to custome site on the same domain -

i have 2 sites on same domain, 1 site wordpress , other isn't. when type url

http://example.com/mysite2

then error wordpress site. 404 not found. site 2 custom website(none wordpress) , have custom info not supported wordpress that's why need redirection seek search can't found thing helpful because not utilize wordpress below script found web not work

rewriteengine on rewritebase / rewritecond %{request_uri} ^/mysite1/(.*)$ [or] rewritecond %{request_uri} ^/mysite2/(.*)$ [or] rewriterule ^.*$ - [l] </ifmodule>

anyone know how prepare ?

after search issue don't find solution on google decide create new sub domain , set none wordpress website there , work

php wordpress .htaccess mod-rewrite url-rewriting

No comments:

Post a Comment