Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Set 301 redirection on basic html site.

Posted on 2013-06-28
5
Medium Priority
?
327 Views
Last Modified: 2013-07-03
Hello Experts,

We have one html site and we need to set 301 redirection with full site each and every page. we have already set 301 redirection on htaccess but it's not working.


below is our website url.

http://elegantestore.com/volusion-ecommerce-capabilities.html
0
Comment
Question by:dotsandcoms
[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
  • 3
  • 2
5 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 39285989
Redirect every page to the same page, to another site..question is not clear.
What do you currently have in your htaccess
0
 

Author Comment

by:dotsandcoms
ID: 39286221
here we need to set 301 redirection means if any one open the site it's always open with www for e.g.

if we open http://elegantestore.com/volusion-ecommerce-capabilities.html then it's redirect to http://www.elegantestore.com/volusion-ecommerce-capabilities.html


Our website is hosted on windows (IIS) server.
0
 
LVL 58

Expert Comment

by:Gary
ID: 39286698
RewriteEngine On
RewriteCond %{HTTP_HOST} ^elegantestore.com
RewriteRule (.*) http://www.elegantestore.com/$1 [R=301,L]

Open in new window


Edit
Bit confused are you using Apache or IIS? You cannot have htaccess on IIS.
0
 

Author Comment

by:dotsandcoms
ID: 39288989
Here we are using IIS server. is there any other method in iis for 301 setting?
0
 
LVL 58

Accepted Solution

by:
Gary earned 2000 total points
ID: 39290267
0

Featured Post

[Video] Oticon Case Study

Open office environments can create the dynamics for innovation, but they also bring some challenges. With over 1,000 employees in an open office, Oticon needed a solution that would preserve the environment while mitigating disruptive background noises.

Watch how they did it.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
There is a massive demand for content on the web right now, and it doesn't look like it's going to stop any time soon. But, if you are running a business blog, it's not just enough to offer your audience lots of content. It needs to be high-quality…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

609 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