homepage Welcome to WebmasterWorld Guest from 54.166.66.204
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
linking to your own links that are 301'ed to other links
darkage




msg:3652983
 10:59 am on May 18, 2008 (gmt 0)

I'm linking from a number of places to my doman name which is short and concise, eg : subdomain.domain.com/

However this shortlink is 301'ed (moved permanently) via mod_rewrite to subdomain.domain.com/folder/ as this is my (root) in the context of the running application

Moving my root is not an option.

My question is, is it considered a bad practice to link to a URL that you have setup as a 301 ?

Thanks in advance

 

darkage




msg:3653099
 2:53 pm on May 18, 2008 (gmt 0)

Since my post was moved, maybe I should say that this is related to SEO. Is it considered a bad practice in SEO to link (from my own pages) to URLs which I then 301 to other URLs ?

Receptional Andy




msg:3653101
 3:04 pm on May 18, 2008 (gmt 0)

I wouldn't necessarily say it's a bad practice, although you are increasing workload for spiders (which is to be avoided if possible) and it could lessen the benefit from linking to the pages if it's on a large scale (e.g. affecting a large number of URLs). Most sites with redirection systems link to 301s eventually.

Chained redirects are definitely one to avoid (i.e. redirecting to a URL that then redirects again).

Moving my root is not an option

Remember that you don't need to physically move a folder to hide it from URL requests. If the subfolder is superfluous to requirements (for instance if it's more about the underlying technology than a useful path for visitors, like subdomain.domain.com/cms/) then you could use mod_rewrite to serve content from subdomain.domain.com/ without the extra directory.

If that's sounds useful, you could have a go at the rewriting and then post over in the Apache forum if you run into problems.

darkage




msg:3653113
 3:49 pm on May 18, 2008 (gmt 0)

Andy, thanks fro your answer. Im pretty "comfortable" with mod_rewrite and could do that (actually im already using mod_rewrite to from root to /folder), however the issue is that the root contains a number of folders I access from my root.

Here is an example of my root:
/folder (this is my main application which I redirect root to)
/folder2
/folder3
/folder4

folder2-4 are my assets folders that contain a lot of other stuff that the main application needs/refers to. Therefore moving my root logically or physically to folder is not possible. Or let me rephrase that, everything is possible, I just dont think that it would be justifiable with the amount of work needed...

g1smd




msg:3653266
 10:50 pm on May 18, 2008 (gmt 0)

*** im already using mod_rewrite to from root to /folder ***

But... are you doing that as a rewrite [L], or as a redirect [R=301,L]?

darkage




msg:3653475
 9:20 am on May 19, 2008 (gmt 0)

a 301 (moved permanently)

g1smd




msg:3653867
 7:02 pm on May 19, 2008 (gmt 0)

Bad move. I would have used a rewrite to connect the short URL to the longer filepath.

darkage




msg:3653938
 7:57 pm on May 19, 2008 (gmt 0)

g1smd ? Im confused.

Im using mod rewrite to redirect (301) subdomain.domain.com -> subdomain.domain.com/folder

How is that a bad move ?

g1smd




msg:3653954
 8:21 pm on May 19, 2008 (gmt 0)

I'd never let the root URL for a domain or a sub-domain redirect to a folder within the same domain or subdomain.

The root URL is the most important one of a site.

darkage




msg:3654259
 7:33 am on May 20, 2008 (gmt 0)

g1smd, I understand what you're saying, so I looked into this:

ibm.com does a 301 to a folder
microsoft.com does a 301 to a folder
godaddy.com does a 302 to a folder (and the new url has no pagerank - maybe due to the 302 or because its a new page)
forums.bimmerforums.com does a 301 to a folder (no pagerank for new url)
www.accenture.com does a 301 to a folder
www.cocacola.com does a 301 to a folder
www.elsevier.com does a 200 to a folder (using meta tag) and has PR9 (this is how i previously did my redirect)
[answers.google.com...] does a 301 to a folder
www.blogger.com does a 302 to a folder

I'd say if so many large companies is doing a 301 from root to a folder, little me should be ok :-)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved