When I use the following URL “ http://www.tuto3d.netai.net/wordpress/ ” in my navigator, I usually access my wordpress site, but when I use http://www.tuto3d.netai.net / Instead, I get the folder index and the link to the wordpress folder. I want to redirect to my .htaccess http://www.tuto3d.netai.net/ to " http://www.tuto3d.netai.net/wordpress/ "
and this is my my .htaccess
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wordpress/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wordpress/index.php [L] </IfModule> # END WordPress
Thank you in advance
Enter this rule in DOCUMENT_ROOT/.htaccess :
DOCUMENT_ROOT/.htaccess
RewriteEngine On RewriteRule ^$ /wordpress/ [L,R=301]
Source: https://habr.com/ru/post/955339/More articles:What is the lens in my head in the first series of books? - oopWhy is the signature of shared_ptr different from unique_ptr for arrays? - c ++Telerik.Web.UI.RadComboBoxContext is not supported because it implements IDictionary - c #HTML5 FileSystem API - javascripthttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/955338/is-it-possible-to-easy-get-normal-deobfuscated-access-to-all-files-in-a-sandbox-written-using-filesystem-api&usg=ALkJrhgD7sK8MrcvE4We_z-kLtGp3_KjdgUsing url_for according to drawings - pythonModeling Levy Walk in R - rMathJax does not work if loaded from a local js file or if source code is included - javascriptCan we use `const_cast` to change a constant variable? - c ++Send C # array to PHP web service using message - arraysAll Articles