SitePoint Sponsor |
|
User Tag List
Results 1 to 14 of 14
-
Apr 3, 2008, 02:07 #1
- Join Date
- Apr 2008
- Location
- Glasgow, west coast of Scotland
- Posts
- 27
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Install Wordpress blog on root directory or sub directory?
Hello.
I'd welcome any advice...
Is it more appropriate to install a Wordpress blog in the root directory or a sub directory?
What are the advantages /disadvantages to each?
Thank you in advance.
BG
-
Apr 3, 2008, 03:07 #2
- Join Date
- May 2006
- Location
- Aurora, Illinois
- Posts
- 15,476
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I'd put it in a subdirectory and then mask its location so that it appears to be running from the root. I'd also use mod_rewrite and remove the WordPress version META tag to cover up all tracks of WordPress' existance.
That way if you ever switch to something else later on, you won't have a bunch of files to clean up (it also keeps your root directory clean as well).Save the Internet - Use Opera | May my mother rest in peace: 1943-2009
Dan Schulz - Design Team Advisor | Follow me on Twitter
SitePoint References: HTML CSS JavaScript | Become A Guru
WordPress SEO Checklist | What WordPress Plugins Do You Use?
Web Standards Curriculum | Image Free Equal Height Columns
-
Apr 3, 2008, 05:31 #3
- Join Date
- May 2007
- Location
- Wisconsin
- Posts
- 330
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
It depends on how the installation is going to be used. When I'm installing for a client who's just running a small site and has little or no computer experience, I install to root to make things simpler. I do the same for a few of my own sites where I know that I won't be going outside of WP to do anything (i.e., "it's just a blog").
With clients that are going to be running more complex sites, expanding, or utilizing more than one application, I install to a sub-directory and then make it look as if it's in the root. This makes it much easier to keep things compartmentalized and reduces the chances of accidentally overwriting some important file.
-
Apr 3, 2008, 06:05 #4
- Join Date
- Apr 2008
- Location
- Glasgow, west coast of Scotland
- Posts
- 27
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks to you both.
You're both saying the same thing (I think)...
"I install to a sub-directory and then make it look as if it's in the root."
"I'd put it in a subdirectory and then mask its location"
Is there any place I can go to get information on how I do this masking?
Many thanks again.
BG
-
Apr 3, 2008, 06:08 #5
- Join Date
- May 2007
- Location
- Wisconsin
- Posts
- 330
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Install WP in the subdirectory you want. Then, in the admin panel, go to "options, general" and change the "Blog Address" to the root. There's a link on that page that takes you to instructions on how to do it. It's very simple.
-
Apr 3, 2008, 06:25 #6
- Join Date
- May 2006
- Location
- Aurora, Illinois
- Posts
- 15,476
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
And here's a tutorial on how to use mod_rewrite to mask every trace of WordPress from your site's structural links. (Good thing I asked how to do it.)
http://www.theblogexperiment.com/blo...ad.php?p=14001Save the Internet - Use Opera | May my mother rest in peace: 1943-2009
Dan Schulz - Design Team Advisor | Follow me on Twitter
SitePoint References: HTML CSS JavaScript | Become A Guru
WordPress SEO Checklist | What WordPress Plugins Do You Use?
Web Standards Curriculum | Image Free Equal Height Columns
-
Apr 3, 2008, 09:05 #7
- Join Date
- Apr 2008
- Location
- Glasgow, west coast of Scotland
- Posts
- 27
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
You both are very helpful- and patient- with a beginner like me asking such basic questions.
Researching this is a little confusing- I guess everyone does what suits their own situation.
I'm keen to set up my blog as SEO-healthy as possible
(having read http://www.dailyblogtips.com/always-...oot-directory/)
but I guess changing the blog address to the root address avoids negative SEO consequences?
Scott
-
Apr 3, 2008, 16:57 #8
- Join Date
- May 2006
- Location
- Aurora, Illinois
- Posts
- 15,476
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
They're talking about the link structure, not where the files are hosted. You can set up WordPress at yoursite.com/wordpress/ but still have it point to yoursite.com from within the system itself.
Save the Internet - Use Opera | May my mother rest in peace: 1943-2009
Dan Schulz - Design Team Advisor | Follow me on Twitter
SitePoint References: HTML CSS JavaScript | Become A Guru
WordPress SEO Checklist | What WordPress Plugins Do You Use?
Web Standards Curriculum | Image Free Equal Height Columns
-
Apr 4, 2008, 22:39 #9
- Join Date
- Mar 2008
- Location
- www.noobpreneur.com
- Posts
- 139
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Good point.
I've installed mine at root directory and it IS a lot of work to clean WP's trails. Next time, I'd put it in subdir.
Thanks guys!
Noobpreneur
Noobpreneur.com - Resources for Entrepreneur
EnglishFair.com - Bidding Web Directory
-
Apr 8, 2008, 15:25 #10
- Join Date
- Feb 2007
- Location
- Europe
- Posts
- 40
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
There are some guys who say putting blog into subdomain is bad for SEO. I don't think so. Anyway, put your blog into root, and build up your site conent around it!
Freelance-Web.org - my freelance blog
SEO Tools - use and research
Kick-start your site - got idea, but no time and skills?
-
Apr 13, 2008, 09:15 #11
-
Apr 13, 2008, 17:23 #12
-
Apr 14, 2008, 11:31 #13
- Join Date
- Apr 2008
- Location
- Glasgow, west coast of Scotland
- Posts
- 27
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
vgarcia
Quote: You can set the root to a static page from within wordpress.
Thank you all.
What does it mean to "set the root to a static page?
and in what ways are the two good bits of advice above different?
I'm a little bamboozled by the technical side but that's for me to learn over the next few weeks
Cheers,
BG
-
Jun 22, 2008, 22:17 #14
- Join Date
- Dec 2006
- Location
- Vlorė, Albania
- Posts
- 446
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I always install mines in the root directory.
Bookmarks