.htaccess help please :)

Discussion in 'Programming' started by Adam H, Nov 18, 2009.

Thread Status:
Not open for further replies.
  1. Adam H Administrator

    Member Since:
    Jan 7, 2008
    Message Count:
    2,892
    Likes Received:
    188
    Occupation:
    Head of Search
    Location:
    Norfolk Uk
  2. proweb Well-Known Member

    Member Since:
    Jul 22, 2009
    Message Count:
    1,308
    Likes Received:
    44
    Occupation:
    Joomla Designer
    Location:
    Joomla Expert
    Try this out:

    Code (text):
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^prowebcreative.com [NC]
    RewriteRule ^(.*)$ http://www.prowebcreative.com/$1 [L,R=301]

    Redirect 301 /file.html http://www.prowebcreative.com/file
    This is working for me...
  3. Orion New Member

    Member Since:
    Sep 29, 2009
    Message Count:
    969
    Likes Received:
    25
    Location:
    http://admin-spot.com
    Hey River, thanks for the help yesterday :)

    I'm just wondering, what is the point of a .html extension? I've been searching, and the only reason I've found is that some people think it looks better.
  4. proweb Well-Known Member

    Member Since:
    Jul 22, 2009
    Message Count:
    1,308
    Likes Received:
    44
    Occupation:
    Joomla Designer
    Location:
    Joomla Expert
    I think is better without extensions. Why to have longer urls?

    Maybe some webmasters started in the 90s and they like more the urls with .html and .php extension :D
  5. Adam H Administrator

    Member Since:
    Jan 7, 2008
    Message Count:
    2,892
    Likes Received:
    188
    Occupation:
    Head of Search
    Location:
    Norfolk Uk
    HTML / HTM was the standard at the time , it then moved to .php but in those days there was no such thing as mod rewrite so you couldnt do anything , No days it is very much whether you like on extension or another

    Proweb , no going to PM you , i cant figure it out lol
Thread Status:
Not open for further replies.

Share This Page