1 (edited by 2013-01-31 08:24:45)

Topic: SEO friendly URLs

Hey there,

i am using the latest version of cutenews (1.5.2). I want to implement seo friendly URLs, but i'm not sure whether the old hack for that is working with cutenews 1.5?

May you give me an explanation how to do that? I think this would be interesting for all cutenews users.

And: When i want to change in the settings "Custom rewrite -> allow rewrite news url path" to yes, it automatically changes after saving to "no". Why? Is this a bug?

Thank you so much!

Martin

Re: SEO friendly URLs

I am having this same issue. Just recently installed it. Didn't do any other things.

Re: SEO friendly URLs

This functional exists in 1.5.2 but still being tested. Download the latest version from Github (https://github.com/CuteNews/cute-news-repo/archive/master.zip) where we've corrected this bug and install in Options > System configurations >  Custom rewrite = Yes. After this a new menu in Options > URL Rewrite manager will appear.

P.S.
"URL Template name" - the URL that will be shown;
"Use layout" - the original URL where Cutenews will refer to in case of coincidence of template in "URL Template name".

Best regards,
CN Support team

Re: SEO friendly URLs

Hey there,

i am using the latest version of cutenews (1.5.2). I want to implement seo friendly URLs, but i'm not sure whether the old hack for that is working with cutenews 1.5?

May you give me an explanation how to do that? I think this would be interesting for all cutenews users.

And: When i want to change in the settings "Custom rewrite -> allow rewrite news url path" to yes, it automatically changes after saving to "no". Why? Is this a bug?

Thank you so much!

Martin

I have the same problem. The "custom rewrite" thing won't stick to "yes"

Re: SEO friendly URLs

I have the same problem. The "custom rewrite" thing won't stick to "yes"

Anyone ?

Re: SEO friendly URLs

same problem here http://cutephp.com/forum/style_emoticons/default/blink.gif

Re: SEO friendly URLs

This is a testing option, it doesn't work in 1.5.2 yet but will be added to the release of of the version 1.5.3 or you can download the latest version from github

Best regards,
CN Support team

Re: SEO friendly URLs

Hi,

I've a problem with url rewriting (CN 1.5.3). It's activated but the URL is like this : ?subaction=showfull&id=1363429376&ucat=1&template=Default_us&#disqus_thread

I don't want "&template=Default_us&#disqus_thread", how to remove this ?

Thanks

Re: SEO friendly URLs

OK for &template=Default_us&#disqus_thread, i found it

Nevertheless, I don't understand URL rewriting. Here the code for full story :

news/view/%id/%title

CN is in a folder "info" and my news is in folder "actu". Which is the solution to make a good URL rewriting ?

Re: SEO friendly URLs

I don't understand, I've an error 404 on the URL rewriting...

Re: SEO friendly URLs

Hi everyone,

On CN URL rewrite manager :

URL Template name    Template Value   

/news/view/%id/%title  /////////  /actu/news-us.php?subaction=showfull

error404, I don't know why, the direction is the good one...

Someone to help me ? Thanks you

   
   

Re: SEO friendly URLs

Hi everyone,

On CN URL rewrite manager :

URL Template name    Template Value   

/news/view/%id/%title  /////////  /actu/news-us.php?subaction=showfull

error404, I don't know why, the direction is the good one...

Someone to help me ? Thanks you


The same with me - error 404

Re: SEO friendly URLs

Dear User!

Please send us the code of the generated .htaccess file.

Best regards,
CN Support team

Re: SEO friendly URLs

Hi,

Here the code of the htaccess file :

RewriteEngine ON
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /cn_friendly_url.php?rew=$1&%{QUERY_STRING}[L]

Re: SEO friendly URLs

Dear Mattt07,

Please try removing

"/"

before

cn_friendly_url.php:

RewriteRule ^(.*)$ /cn_friendly_url.php?rew=$1&%{QUERY_STRING}[L]

Change to

RewriteRule ^(.*)$ cn_friendly_url.php?rew=$1&%{QUERY_STRING}[L]

By every saving rewrite will be discharged. That is why you should change it every time it is necessary.

We have added this issue to our to-do list, and we are going to develop mod_rewrite within a plugin  in the next release 1.5.4

Best regards,
CN Support team

Re: SEO friendly URLs

Hi Support_Team,

It doesn't work (error404) with the modification...

I'll be patient until the next release but could you say me the date approximately of the release ?

Thanks you for your help.

Re: SEO friendly URLs

Same problem here, lets wait for next build http://cutephp.com/forum/style_emoticons/default/sad.gif