• Resolved fas.khan

    (@faskhan)


    Hi all,

    I am using WordPress new version with multisite enabled.

    I’ve this requirement that I can only install WordPress in the root but only can have the URL with /yoursite.

    So, my site has to be installed at root:- https://www.thisurl.com

    but I can only access it at https://www.thisurl.com/yoursite

    How can I do that? I’m not allowed to install wordpress in a ‘yoursite’ directory. I have to do something within the code, DB or htaccess to make this happen by adding a directory name with the URL.

    I’ll be very thankful if you can help me in any way.

    Thanks a lot

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Only way to do it is make thisurl.com a static front page, and make a subsite for /yoursite and use that as a blog.

    Multisite does not work if you try to run it out of a folder it isn’t installed in.

    Thread Starter fas.khan

    (@faskhan)

    Thanks a lot Ipstenu. I’ll definitely give it a try.

    Thread Starter fas.khan

    (@faskhan)

    Thank you Mika,

    I went through your suggestion and created a front static page which redirects to the /news/ site.

    The only slight problem here now is that I use domain mapping for the URLs through which I’ll be creating alternative URLs.

    I’m not able to set it up.

    I think this is because it requires WordPress files to be in the root. May be I’m missing something. I’ll be very thankful if you can help me here too.

    Thanks.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You should have installed WP in root, though. Like you said you did:

    So, my site has to be installed at root:- https://www.thisurl.com

    If WP is installed in ‘thisurl.com’ you’re fine.

    If you’re trying to put the files in thisurl.com/wp/ but have it run out of thisurl.com, it won’t work at all.

    If you have thisurl.com/news as a site, then install domain mapping at thisurl.com, and map news. It’ll work.

    Thread Starter fas.khan

    (@faskhan)

    Thanks a lot!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Install in Root, Access through a folder, within a URL’ is closed to new replies.