Jump to content

Removing articles.html from URL


stig olsen

Recommended Posts

Posted

Hey,

I've managed to remove index.php from URL. However I need to remove articles.html for even better URLs. Any insights into how I can do this?

Page settings...

Posted

Seems like I am not able to remove them completly. However I could rename it to category and link directly to page with it:

{database="1" category="1"}

But when I tried to do this with my other category by setting another page
{database="1" category="2"}
 

I got an error. "Page could not be saved: The database added is being used by another page. " Seems a little bit excessive to create one database for each page?

What I am mainly trying to do is this:
Category 1 = http://mydomain.com/category1
Category 2 = http://mydomain.com/category2

Instead of http://mydomain.com/articles/category1

 

Posted

Seems like I am not able to remove them completly. However I could rename it to category and link directly to page with it:

{database="1" category="1"}

But when I tried to do this with my other category by setting another page
{database="1" category="2"}

Yeah, that wont work, specifically for that reason you are trying to avoid. The database can only be on one page, so you can’t call it in two locations with then different URLs. 

What I am mainly trying to do is this:
Category 1 = http://mydomain.com/category1
Category 2 = http://mydomain.com/category2

Seems a little bit excessive to create one database for each page?

Yes, that is what you would need to do. If you want that URL structure, separate pages AND databases would be exactly what justifies those URLs. 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...