WordPress.org

Ready to get started?Download WordPress

Forums

url redirects for two sub domain folders (2 posts)

  1. simplysondi
    Member
    Posted 1 year ago #

    I have two WP sites located in separate sub directories. I have pointed the root url to the correct sub domain by editing the .htaccess file located in the root folder and all is good. Now I just need to know how to add code to the .htaccess file so the second url will work correctly. I have already pointed re-directed this new url (meras.ag) to the 2nd sub directory and the site pulls up however, once a second page and any other page after that are clicked on the address bar shows the full path and not just the url/postname.

    Anyone out there have a solution for this? Thanks so much!

  2. Lindsay T
    Member
    Posted 1 year ago #

    With the setup you have I don't think there is any way to get rid of the wordpress-ag in the url.

    If your webhost provides add-on domains, you should use that instead, and point the addon domain to the wordpress-ag folder.

    Much cleaner that way.

Topic Closed

This topic has been closed to new replies.

About this Topic