Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
Hi there
I try to search for an answer but didn't find none, if there is a topic with it plz send me the link. My question is, if there is any way i can take out the php page name from the pretty url, like if i have a template on a "article.php" file, can i make the pretty url like http://www.mysite.com/article1.html instead of http://www.mysite.com/article/article1.html?

Thx in advance.
Hello and welcome, AlexandreC :)

The naming conventions are pretty much hardcoded for the moment, I'm afraid.
In the current scheme of things, the only template that does not get its name shown in the URL is index.php.

So, assuming instead of article.php you used index.php, the URL would be
http://www.mysite.com/ (home-view)
http://www.mysite.com/article1.html (page-view)
Ok, thx for the info.
Well i cant use index because i already use it as other template, what i want to do is, every month i do a main page with 4 links for 4 articles. So i wanted like if my main page it's call home_january then wen i click one of the articles box it would open the article, diferent template, so i wanted to be www.sitename.com/home_january/article_one.html. But i guess there is no way i cant do that right?

Thx in advance.
3 posts Page 1 of 1