How Do I Remove WordPress From Vpstutorial?
-
I have a subdomain installed on a Centos VPS.
Then, I made a folder named as vpstutorial.
So, the URL read asAfter installed WordPress, my new URL is now
https://wordpressvps.keywordxpreview.com/vpstutorial/wordpress/
My current .htacces file
# 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
Current Index.php
<?php
/**
* Front to the WordPress application. This file doesn’t do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*//**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define(‘WP_USE_THEMES’, true);/** Loads the WordPress Environment and Template */
require(‘./wordpress/wp-blog-header.php’);
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www.)?keywordxpreview.com/$
RewriteRule ^(/)?$ wordpressvps[L]Any idea to make the URL to be read as
to exclude WordPress
Much appreciated
Thanks
- The topic ‘How Do I Remove WordPress From Vpstutorial?’ is closed to new replies.