Articles site

Discussion in 'Programming' started by remmus, Jul 30, 2012.

to remove all ads.
  1. Phreaddee

    Phreaddee Super Moderator Staff Member

    Messages:
    1,978
    well you've given no valid reason for not using wordpress, which is essentially an "article generator" and you can do URL rewriting in a second.

    and just to reiterate...

     
  2. Phreaddee

    Phreaddee Super Moderator Staff Member

    Messages:
    1,978
    ironic then you found that article which states the following

     
  3. Phreaddee

    Phreaddee Super Moderator Staff Member

    Messages:
    1,978
    actually what did that last line say again?

    and it was an article you found? no doubt through a google search?
    on a site built on wordpress?

    I rest my case.
     
  4. remmus

    remmus New Member

    Messages:
    15
    :) no man,the article says that you CAN use wordpress,but also teaches you how can you do that WITHOUT wordpress...and i don't want to use wordpress because i'm a web designer,not a blogger...man,what's your problem??are you obsessed of wordpress???
     
  5. remmus

    remmus New Member

    Messages:
    15
    JUST SHUT UP with wordpress!this is a programming forum,not a wordpress forum!
     
  6. Phreaddee

    Phreaddee Super Moderator Staff Member

    Messages:
    1,978
    and here in lies your problem.
    you dont actually know what wordpress is do you? you obviously are getting wordpress.com (a blogging platform) and wordpress.org (a fully functional cms, and the worlds most popular one at that) confused.
     
    Last edited: Aug 23, 2012
  7. Phreaddee

    Phreaddee Super Moderator Staff Member

    Messages:
    1,978
    and its a web design forum not a programming forum. and as 90million+ people use wordpress worldwide, its fairly relevant to talk about it on a web design forum.
     
  8. JakClark

    JakClark New Member

    Messages:
    128
    Forgive me, I have no idea why I referred to it as .htaccess in general, as I am more accustomed to working in IIS - where I never, ever use .htaccess as a way of rewriting the URL.

    And I didn't mean to infer that a CMS was required to utilise URL rewriting - I was more referring to the fact that he would want a CMS with 'nice URLs' if he wanted URL rewrite for his 'article generator' :)
     
  9. chrishirst

    chrishirst Well-Known Member Staff Member

    Messages:
    2,637
    If your hosting is on a Windows OS it will most likely be using Microsoft's Webserver Internet Information Service (IIS). There is a way to use htaccess on there but it requires that IIS has an extra component installed, called ISAPIRewrite and it is unlikey that the hosting company has it installed. If you are running a dedicated Windows box or a Windows Virtual Machine (VM/VPS) then you could install it yourself. However it would appear from your that this is not the case and you are on a "shared hosting account".

    While Apache can be run on Windows servers it is unusual for a host to offer such a setup, simply because it creates other problems.

    URL rewriting on IIS is handled in a file called web.config and the URL Rewrite module and to be honest, is NOT the easiest thing in the world to get to grips with. I gave up with it and coded my own system for ASP vBScript.
    Using .htaccess on Apache is somewhat simpler.

    If you want to have static URLs (site.tld/article-with-meaningful-name-as-the-address-on-windows/) then creating a folder with that name and putting your HTML document in that folder and naming it default.html is the easiest way. Which is what I did a long time ago someday I may even convert that site to a CMS. :D which might even tempt me into updating more than once every glacial epoch.
     
  10. JakClark

    JakClark New Member

    Messages:
    128
    Haha, I'd assumed he was on a VM for some reason, too. In the instance that he is, there is Helicon Ape: http://www.helicontech.com/ape/ although if it's via IIS you may use the htaccess to web.config generator it provides. You could do this even if you don't run it via a VM - install IIS on your PC and copy the generated url.rewrite code to the panel.
     
  11. remmus

    remmus New Member

    Messages:
    15
    But what if I use XAMPP(the man who made the tutorial on windows with .htacces has been using XAMPP)?Has XAMPP the extra component for IIS installed,or it's the same thing?
     
  12. remmus

    remmus New Member

    Messages:
    15
    eh,it doesn't matter :D i talked with an operator about their hosting and he said that they use linux there and i can use htacces url rewriting without any problem :) thank you chrishirst
     
  13. chrishirst

    chrishirst Well-Known Member Staff Member

    Messages:
    2,637
    No and no,

    Just so it's clear for future readers XAMPP is nothing to do with IIS

    IIS, the Internet Information Service is included with the server versions of MS Windows and in the "Business" and "Ultimate" packages of "desktop versions" (Vista, Windows 7 & 8). Windows 2000 and XP professional have a limited (single site) version of IIS. These are not installed by default. And none of the have the Helicon ISAPIRewrite component.

    XAMMP is a [sort of] acronym for X (read as cross[-platform]) Apache HTTP server, Mysql server, PHP scripting and Perl scripting installation.
     

Share This Page