Issue with Concrete5 8.0.3: I got a modified URL with /-1/ on the homepage
Permalink 1 user found helpful
We're in the process of creating a website with the actual version 8.0.3. We just finished the template and filled content in the site. We had successfully created a bunch of pages, when something strange happened:
When we edit the homepage (Page ID 1) and published or saved the page, every content page got a rewrite-path like this:
Home:
http://www.123.com/index.php/-1...
Every subpage:
http://www.123.com/index.php/-1/subpage...
Every subpage became unaccessible and showed the content of the home page dut to the redirect path that was created by the system. I can see under "location" an entry with "/-1/subpage" for every page i have. And I'm not able to delete this within concrete5.
So I went to the database and could find the entries in "pagepaths" table. I deleted these entries with -1 and i could access and edit my pages again.
But now, ervey time I do a change on the home page. This happens again and every site got this /-1/ in the path.
I'm unsure where it comes from. Did anyone else got this issue?
Roland
When we edit the homepage (Page ID 1) and published or saved the page, every content page got a rewrite-path like this:
Home:
http://www.123.com/index.php/-1...
Every subpage:
http://www.123.com/index.php/-1/subpage...
Every subpage became unaccessible and showed the content of the home page dut to the redirect path that was created by the system. I can see under "location" an entry with "/-1/subpage" for every page i have. And I'm not able to delete this within concrete5.
So I went to the database and could find the entries in "pagepaths" table. I deleted these entries with -1 and i could access and edit my pages again.
But now, ervey time I do a change on the home page. This happens again and every site got this /-1/ in the path.
I'm unsure where it comes from. Did anyone else got this issue?
Roland
Hi,
I had the same issue, I had some weird rewrite rules in my htaccess www to non, or how i was forcing my ssl. I updated it, cleared cache and it fixed it. Here's my .htaccess
I had the same issue, I had some weird rewrite rules in my htaccess www to non, or how i was forcing my ssl. I updated it, cleared cache and it fixed it. Here's my .htaccess
# -- concrete5 urls start -- <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}/index.html !-f RewriteCond %{REQUEST_FILENAME}/index.php !-f RewriteRule . index.php [L] RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ https://%1/$1 [R=301,L] </IfModule>
I tried to index sitemap.xml, change SEO, urls. But still nothing... :(