Upgrade problems, need help with pretty urls
Permalink 1 user found helpful
Last night we updated the site to 5.4.1.
We started from 5.3.3.1 and then updated manually to 5.4.0.5 everything was ok apparently we then proceeded to update to 5.4.1 via automatic update. And the process was ok.
We did this because direct update to 5.4.1 failed.
The problem is that now the pretty url is not working and the site keeps loading the base page regarding the url it receives.
If we deactivate pretty url users can access pages but we have index.php in url.
But this is not ok because users that access our site from google searches are redirected to base page.
this is the htaccess code that used to work with 5.3.3.1.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
Did any file related to url rewriting changed since 5.3.3.1 ? because I tried working out the issue with the hosting company and the only results we are getting is no input file specified or the same thing base page(index.php) keeps loading but the url changes in browser address bar.
We started from 5.3.3.1 and then updated manually to 5.4.0.5 everything was ok apparently we then proceeded to update to 5.4.1 via automatic update. And the process was ok.
We did this because direct update to 5.4.1 failed.
The problem is that now the pretty url is not working and the site keeps loading the base page regarding the url it receives.
If we deactivate pretty url users can access pages but we have index.php in url.
But this is not ok because users that access our site from google searches are redirected to base page.
this is the htaccess code that used to work with 5.3.3.1.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
Did any file related to url rewriting changed since 5.3.3.1 ? because I tried working out the issue with the hosting company and the only results we are getting is no input file specified or the same thing base page(index.php) keeps loading but the url changes in browser address bar.
nu Mnkras, update did not failed though i will try this also tonight.
It is a little strange kow the update process is working , i would have liked to see the concrete old folder gone after update, but still i will try working this out tonight when there are less visits to the site.
It is a little strange kow the update process is working , i would have liked to see the concrete old folder gone after update, but still i will try working this out tonight when there are less visits to the site.
reverted to 5.3.3.1 from backup, pretty url was working.
updated manually to 5.4.0.5, pretty url is not working anymore. update was done without problem.
updated to 5.4.1, pretty url still not working even though update finished without problem.
I really thing is something to to with dispatcher.php because now without changing anything to the .htaccess code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
i get the home page to reload regardless of the pretty url I type in.
Any ideas ?
updated manually to 5.4.0.5, pretty url is not working anymore. update was done without problem.
updated to 5.4.1, pretty url still not working even though update finished without problem.
I really thing is something to to with dispatcher.php because now without changing anything to the .htaccess code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
i get the home page to reload regardless of the pretty url I type in.
Any ideas ?
I got just the same problem.
Follow this instruction:
http://jeremeclaussen.com/blog/2010/3/30/concrete5-pretty-urls-and-...
Or in short text:
In your root site directory, create a file named pretty_url.php and fill it with the following contents:
require('index.php');
Next, edit the .htaccess file you originally created and change one line.
RewriteRule ^(.*)$ index.php/$1 [L]
becomes
RewriteRule ^.*$ pretty_url.php/$1 [L]
Or upload the file in zip to root, but enable pretty url before uploading!
Follow this instruction:
http://jeremeclaussen.com/blog/2010/3/30/concrete5-pretty-urls-and-...
Or in short text:
In your root site directory, create a file named pretty_url.php and fill it with the following contents:
require('index.php');
Next, edit the .htaccess file you originally created and change one line.
RewriteRule ^(.*)$ index.php/$1 [L]
becomes
RewriteRule ^.*$ pretty_url.php/$1 [L]
Or upload the file in zip to root, but enable pretty url before uploading!
I got just the same problem.
Follow this instruction:
http://jeremeclaussen.com/blog/2010/3/30/concrete5-pretty-urls-and-...
Or in short text:
In your root site directory, create a file named pretty_url.php and fill it with the following contents:
require('index.php');
Next, edit the .htaccess file you originally created and change one line.
RewriteRule ^(.*)$ index.php/$1 [L]
becomes
RewriteRule ^.*$ pretty_url.php/$1 [L]
Or upload the file in zip to root, but enable pretty url before uploading!
Follow this instruction:
http://jeremeclaussen.com/blog/2010/3/30/concrete5-pretty-urls-and-...
Or in short text:
In your root site directory, create a file named pretty_url.php and fill it with the following contents:
require('index.php');
Next, edit the .htaccess file you originally created and change one line.
RewriteRule ^(.*)$ index.php/$1 [L]
becomes
RewriteRule ^.*$ pretty_url.php/$1 [L]
Or upload the file in zip to root, but enable pretty url before uploading!
Had the same problem after upgrading to 5.4.1 on a GoDaddy server. This took care of it for me as well!
Thanks so much!
Thanks so much!
morten7, thank you that worked, everything is ok now.
Glad i got help here :D
Thank you very much!
Glad i got help here :D
Thank you very much!
One more thing, clear the cache after this. You may run into problems if your website has more than 2 subpages.
in the /updates folder there should be a 5.4.1 folder, in that there should be the concrete folder, override all files in there with the one from the zip archive from here (dl button at the bottom)
Mike