Jump to content

Pascal_761

Members
  • Posts

    7
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Albi - France

Pascal_761's Achievements

Newbie

Newbie (2/6)

4

Reputation

  1. I found a solution with an apache rewrite rule that removes index.php from url RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC] RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L] source : https://ellislab.com/expressionengine/user-guide/urls/remove_index.php.html
  2. For example http://processwire.com/index.php/this/page/dont/exists should return a 404 error code.
  3. Hello, The old version of the website that i'm currently working on had urls like /index.php/section/page1 and many of these url show up in google. This urls don't exists anymore on the new version of the website, but processwire handle this urls like the homepage with a 200 result code. I assume this is because index.php is included in the url. I need a 404 result code. Is there a way to achieve this in processwire ? PS : of course the old version of the website wasn't made with processwire
  4. I got it. If there's a specific page name on any language it isn't updated when you change default language page name. Default page name is replicated when specific language page name is not defined. Sounds obvious now.
  5. Hello, When i update the default language page name, it overrides all page names in other languages. Is this processwire normal behavior ? Can i disable this behavior ?
  6. Thanks for all your responses, I was able to find a solution with mysql in the meantime. I figured out that language fields have all the same name in the database : data1013 -> 'fr', data1017 -> 'be' in my case. To find every table that have language fields i used this query : SELECT DISTINCT TABLE_NAME as mytable FROM INFORMATION_SCHEMA.COLUMNS WHERE COLUMN_NAME IN ('data1013') AND TABLE_SCHEMA='processwire'; and on every table found i applied this query to duplicate the fields : UPDATE <table_name> SET data1017 = data1013; And of course i made a backup of my database before i made any update query
  7. Hello, I need to duplicate every field that exists in one particular language to another language (fr-fr to fr-be), and after that some adjustments have to be made on fr-be pages. Can someone give me any clues to achieve this with mysql queries (processwire database structure is new for me - mysql is not ) Thx
×
×
  • Create New...