Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

301 permanent redirection of directories

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
Redirect permanent? - Would this work as a redirect? Redirect permanent Or should I just leave apache to give 405 errors? -- del 8-)
Next:  Apache: Timeout issue  
Author Message
1001 Webs

External


Since: Oct 31, 2007
Posts: 11



(Msg. 1) Posted: Thu Nov 01, 2007 11:59 am
Post subject: 301 permanent redirection of directories
Archived from groups: alt>apache>configuration (more info?)

I am going to do 301 permanent redirection for quite a few pages (66).
I wonder whether you can redirect a whole directory or do the pages
have
to be individually redirected?

And since we are at it.
How do you create customized 404 pages?
I did a few through cPanel, saved as 404.shtml and did appear for a
while, but now for some reason unknown to me, they are overridden by
system default 404 pages.

Thanks

 >> Stay informed about: 301 permanent redirection of directories 
Back to top
Login to vote
Jim Hayter

External


Since: Feb 07, 2005
Posts: 81



(Msg. 2) Posted: Thu Nov 01, 2007 4:40 pm
Post subject: Re: 301 permanent redirection of directories [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Rik Wasmus wrote:
> On Thu, 01 Nov 2007 14:26:10 +0100, 1001 Webs <1001webs.TakeThisOut@gmail.com> wrote:
>
>> I am going to do 301 permanent redirection for quite a few pages (66).
>> I wonder whether you can redirect a whole directory or do the pages
>> have
>> to be individually redirected?
>
> As long there's some logic to it, some mod_rewrite/rewriterules could help

If the OP wants to redirect entire directories, Redirect and
RedirectMatch should prove useful.

Jim

 >> Stay informed about: 301 permanent redirection of directories 
Back to top
Login to vote
Rik Wasmus

External


Since: Oct 16, 2007
Posts: 3



(Msg. 3) Posted: Thu Nov 01, 2007 9:21 pm
Post subject: Re: 301 permanent redirection of directories [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 01 Nov 2007 14:26:10 +0100, 1001 Webs <1001webs DeleteThis @gmail.com> wrote:

> I am going to do 301 permanent redirection for quite a few pages (66).
> I wonder whether you can redirect a whole directory or do the pages
> have
> to be individually redirected?

As long there's some logic to it, some mod_rewrite/rewriterules could help

> And since we are at it.
> How do you create customized 404 pages?

http://httpd.apache.org/docs/2.0/mod/core.html#errordocument
--
Rik
 >> Stay informed about: 301 permanent redirection of directories 
Back to top
Login to vote
1001 Webs

External


Since: Oct 31, 2007
Posts: 11



(Msg. 4) Posted: Thu Nov 01, 2007 11:09 pm
Post subject: Re: 301 permanent redirection of directories [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Nov 1, 9:40 pm, Jim Hayter <see.reply....RemoveThis@nowhere.invalid> wrote:
> Rik Wasmus wrote:
> > On Thu, 01 Nov 2007 14:26:10 +0100, 1001 Webs <1001w....RemoveThis@gmail.com> wrote:
>
> >> I am going to do 301 permanent redirection for quite a few pages (66).
> >> I wonder whether you can redirect a whole directory or do the pages
> >> have
> >> to be individually redirected?
>
> > As long there's some logic to it, some mod_rewrite/rewriterules could help
>
> If the OP wants to redirect entire directories, Redirect and
> RedirectMatch should prove useful.
>
> Jim

Here's what I did:
Redirect permanent /olddir/ http://www.xxx.com/newdir/

It works fine.
Not sure about SEO, though ...
 >> Stay informed about: 301 permanent redirection of directories 
Back to top
Login to vote
André Gillibert

External


Since: Nov 13, 2007
Posts: 1



(Msg. 5) Posted: Tue Nov 13, 2007 12:35 am
Post subject: Re: 301 permanent redirection of directories [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

1001 Webs wrote:

> Here's what I did:
> Redirect permanent /olddir/ http://www.xxx.com/newdir/
>
> It works fine.
> Not sure about SEO, though ...
>

SE don't have problems with 301 redirections.
However, the day you replace them by 404 errors, your site visibility will
dramatically decrease, not only from search engines, but also from other
sites linking to yours.
Broken links are almost never restored (except on wikipedia). Even the W3C
sites links are never updated.

Advice:
1) Keep your redirection forever.
2) Design your URI cleverly so that they cannot easily change.

The following article explains that principle quite well:
<http://www.w3.org/Provider/Style/URI>

PS: The SEO meme is spreading at an amazing rate.
--
If you've a question that doesn't belong to Usenet, contact me at
<tabkanDELETETHISnaz RemoveThis @yahoDELETETHATo.fr>
 >> Stay informed about: 301 permanent redirection of directories 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]