Articles site

Phreaddee

Super Moderator
Staff member
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...

It is called (as in the post above your last one #12 ) URL rewriting or URL aliasing. Often referred to (incorrectly) as "Search Engine Friendly URLs"
 

Phreaddee

Super Moderator
Staff member
ironic then you found that article which states the following

File Existence and WordPress

Smashing Magazine runs on the popular blogging software WordPress. WordPress enables the author to choose their own URL, called a “slug.” Then, it automatically prepends the date, such as http://coding.smashingmagazine.com/2011/09/05/getting-started-with-the-paypal-api/. In your pre-URL rewriting days, you might have assumed that Smashing Magazine’s Web server was actually serving up a file located at …/2011/09/05/getting-started-with-the-paypal-api/index.html. In fact, WordPress uses URL rewriting extensively.
 

Phreaddee

Super Moderator
Staff member
actually what did that last line say again?

In fact, WordPress uses URL rewriting extensively.

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

I rest my case.
 

remmus

New Member
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.

:) 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???
 

Phreaddee

Super Moderator
Staff member
because i'm a web designer,not a blogger
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:

Phreaddee

Super Moderator
Staff member
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.
 

JakClark

New Member
The process is URL Rewriting, redirecting or aliasing. .htaccess is the file that has the rules for rewriting or redirecting the requested URL on Apache webserver when running on a Unix/Linux system.

Also you do not need to be running a CMS to utilise URL rewriting.

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' :)
 

chrishirst

Well-Known Member
Staff member
I'm using another host(my PC is not my host).

I use Windows anyway.But why can't I use .htacces? i saw a tutorial where somebody who works on windows used .htacces for his site...Anyway,is there a method that can be used for every platform?

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.
 

JakClark

New Member
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.

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.
 

remmus

New Member
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.

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?
 

remmus

New Member
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
 

chrishirst

Well-Known Member
Staff member
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?
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.
 
Top