Solved

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

Posted on 2013-11-21
1
528 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 43

Accepted Solution

by:
Chris Stanyon earned 500 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

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

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

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…

710 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