301 permanent redirect

5 replies
Hello,

I have a problem. My previous site was in HTML and i have created my new site in Joomla. When i searched google meta refresh or redirect are not good way for SEO point of view.

My problem is how to set a 301 permanent redirect in html page. My hosting is windows.

Thanks in Advance.
#301 #permanent #redirect
  • Profile picture of the author iAmNameLess
    Don't host in the windows IIS, get on apache.

    The .html suffixes can be added through a mod rewrite, pretty easy.
    {{ DiscussionBoard.errors[8221662].message }}
    • Profile picture of the author mayankgangwal
      Hi,

      I am a great fans of yours since my account on warrior i have found some great replies of yours.

      Now coming back to the topic.
      I cannot change my hosting. And how to set a mod rewrite on html page. Right now i have set meta redirect which is not good according to seo.

      Please help me.
      Thanks
      {{ DiscussionBoard.errors[8243320].message }}
  • Profile picture of the author iAmNameLess
    Yeah you don't want a meta redirect. You can try using shs404 the joomla component. BUT... it should work right out of the box. Windows hosting is a pain, your hosting company should easily be able to move you to an apache server.

    Do you have a web.config file in your ftp root?

    For MOST Joomla sites on IIS, assuming everything is set up properly (let me know which hosting company you use) it is pretty simple for SEF URLs. If you're on an apache server like most of the world, it is as easy as a couple clicks of a button. Also, let me know what version of Joomla you're using...

    But anyway....

    1.) In your Joomla admin panel, under global configuration select yes for every SEF option except unicode aliases.
    2.) Rename your web.config.txt to web.config
    3.) If that doesn't work, your hosting company didn't install the IIS URL Rewrite Module from Microsoft... it is a free install so ask them to do it for you if they didn't.

    Then there you go, problem solved. You don't need to do any redirect because you have search engine friendly URLs with the .html suffix. Your only problem now is figuring out how to keep the same exact URLs... but that's easy.

    For example, if your about us page was domain.com/aboutus.html you go under menus in joomla, click about us, and add the alias of the menu item as aboutus. If your about us page was domain.com/about-our-company you would add the alias in the menu item as about-our-company and it automatically adds the .html.

    301 redirects only pass a portion of power to the new site, if any at all.

    Let me know if you have any other issues.
    {{ DiscussionBoard.errors[8244218].message }}

Trending Topics