Welcome Guest ( Log In | Register )


Why register for free on WebRadiance?
Welcome to WebRadiance forums! WebRadiance is a place for discussion and help on a large range of web design and development related topics such as HTML, CSS, ASP & .NET, PHP and SEO. It is provided for free, without ads and is a friendly place for beginners and professionals alike. By joining us today you can take part in our rapidly growing community.

Registering enables you to:
  • have your say by posting new messages and taking part in topics and polls
  • keep up to date with the latest news and trends in the web design and development world
  • send private messages to other members
  • have your questions answered by our knowledgeable community
  • add a link to your website in our links area
  • receive emails when someone replies to your posts

mod_rewrite help

Subdomains, subfolders, help!

 
Reply to this topicStart new topic
> mod_rewrite help, Subdomains, subfolders, help!
Spode
post May 30 2008, 12:46 PM
Post #1


W.R. Private
Group Icon

Group: Members
Posts: 28
Joined: 13-November 06
Member No.: 105



Hi Chaps,

Having a few issues. I've been cracking at it for a few hours and I'm still stuck.

I have currently setup archive.mydomain.com and forums.mydomain.com and mydomain.com.

For SEO reasons, I would like these accessible as mydomain.com/archive and mydomain.com/forums.

I could just copy everything into one document_root, but I feel this would be quite messy and half the reason I archived the old website off in the first place.

I tried using mod_proxy but it didn't quite work as I wanted, as none of the images worked. I guess to the end-user, and Google it should be mydomains.com/forums, but internally, PHP would see forums.mydomain.com.

Does this make sense, and can anyone help?


--------------------
Go to the top of the page
 
+Quote Post
Sirkent
post May 30 2008, 05:55 PM
Post #2


Loose bits sink chips
Group Icon

Group: Administrators
Posts: 2,068
Joined: 4-April 06
From: Kent, UK
Member No.: 2



QUOTE (Spode @ May 30 2008, 06:46 PM) *
For SEO reasons, I would like these accessible as mydomain.com/archive and mydomain.com/forums.

What reasons would they be then? Page Rank is on a per-page basis so adding those pages to your main domain should make no difference.

So you want to keep the subdomains and setup subfolders on your main domain too? Duplicating your content like that could be worse for SEO than keeping things the way they are.


--------------------
QUOTE(benbramz @ Aug 17 2007, 07:44 AM) *
Ive noticed that quite a few people are now adding quotes from the board into their signature. I think its started an new web-radiance craze.. :P
Go to the top of the page
 
+Quote Post
Spode
post Jun 2 2008, 05:42 AM
Post #3


W.R. Private
Group Icon

Group: Members
Posts: 28
Joined: 13-November 06
Member No.: 105



QUOTE (Sirkent @ May 30 2008, 11:55 PM) *
What reasons would they be then? Page Rank is on a per-page basis so adding those pages to your main domain should make no difference.

So you want to keep the subdomains and setup subfolders on your main domain too? Duplicating your content like that could be worse for SEO than keeping things the way they are.


Oh.

A friend of mine at a large publication was strongly encouraged by a Google Engineer not to use a subdomain but instead to use a folder.

I don't want the content duplicated really, I just want the archives moved to mydomain.com/archives - but I don't want to have to go in an internally adjust all the code.


--------------------
Go to the top of the page
 
+Quote Post
benbramz
post Jun 2 2008, 09:43 AM
Post #4


The buddy system:never fails
Group Icon

Group: Administrators
Posts: 1,766
Joined: 4-April 06
Member No.: 1



QUOTE (Spode @ Jun 2 2008, 10:42 AM) *
A friend of mine at a large publication was strongly encouraged by a Google Engineer not to use a subdomain but instead to use a folder.

Yes, i can imagine, because a subdomain is classed as a seperate site to the index (for example, test.webradiance.com would be indexed as a differnt site to webradiance.com)
QUOTE (Spode @ Jun 2 2008, 10:42 AM) *
I don't want the content duplicated really, I just want the archives moved to mydomain.com/archives - but I don't want to have to go in an internally adjust all the code.

I'm afraid this seems the best option though. If your using an editor like textmate or dreamweaver a site wide replace would fix those issues. Put all your content on your main domain and you WILL see a great differnce in your SERPS.


--------------------
QUOTE (Sirkent @ Sep 21 2007, 09:26 AM) *
<monty python high-pitched female voice>I DON'T LIKE SPAM!</monty python high-pitched female voice>
Go to the top of the page
 
+Quote Post
Spode
post Jun 2 2008, 10:17 AM
Post #5


W.R. Private
Group Icon

Group: Members
Posts: 28
Joined: 13-November 06
Member No.: 105



QUOTE (benbramz @ Jun 2 2008, 03:43 PM) *
Yes, i can imagine, because a subdomain is classed as a seperate site to the index (for example, test.webradiance.com would be indexed as a differnt site to webradiance.com)

I'm afraid this seems the best option though. If your using an editor like textmate or dreamweaver a site wide replace would fix those issues. Put all your content on your main domain and you WILL see a great differnce in your SERPS.


Thinking about it - if I just move everything into the /archives folder, then I can setup some aliases in my apache configuration for the folders - that way my domain relative links will still work smile.gif


--------------------
Go to the top of the page
 
+Quote Post
Rob Kaper
post Jul 19 2008, 01:28 PM
Post #6


W.R. Corporal
Group Icon

Group: Members
Posts: 52
Joined: 19-July 08
From: Rotterdam, NLD
Member No.: 1,069



Just make sure you use a 301 redirect header and not a 302, which indicates a temporary redirect.


--------------------
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
Tags
No Tag inserted yet

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 8th January 2009 - 01:31 PM
Contact Us
Web Design Forum | Web Development Forum | Web Help | WordPress Help