Jump to content

Recommended Posts

Posted

Simply create a file called .htaccess (if one already exists, open it) in the topmost directory that serves pages on your site. Add the following code, and save:

 

I always see htaccess files in use but what is the topmost directory if it's not public_html what directory do you save it too?

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...