Printer Friendly Version
Email this thread to a friend
|
Direct links vs Relative Links (In: Google)
Featured Web Site Template |
|
There are 0 guests and 2 members in the forums right now.
Reflects user activity within the last 5 minutes
|
|
| Member |
Message |
nggiven
Joined: Aug 28, 2006
# Posts: 2
|
Posted: 2006-Aug-28 21:33
Hello All,
My main home page no longer sits at my site root. Because of some content management software, it is now at /portal/site/ .
When we installed this software, we simply did a vbscript response.redirect to /portal/site/ . After looking into it, this is just doing a "Temporarily Moved" redirect (302).
So, I'm going to have this content management software installed for the next 3-5 years, I should be doing a permanent redirect (301), right?
My other question is this: I have two domains that server the EXACT same content out of the same folder on my webserver. So my current 302 redirect uses a relative url to point to /portal/site/.
So, if I change it to a 301 redirect to go to /portal/site/ is it okay if I use a relative url? That's not going to hurt my rankings is it? (I guess I'm just trying to ask, which is better for a 302 redirect: an absolute url or a relative one? (Or does it even matter?).
Thanks!
--
Nathan
|
 |
bhartzer
Staff
Joined: Jun 08, 2000
# Posts: 7042
|
Posted: 2006-Aug-28 22:11
My main home page no longer sits at my site root. Because of some content management software, it is now at /portal/site/ .
So fix that--you should be able to change the default home page of your domain in your web server's settings. In apache, it's in the http.conf file.
If you cannot figure it out or decide not to change it, the it absolutely positively needs to be a 301 Permanent Redirect from domain.com to /portal/site/.
As long as the server header returns a 301 code then you should be fine. But, it's far better to change the server's default home page setting.
|
 |
nggiven
Joined: Aug 28, 2006
# Posts: 2
|
Posted: 2006-Aug-30 14:53
Okay, I'll look into changing our CMS engine.
If that can't be done, it's okay that we put a relative URL for our permanent redirect, right?
|
 |
g1smd
Staff
Joined: Jul 28, 2002
# Posts: 10465
|
Posted: 2006-Aug-30 20:19
Set the server up so that the web_root is the same as the folder where the site actually is.
|
 |
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
- You have not yet logged in, or registered properly as a member
- You are a member, but no longer have posting rights.
- This is a private forum, for which you do not have permissions.
If you are a recent member, it's possible that you simply have not yet confirmed your account. Please
check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions
contained within.
If you cannot find this message, click here to Re-Send it.
|
If you are still experiencing problem, please read the
Login Assistance
Article for some advice on what may be causing your login not to work properly.
|
Switch to Advanced Editor and ...
Create a New Topic
or Reply to this Thread
|
|