Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+4 votes
1.4k views
in Q2A Core by
edited by

Function strtoupper Could you please upgrade the answer of this "Capialisation all letters urls) question, because i have upgrading to a new version, and all my url are not capiutalize (so i keep the old version in the meantime , so all its wrong for iam losing everything, thank you very much =>

http://www.question2answer.org/qa/30465/url-rewriting-how-to-automatically-capitalize-urls?show=30465#q30465

BEFORE THE ANSWER WAS 

in 'qa-base.php' find 'qa_q_request' function. at the end of it replace

        return (int)$questionid.'/'.$title;

with

        return (int)$questionid.'/'.strtoupper($title); 

The SEO plugin CAPITALIZATION is not working anymore as well.

3 Answers

0 votes
by
Is the last line in green the actual code you were using? There was some more complex code in the comments that I don’t think is necessary.

The code you posted above should work to make the URL all uppercase. Alternately use ucwords instead of strtoupper to make it Title Case.
0 votes
by

Install Q2A Ultimate SEO. go to "Admin > Ultimate SEO" page. in "URLs: URL Customizations" tab enable capitalization for tags or pages and choose which parts of words should be capitalized.

0 votes
by

Google consider this as negative seo and it will not affect your ranking

...