Topic: Static URLs instead of dynamic urls

Hello, I've been searching around a bit for this, but have only found 6+ year old responses that I'm sure will work anymore. Anyways, is there any (easy) way where I can get static URLs for my news entries using CuteNews, instead of dynamic URLs?

In other words, instead of:

http://website.com/index.php?id=someID

I want:

http://website.com/titleOfPost

Hope someone can help with this.

2 (edited by 2014-03-24 13:34:48)

Re: Static URLs instead of dynamic urls

We've tested and added a possibility to install any  PageAlias (even without .html suffix).

1. Make an update (to the latest github version) according to these changes:
https://github.com/CuteNews/cutenews-2.0/co...58ebdba66bbb3ff

2. Go to System configuration > Rewrite; install "Real path to your layout file" parameter or leave it empty and then replace it; install "Rewrite prefix" parameter on "/" symbol (without quotation marks); save configurations.

3. Save the news, filling "PAGE ALIAS" field with "titleOfPost" or "titleOfPost.html", for example.

Best regards,
CN Support team

3 (edited by 2014-03-24 13:49:23)

Re: Static URLs instead of dynamic urls

We've tested and added a possibility to install any  PageAlias (even without .html suffix).

1. Make an update (to the latest github version) according to these changes:
https://github.com/CuteNews/cutenews-2.0/co...58ebdba66bbb3ff
https://github.com/CuteNews/cutenews-2.0/co...d700b8b476afda5

2. Go to System configuration > Rewrite; install "Real path to your layout file" parameter or leave it empty and then replace it; install "Rewrite prefix" parameter on "/" symbol (without quotation marks); save configurations.

3. Save the news, filling "PAGE ALIAS" field with "titleOfPost" or "titleOfPost.html", for example.

Best regards,
CN Support team

4 (edited by 2014-03-24 14:00:47)

Re: Static URLs instead of dynamic urls

Hi Support Team

Thanks for this wonderful update, now we can have the news page extension remove.

As I don't have access to my website until Wednesday to test this, can I ask if there will be any conflicting issues with the rewrite module in cute news if  i add in URL rewrite to the htacess to remove my other pages .PHP extension (cutenews not located in this pages)?

Re: Static URLs instead of dynamic urls

Thanks a lot, exactly what I was looking for! 

Is there any way I can automate the page aliases so that I don't have to write and format the title in the "PAGE ALIAS" field myself? As it, automatically have it so that a blog entry with title "This is an entry" automatically becomes "www.website.com/This_is_an_entry"?

Great work on CuteNews 2.0 btw!

Re: Static URLs instead of dynamic urls

Thanks a lot, exactly what I was looking for! 

Is there any way I can automate the page aliases so that I don't have to write and format the title in the "PAGE ALIAS" field myself? As it, automatically have it so that a blog entry with title "This is an entry" automatically becomes "www.website.com/This_is_an_entry"?

Great work on CuteNews 2.0 btw!

Would like to see this being optional too. My editors are complaining that it is troublesome for them to retype the page title again in the page alias.

Re: Static URLs instead of dynamic urls

how can I change _ to -?

I mean I want - to replace the space instead of _ and obviously delete - if it on the title

Re: Static URLs instead of dynamic urls

Thank you for the last update.

Re: Static URLs instead of dynamic urls

Static URLs are good for Long-term Marketing campaigns. If your URLs will change frequently then I will hurt your traffic and revenue.

Real Estate Website Development - Wordpress Development Los Angeles