• Resolved celrod

    (@celrod)


    I found instructions on this site on how to have my already installed in a subfolder wordpress switched to the root domain url without having to move it, I went into the general settings tab and changed the url and then went to copy the index.php and the .htaccess to the root directory..problem is I don’t have an .htaccess file in my wordpress folder or a public.html or a web.config…so what do I do?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Manually create and upload to site.

    Thread Starter celrod

    (@celrod)

    which one do I manually create, how do I create it and do I put anything in it or leave it blank?

    .htaccess using a plain text editor such as NotePad.

    See Giving WordPress its Own Directory.

    Copy (NOT MOVE!) the index.php and .htaccess files from the WordPress directory into the root directory of your site (Blog address). The .htaccess file is invisible, so you may have to set your FTP client to show hidden files. If you are not using pretty permalinks, then you may not have a .htaccess file. If you are running WordPress on a Windows (IIS) server and are using pretty permalinks, you’ll have a web.config rather than a .htaccess file in your WordPress directory. For the index.php file the instructions remain the same, copy (don’t move) the index.php file to your root directory. The web.config file, must be treated differently then the .htaccess file so you must MOVE (DON’T COPY) the web.config file to your root directory.

    Thread Starter celrod

    (@celrod)

    yeah, those are the directions I have been following…so I just take a blank notepad file and save it named .htaccess ?? Not trying to be stupid, just want to make sure I do it right the first time…thanks !!

    Thread Starter celrod

    (@celrod)

    is there a particular reason why my current blog does not have one, is that a bad thing?? and will it change anything by creating one?? again, not trying to be stupid, just thorough.

    Yes, you “so I just take a blank notepad file and save it named .htaccess” per instructions.

    You do not need to have one. It is used for specific purposes. The most used purpose is to enable permalinks on an apache/linux server. This changes the default url structure for /?p=123 to /post-name (or other option, but postname is most common).

    You do not need it to proceed. Just set up per instructions, then login and set permalinks. A .htaccess file should be created (dashboard will note if it cannot write this file if so). If not, create it manually.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘trying to make blog into main site’ is closed to new replies.