+ Post New Thread
Results 1 to 6 of 6
Internet Related/Filtering/Firewall Thread, www.owndomain.com/page - help. in Technical; On our website i am trying to get our pages to display using www.domain.com/page . At the moment i have ...
  1. #1
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    2,937
    Thank Post
    271
    Thanked 261 Times in 188 Posts
    Rep Power
    114

    www.owndomain.com/page - help.

    On our website i am trying to get our pages to display using www.domain.com/page. At the moment i have to put .htm on the end of the page for it to display so it results in www.domain.com/page.htm.

    What is it called when you have www.domain.com/page without the .htm and how do i configure our pages to do this.

    Thanks

  2. #2

    Join Date
    Dec 2008
    Location
    Nottingham
    Posts
    572
    Thank Post
    38
    Thanked 114 Times in 104 Posts
    Rep Power
    46
    Your need some form of mod_rewrite type thing - depending on your web host depends on what you want - if it's Linux, it's HTACCESS, if Windows there are methods too...

  3. #3
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    2,937
    Thank Post
    271
    Thanked 261 Times in 188 Posts
    Rep Power
    114
    Ive just spoken to the hosting company, just waiting for them to email me back with what we have got.

    I'm guessing its on a windows platform.

  4. #4

    Join Date
    Dec 2008
    Location
    Nottingham
    Posts
    572
    Thank Post
    38
    Thanked 114 Times in 104 Posts
    Rep Power
    46
    Wordpress vaguely explain your options - may not have the entire correct code etc, but may assist in directing you:

    Using Permalinks WordPress Codex

  5. Thanks to Willott from:

    timbo343 (6th November 2013)

  6. #5
    Arcath's Avatar
    Join Date
    Feb 2009
    Location
    Lancashire
    Posts
    972
    Thank Post
    102
    Thanked 116 Times in 101 Posts
    Rep Power
    74
    if its just static HTML files you could as a last resort move them info folder e.g.

    page.html becomes page/index.html

    this would then work as www.domain.com/page

  7. #6
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    2,937
    Thank Post
    271
    Thanked 261 Times in 188 Posts
    Rep Power
    114
    Ive got it working with this:

    Code:
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="RewriteCheck" stopProcessing="true">
                    <match url="^(.*)$" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="{R:1}.htm" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>

SHARE:
+ Post New Thread

Similar Threads

  1. www.effectivebrand.com
    By in forum Web Development
    Replies: 13
    Last Post: 5th July 2006, 02:42 PM
  2. www.eteach.com
    By indiegirl in forum General Chat
    Replies: 14
    Last Post: 12th May 2006, 09:16 PM
  3. http://www.shambles.net/pages/staff/ITlabs/
    By NetworkGeezer in forum Links
    Replies: 0
    Last Post: 21st March 2006, 08:43 PM
  4. www.educationcity.com
    By Mitch in forum Recommended Suppliers
    Replies: 0
    Last Post: 28th February 2006, 02:16 PM
  5. http://www.iloveim.com
    By Rozzer in forum Windows
    Replies: 7
    Last Post: 20th September 2005, 12:45 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •