?
Solved

Set 301 redirection on basic html site.

Posted on 2013-06-28
5
Medium Priority
?
323 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
Read this article and get to know some best tips for outsourcing client PPC work to a white label PPC agency.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

762 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