• webmasterarea29

    (@webmasterarea29)


    I am trying to change my site address from a subdirectory to the root directory. I’m falling the CODEX for “Using a pre-existing subdirectory install”, at: https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory

    I do what the instructions say, and I get no errors, but my site does not load to the static homepage. It takes me to one of my pages. Coincidentally (maybe has something to do with it), my wordpress site is installed in the folder /New in my root folder. I’m trying to switch the site address back to the root folder. The page which it does load, has new in it’s name. The page is named new-group-form.

    Don’t know if that has anything to do with the problem. I think it has something to do with the fact I’m running a static site, versus a blog site.

    Any help would be appreciated.

Viewing 9 replies - 1 through 9 (of 9 total)
  • esmi

    (@esmi)

    Try reviewing all of the steps in allow WordPress to take over the root domain.

    Thread Starter webmasterarea29

    (@webmasterarea29)

    Followed instructions carefully. No joy.

    esmi

    (@esmi)

    What is in your root .htaccess file? Do you have any url forwarding set up within your hosting account?

    I’ve used this method to switch from a sub-dir to root many times and it’s never failed me yet.

    Thread Starter webmasterarea29

    (@webmasterarea29)

    Don’t have a .htaccess file. I’m not aware of any forwarding. When I have the site address set to the New directory, everything works fine. So it must be loading something other than the wp-blog-header.php file. You think?

    tech55541

    (@tech55541)

    Hello,
    Why don’t you have a .htaccess file?

    Thread Starter webmasterarea29

    (@webmasterarea29)

    My understanding from the CODEX I listed above, it says I may not if I’m not using pretty permalink.

    Thread Starter webmasterarea29

    (@webmasterarea29)

    Disregard last. I’m still a WP newbie. I was not looking at hidden files. I have a .htaccess in both directory, the Root and new directory. I will follow the instructions to copy the file to the root folder and see if that makes the difference. My apologies.

    Thread Starter webmasterarea29

    (@webmasterarea29)

    ok, I copied the .htaccess file into the root. No change. Here is the contents of that files:

    # Use PHP5.4 as default
    AddHandler application/x-httpd-php54 .php

    # 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

    Thread Starter webmasterarea29

    (@webmasterarea29)

    ok, as a newbie I made the ultimate mistake. I forgot to refresh my browser. Also, and what should have been a dead give away for me, when I was trying to go back to the site, I was using a bookmark which had/New in the link. That was of course taking me to any page it found with new in the name, and hence I was getting the new group form. I’m all fixed now.

    Thanks for help.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Changing Site Address’ is closed to new replies.