Re: Redirecting / to non slash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 17, 2010 at 5:31 PM, Kevin Castellow
<kev.castellow@xxxxxxxxx> wrote:
> I would take a look at this module:
> http://httpd.apache.org/docs/2.2/mod/mod_dir.html
>
> Depending on how you built your Apache it should be there by default if you
> used the "all" option for modules.
>
> It should do exactly what you are looking for.
>
> Regards,
> Kevin Castellow
> http://kevincastellow.workintel.com
>
>

Thats the opposite of what he requested - he wants '/foo/' to be
redirected to '/foo' and serve as if it was '/foo/'. mod_dir would
redirect '/foo' to '/foo/' and serve '/foo/'.

>
>
> On Mon, May 17, 2010 at 11:09 AM, Nilesh Govindarajan <lists@xxxxxxxxxx>
> wrote:
>>
>> Hi,
>>
>> For SEO reasons, I'd like to redirect /page/ to /page, how to ?
>>

Is '/page/' a directory? If so, I don't think you will be able to do
this with apache. It may be possible with redirects, but it just seems
a little OTT to do this because some snake oil merchant has told you
this will boost your page rank on google.

Cheers

Tom

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux