• Resolved roshanbi

    (@roshanbi)


    Hello Team,

    kindly note that I would like to change the URL : https://kotsaa.com/public_html/wordpress

    to
    https://kotsaa.com

    The directory is in /public_html/public_html/wordpress

    htaccess entry:

    #+PHPVersion
    #="php73"
    AddHandler x-httpd-php73 .php
    #-PHPVersion
    
    # BEGIN WordPress
    # The directives (lines) between "BEGIN WordPress" and "END WordPress" are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /public_html/wordpress/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /public_html/wordpress/index.php [L]
    </IfModule>
    
    # END WordPress
    
    #+StackCache
    #={"images":"A86400","css":"A86400","javascript":"A86400"}
    ExpiresActive ON
    ExpiresByType "image/jpeg" "A86400"
    ExpiresByType "image/jpg" "A86400"
    ExpiresByType "image/gif" "A86400"
    ExpiresByType "image/png" "A86400"
    ExpiresByType "image/svg+xml" "A86400"
    ExpiresByType "image/webp" "A86400"
    ExpiresByType "image/vnd.microsoft.icon" "A86400"
    ExpiresByType "image/x-icon" "A86400"
    ExpiresByType "image/ico" "A86400"
    ExpiresByType "font/ttf" "A86400"
    ExpiresByType "font/otf" "A86400"
    ExpiresByType "application/x-font-opentype" "A86400"
    ExpiresByType "application/x-font-woff" "A86400"
    ExpiresByType "application/x-font-ttf" "A86400"
    ExpiresByType "application/font-woff" "A86400"
    ExpiresByType "font/woff2" "A86400"
    ExpiresByType "application/vnd.ms-fontobject" "A86400"
    ExpiresByType "text/css" "A86400"
    ExpiresByType "text/html" "A86400"
    ExpiresByType "text/plain" "A86400"
    ExpiresByType "text/javascript" "A86400"
    ExpiresByType "application/javascript" "A86400"
    #-StackCache

    Index.php entry:

    <?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 __DIR__ . '/wp-blog-header.php';

    Kindly advise what changes need to be done.

    Thanks,

    Roshan

    • This topic was modified 2 years, 5 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘site adress url’ is closed to new replies.