Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS subfolder in different website

Tags:

php

asp.net

iis

www.mycompany.tld <-- our company website (based on Sitefinity/ASP.NET)
www.mycompany.tld/blog <-- our company blog (based on Wordpress/PHP)

Does somebody know how to do this?

I don't want to redirect the user to a different URL, e.g. blog.mycompany.tld, because then I would loose all the PageRank-flow which will hopefully come to our blog.

like image 345
Daniel Lang Avatar asked Mar 25 '11 23:03

Daniel Lang


People also ask

How do I create a subdirectory in IIS?

Right click the site, and click Add Virtual Directory. Give it a name (this will be the sub directory name). Then, just make sure your virtual directory has the correct default page configured. For example, if MyPage.

How do I create a sub folder for my website?

Make a subdirectory in your WWW root dir that can be accessed by the user that your webserver runs under with the name that you want to put after your domain (ex: www.mysite.com/thisisthedirnameyouuse/afile.html ), and put the files in there. Ryan J means 'make a new folder' when he says 'subdirectory'.

What is a sub subfolder?

A subfolder is a folder stored inside another folder. Subfolders help you organize your files more completely. Each subfolder should be used to store files related to each other. For example, you might have one folder for files related to a job search. Add subfolders for all of your files, such as family-related files.


1 Answers

Have you tried converting the folder /blog into a new Virtual Application, with it's own AppPool, that runs the php application?

In regards to the SEO issue, yes, you will lose some of the page rank, but with suitable cross-linking and content you will still maintain some "link juice" as our SEO consultants call it.

like image 155
Zhaph - Ben Duguid Avatar answered Oct 19 '22 07:10

Zhaph - Ben Duguid