frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Removing double forward slashes from URL with Apaches mod_alias module

I am looking to install the mod_alias to help with a htaccess rule to prevent duplicate content.

# Remove double forward slashes
<IfModule mod_alias.c>
    RedirectMatch 301 ^//(.*)$ http://example.com/$1
</IfModule>

When I check easyapache I see this module is available: Apache Module mod_vhost_alias

I am looking to add this module to apache: mod_alias

They do not seem the same however?

Tagged:
Sign In or Register to comment.

Computer Talk Forum

| Computer and Internet Discussion
@ 2021 Computer Talk Forum, All rights reserved. Material Design is a design language developed by Google. Material Design makes more liberal use of grid-based layouts and responsive animations and transitions.
Powered by VanillaForums, Designed by ThemeDorks

Resources

Continue the discussion