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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...