wordpress - rewite rule for two folders -
I'm migrating my web from Joomla to WordPress, to do this I need to install the new subfolder Wp There is an HTACAC file that needs to be converted to subdirectory / Joomla / Jootla app. I / joomla / directory requires / wp / to set up and test before deletion actual htaccess:
& lt; Files php.ini & gt; Allow orders, from all & lt; / Files & gt; Rewrite% {http_host} ^ myweb.info rewriterule ^ (. *) $ Http://www.myweb.info/$1 [r = 301, nc] option ## www.myweb.info joomla hack # on slash RewriteCond% {HTTP_HOST} ^ (www \.)? Www.myweb. Info $ [NC] Rewind Conduit% {DOCUMENT_ROOT} / Joomla% {REQUEST_URI} / -d Revisited [^ /] $% {REQUEST_URI} / [R = 301, L] Subdomains for # Domains RewriteCond% {ENV: REDIRECT_STATUS} } ^ $ RewriteCond% {HTTP_HOST} ^ (www \.)? Www.myweb. INFO $ [NC] Rewrite Rules ^ (. *) $ / Joomla / $ 1 [QSA, L] # No Directory Listing & Browsing Index IGOROR * / * Option ALL-EXDEX # and deny directory listing
I think the index is to be ignored or changed, but / wp / access is also allowed, can you give me a hand
This will ignore your / wp
/ subdirectory on the server like this without destroying your Joomla installation WordPress can install, test, and deploy in that directory.
RewriteRule ^ wp /.*$ - [pt]
Comments
Post a Comment