Jump to content

Recommended Posts

Posted

Hi. Can anyone please tell me how to do to define aliases like the following (Apache httpd.conf on my Windows 10):

 

  Alias /animaldb "C:/Programs/Apache24/htdocs/computing/website/animaldb"

 

corresponding to the links:

  /animaldb/ => /computing/website/animaldb/

 

There is an Alias item in CPanel, but as I understood this is intended for domain aliasing rather than for directories. I actually use Redirect, what works well, but the redirected pages are excluded in Google Search, because of being redirects. Thanks for suggestions.

 

Posted

You can do this with URL rewriting instead.

 

To be honest though, Google will follow a redirect and index the final destination, so your content would end up indexed either way. The URL shown is the only difference.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...