Installation wordpress www/www/www/www/

le problème semble pourtant simple, mais là je sèche complètement et je tourne en rond

mon client possède un ndd chez ovh

je dois réinitialiser totalement son espace pour y installer wordpress

le dossier /www a été vidé
la base de donnée a été effacée

je relance une install, même "en un clic", de wordpress…
ce qui crée également la base de donnée…
j'attends, avec inquiétude, la fin du processus

MAIS une fois l'opération terminée, qu'ovh me dit OK, TOUT EST BON, bah je me rends compte que ce n'est pas le cas… en entrant l'adresse du client (avec ou sans wp-admin) l'adresse change et devient https://www.monsite.fr/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/wp-admin/

c'est à n'y rien comprendre

merci de toute votre aide

Vous avez une erreur dans votre .htaccess.
Mettez en commentaire (avec # en début de ligne) les lignes RewriteRule quie vous auriez ajoutées devant BEGIN WordPress.

est-ce les lignes que vous souhaitez voir ?
# BEGIN WordPress
#
#RewriteEngine On
#RewriteBase /
#RewriteRule ^index.php$ - [L]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule . /index.php [L]
#

# END WordPress

le mieux ne serait-il pas que je vous l'envoie complet ?

en fait, pour tout vous dire, j'ai l'impression que j'ai mélangé ou permuté les deux htaccess… dans le dossier www initial, il y avait un htaccess bien rempli, mais à la racine du serveur du client, un autre existait… et je me demande si je n'ai pas permuté les deux.

si je vous les envoie, tous les deux, vous pourriez me dire lequel faut-il que je place au bon endroit ?
merci d'avance

je viens de créer un htaccess placé à la racine du serveur avec ces infos dedans :<br /># BEGIN WordPress<br /><br />RewriteEngine On<br />RewriteBase /<br />RewriteRule ^index\.php$ - [L]<br />RewriteCond %{REQUEST_FILENAME} !-f<br />RewriteCond %{REQUEST_FILENAME} !-d<br />RewriteRule . /index.php [L]<br /><br /># END WordPress<br /><br />installation wordpress refaite en exploitant la nouvelle BD créée elle aussi pour la circonstance<br />Il y a un résultat, mais ce n&#39;est pas ce que j&#39;attendais...<br />maintenant, j&#39;ai une page blanche avec tout un pavé de texte de codage de ce type :<br />/**<br /> * Dashboard Administration Screen<br /> *<br /> * &#64;package WordPress<br /> * &#64;subpackage Administration<br /> */<br /><br />/** Load WordPress Bootstrap */<br />require_once __DIR__ . &#39;/admin.php&#39;;<br /><br />/** Load WordPress dashboard API */<br />require_once ABSPATH . &#39;wp-admin/includes/dashboard.php&#39;;<br /><br />wp_dashboard_setup();<br /><br />wp_enqueue_script( &#39;dashboard&#39; );<br /><br />if ( current_user_can( &#39;install_plugins&#39; ) ) {<br />	wp_enqueue_script( &#39;plugin-install&#39; );<br />	wp_enqueue_script( &#39;updates&#39; );<br />}<br />if ( current_user_can( &#39;upload_files&#39; ) ) {<br />	wp_enqueue_script( &#39;media-upload&#39; );<br />}<br />add_thickbox();<br /><br />if ( wp_is_mobile() ) {<br />	wp_enqueue_script( &#39;jquery-touch-punch&#39; );<br />}<br /><br />$title       &#61; __( &#39;Dashboard&#39; );<br />$parent_file &#61; &#39;index.php&#39;;<br /><br />$help &#61; &#39;<p>&#39; . __( &#39;Welcome to your WordPress Dashboard! This is the screen you will see when you log in to your site, and gives you access to all the site management features of WordPress. You can get help for any screen by clicking the Help tab above the screen title.&#39; ) . &#39;</p>&#39;;<br /><br />$screen &#61; get_current_screen();<br /><br />$screen-&gt;add_help_tab(<br />	array(<br />		&#39;id&#39;      &#61;&gt; &#39;overview&#39;,<br />		&#39;title&#39;   &#61;&gt; __( &#39;Overview&#39; ),<br />		&#39;content&#39; &#61;&gt; $help,<br />	)<br />);<br /><br />// Help tabs.<br /><br />$help  &#61; &#39;<p>&#39; . __( &#39;The left-hand navigation menu provides links to all of the WordPress administration screens, with submenu items displayed on hover. You can minimize this menu to a narrow icon strip by clicking on the Collapse Menu arrow at the bottom.&#39; ) . &#39;</p>&#39;;<br />$help .&#61; &#39;<p>&#39; . __( &#39;Links in the Toolbar at the top of the screen connect your dashboard and the front end of your site, and provide access to your profile and helpful WordPress information.&#39; ) . &#39;</p>&#39;;<br /><br />$screen-&gt;add_help_tab(<br />	array(<br />		&#39;id&#39;      &#61;&gt; &#39;help-navigation&#39;,<br />		&#39;title&#39;   &#61;&gt; __( &#39;Navigation&#39; ),<br />		&#39;content&#39; &#61;&gt; $help,<br />	)<br />);<br /><br />$help  &#61; &#39;<p>&#39; . __( &#39;You can use the following controls to arrange your Dashboard screen to suit your workflow. This is true on most other administration screens as well.&#39; ) . &#39;</p>&#39;;<br />$help .&#61; &#39;<p>&#39; . __( &#39;<strong>Screen Options</strong> — Use the Screen Options tab to choose which Dashboard boxes to show.&#39; ) . &#39;</p>&#39;;<br />$help .&#61; &#39;<p>&#39; . __( &#39;<strong>Drag and Drop</strong> — To rearrange the boxes, drag and drop by clicking on the title bar of the selected box and releasing when you see a gray dotted-line rectangle appear in the location you want to place the box.&#39; ) . &#39;</p>&#39;;<br />$help .&#61; &#39;<p>&#39; . __( &#39;<strong>Box Controls</strong> — Click the title bar of the box to expand or collapse it. Some boxes added by plugins may have configurable content, and will show a “Configure” link in the title bar if you hover over it.&#39; ) . &#39;</p>&#39;;<br /><br />$screen-&gt;add_help_tab(<br />	array(<br />		&#39;id&#39;      &#61;&gt; &#39;help-layout&#39;,<br />		&#39;title&#39;   &#61;&gt; __( &#39;Layout&#39; ),<br />		&#39;content&#39; &#61;&gt; $help,<br />	)<br />);<br /><br />$help &#61; &#39;<p>&#39; . __( &#39;The boxes on your Dashboard screen are:&#39; ) . &#39;</p>&#39;;<br /><br />if ( current_user_can( &#39;edit_posts&#39; ) ) {<br />	$help .&#61; &#39;<p>&#39; . __( &#39;<strong>At A Glance</strong> — Displays a summary of the content on your site and identifies which theme and version of WordPress you are using.&#39; ) . &#39;</p>&#39;;<br />}<br /><br />$help .&#61; &#39;<p>&#39; . __( &#39;<strong>Activity</strong> — Shows the upcoming scheduled posts, recently published posts, and the most recent comments on your posts and allows you to moderate them.&#39; ) . &#39;</p>&#39;;<br /><br />if ( is_blog_admin() &amp;&amp; current_user_can( &#39;edit_posts&#39; ) ) {<br />	$help .&#61; &#39;<p>&#39; . __( &#34;<strong>Quick Draft</strong> — Allows you to create a new post and save it as a draft. Also displays links to the 3 most recent draft posts you&#39;ve started.&#34; ) . &#39;</p>&#39;;<br />}<br /><br />$help .&#61; &#39;<p>&#39; . sprintf(<br />	/* translators: %s: WordPress Planet URL. */<br />	__( &#39;<strong>WordPress Events and News</strong> — Upcoming events near you as well as the latest news from the official WordPress project and the %s.&#39; ),<br />	__( &#39;https://planet.wordpress.org/&#39; )<br />) . &#39;</p>&#39;;<br /><br />if ( current_user_can( &#39;edit_theme_options&#39; ) ) {<br />	$help .&#61; &#39;<p>&#39; . __( &#39;<strong>Welcome</strong> — Shows links for some of the most common tasks when setting up a new site.&#39; ) . &#39;</p>&#39;;<br />}<br /><br />$screen-&gt;add_help_tab(<br />	array(<br />		&#39;id&#39;      &#61;&gt; &#39;help-content&#39;,<br />		&#39;title&#39;   &#61;&gt; __( &#39;Content&#39; ),<br />		&#39;content&#39; &#61;&gt; $help,<br />	)<br />);<br /><br />unset( $help );<br /><br />$screen-&gt;set_help_sidebar(<br />	&#39;<p><strong>&#39; . __( &#39;For more information:&#39; ) . &#39;</strong></p>&#39; .<br />	&#39;<p>&#39; . __( &#39;https://wordpress.org/support/article/dashboard-screen/ Documentation on Dashboard&#39; ) . &#39;</p>&#39; .<br />	&#39;<p>&#39; . __( &#39;https://wordpress.org/support/ Support&#39; ) . &#39;</p>&#39;<br />);<br /><br />require_once ABSPATH . &#39;wp-admin/admin-header.php&#39;;<br />?&gt;<br /><br /><div class="wrap"><br />	<h2></h2><br /><br />		if ( ! empty( $_GET[&#39;admin_email_remind_later&#39;] ) ) :<br />		/** This filter is documented in wp-login.php */<br />		$remind_interval &#61; (int) apply_filters( &#39;admin_email_remind_interval&#39;, 3 * DAY_IN_SECONDS );<br />		$postponed_time  &#61; get_option( &#39;admin_email_lifespan&#39; );<br /><br />		/*<br />		 * Calculate how many seconds it&#39;s been since the reminder was postponed.<br />		 * This allows us to not show it if the query arg is set, but visited due to caches, bookmarks or similar.<br />		 */<br />		$time_passed &#61; time() - ( $postponed_time - $remind_interval );<br /><br />		// Only show the dashboard notice if it&#39;s been less than a minute since the message was postponed.<br />		if ( $time_passed &lt; MINUTE_IN_SECONDS ) :<br />			?&gt;<br />		<div class="notice notice-success is-dismissible"><br />			<p><br />								printf(<br />					/* translators: %s: Human-readable time interval. */<br />					__( &#39;The admin email verification page will reappear after %s.&#39; ),<br />					human_time_diff( time() &#43; $remind_interval )<br />				);<br />				?&gt;<br />			</p><br />		</div><br />		<br />	<br /><br />if ( has_action( &#39;welcome_panel&#39; ) &amp;&amp; current_user_can( &#39;edit_theme_options&#39; ) ) :<br />	$classes &#61; &#39;welcome-panel&#39;;<br /><br />	$option &#61; (int) get_user_meta( get_current_user_id(), &#39;show_welcome_panel&#39;, true );<br />	// 0 &#61; hide, 1 &#61; toggled to show or single site creator, 2 &#61; multisite site owner.<br />	$hide &#61; ( 0 &#61;&#61;&#61; $option || ( 2 &#61;&#61;&#61; $option &amp;&amp; wp_get_current_user()-&gt;user_email !&#61;&#61; get_option( &#39;admin_email&#39; ) ) );<br />	if ( $hide ) {<br />		$classes .&#61; &#39; hidden&#39;;<br />	}<br />	?&gt;<br /><br />	<div id="welcome-panel" class="&lt;?php echo esc_attr( $classes ); ?&gt;"><br />		<br />		<a class="welcome-panel-close" href="&lt;?php echo esc_url%28 admin_url%28 &#39;?welcome&#61;0&#39; %29 %29; ?&gt;"></a><br />				/**<br />		 * Add content to the welcome panel on the admin dashboard.<br />		 *<br />		 * To remove the default welcome panel, use remove_action():<br />		 *<br />		 *     remove_action( &#39;welcome_panel&#39;, &#39;wp_welcome_panel&#39; );<br />		 *<br />		 * &#64;since 3.5.0<br />		 */<br />		do_action( &#39;welcome_panel&#39; );<br />		?&gt;<br />	</div><br /><br /><br />	<div id="dashboard-widgets-wrap"><br />	<br />	</div><br /><br /></div><br /><br />wp_print_community_events_templates();<br /><br />require_once ABSPATH . &#39;wp-admin/admin-footer.php&#39;;

WOUAHOUUU je crois y être parvenu…
j'ai recréé un htaccess avec ces infos, brutes

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

je l'ai également copié dans le www et maintenant, un message de log est affiché…

on approche de la réussite…

ALLELUIA !!!
votre unique commentaire m'a permis, à force d'essais, d'y arriver… maintenant, j'ai bien wordpress devant les yeux…
merci