Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Cannot locate .htaccess file -- how to do 301 redirects

Posted on 2013-11-21
1
Medium Priority
?
536 Views
Last Modified: 2013-12-18
I have a site installed using the Blackmonk platform: http://www.blackmonk.com/

We are trying to arrange some 301 redirects but I don't see an htaccess file anywhere in the backend. How would I go about easily implementing some 301 redirects on this platform, or just in general? Can I just create one from scratch and if so, where would I put it?
0
Comment
Question by:ChilliSauce
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 44

Accepted Solution

by:
Chris Stanyon earned 2000 total points
ID: 39666305
If there is no htaccess file then in theory you would just create it and drop it into the web root of your site. The name for it is:

.htaccess

including the starting dot. This is however, the norm for servers running Apache. If your host runs a different server (IIS etc) then htaccess may not work.

You may also need to speak with them to make sure you have the ability to use an htaccess file.

Just because you don't see it, doesn't mean it's not there. Dot files by default are hidden.

Maybe just create a simple one with a 302 redirect and see if it works. Create the with the following content (obviously substitute you own details)

Redirect 302 oldfile.html newfile.html

Open in new window

Upload your htacess file to the root and try and access oldfile.html - see if you get the redirect. If you do, you're good to go :)
0

Featured Post

Containers & Docker to Create a Powerful Team

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
Suggested Courses

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question