Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter arrizvi

    (@arrizvi)

    Hello,
    Thank you for the suggestion. I tried these changes but they didn’t seem to have any effect. After updating my wp-config.php file, I tried to loan my site on a browser with a cleared cache. Still redirected to my original site.

    Here are the values I updated:

    define(‘DOMAIN_CURRENT_SITE’, ‘www.domainname.com’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);
    define(‘WP_HOME’,’https://www.domainname.com’);

    At first, I only updated the two values you suggested, then I also updated the urls to the temp.domainname.com subdomain. No cigar.

    Any other advice would be appreciated!

    Thread Starter arrizvi

    (@arrizvi)

    Hi there,

    Thank you for the quick response. Unfortunately, I had already read through the Using Permalinks page on Codex. My instance of WordPress is able to write to a new .htaccess just fine. This is what is generated:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    Also, since my site worked fine with ‘pretty permalinks’ under a subfolder, I assume that the server environment (it’s a shared hosting account) is configured correctly to work with permalinks.

    As for the redirection plugin, I installed it, but can’t make heads or tails of it.

    Also, a bit of additional detail:
    1. I am able to log into the admin portal.
    2. I am able to create/view new posts/pages as long as permalinks are not enabled.

    Again, thanks for any additional help.

    Abbas

Viewing 2 replies - 1 through 2 (of 2 total)