PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds How do I...? (http://www.photopost.com/forum/classifieds-how-do-i/)
-   -   Seo url and special chars (http://www.photopost.com/forum/classifieds-how-do-i/143242-search-engine-optimization-url-special-chars.html)

Simka June 28th, 2010 04:01 AM

Seo url and special chars
 
Hi Chuck.

How do I get seo urls to replace special chars instead of stripping them?

I need æ=>ae ø=>oe and å=>aa

Urls get very weired when they are just stripped.

Chuck S June 28th, 2010 10:44 AM

We already do certain replacements in the ppsafeurl function in pp-inc.php

Code:

Content visible to verified customers only.
what are you exact needs

Simka June 28th, 2010 12:43 PM

Quote:

Originally Posted by Chuck S (Post 1271229)
We already do certain replacements in the ppsafeurl function in pp-inc.php

Code:

Content visible to verified customers only.
what are you exact needs

Only this:
æ -> ae
ø -> oe
å -> aa

And I got it working now, thanks :)

Chuck S June 28th, 2010 04:08 PM

No problem

Simka June 29th, 2010 09:48 AM

Chuck, now the problem is the RSS, those characters gets very weired.

æ = æ
ø = ø
å = å

Where can I correct that?

Chuck S June 29th, 2010 09:52 AM

well the rss has nothing to do with the seo urls

where in rss are you referring to? Have you tried changing the language in the rss file to whatever language your trying to pass your rss to?

Code:

Content visible to verified customers only.

Simka June 29th, 2010 10:00 AM

<language>da-dk</language> no change.

<title> is ok with those special chars, but <description> is not

Chuck S June 29th, 2010 10:55 AM

without seeing your site I cant really respond post a url ;)

Simka June 29th, 2010 11:25 AM

Quote:

Originally Posted by Chuck S (Post 1271303)
without seeing your site I cant really respond post a url ;)

Code:

Content visible to verified customers only.

Chuck S June 29th, 2010 11:53 AM

Maybe this line in external.php

Code:

Content visible to verified customers only.
try this instead

Code:

Content visible to verified customers only.

Simka June 29th, 2010 12:03 PM

Then the external.php give error (blank page)

Chuck S June 29th, 2010 01:34 PM

are you sure you edited correctly as what I stated to do would not give a blank page

Simka June 29th, 2010 03:10 PM

Yes, I just tryed again. IE gives a total blank page and Firefox show page but empty (no ads)

Chuck S June 29th, 2010 03:47 PM

I dont see how just that one change to your file would do anything.

Simka June 29th, 2010 04:02 PM

Have a look, I have made the change again :-)

Chuck S June 29th, 2010 04:10 PM

well I dont speak your language so what is suppose to be what?

Simka June 29th, 2010 04:44 PM

Those should be like this:

&aelig; => æ
&oslash; => ø
&aring; => å

Chuck S June 30th, 2010 08:41 AM

Maybe underneath the line we have been playing with put this.

Code:

Content visible to verified customers only.

Simka June 30th, 2010 09:54 AM

This didnt help:

Code:

Content visible to verified customers only.
Did I place it correct?

Simka June 30th, 2010 05:18 PM

Hi Chuck, did I do it correct, see above, cause it didnt work?


All times are GMT -5. The time now is 07:15 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97