Jump to content

1.4 CMS pages error


Recommended Posts

i am having problems with the CMS pages on 1.4 which are giving page not found errors.
works fine without friendly URLs but obviously not wanting to go down the route of having to do 301 redirects on every page in the site or face the wrath of lost page rankings due to duplicate content.

every other page apart fron any CMS ones work fine.


i tried on a fresh install and an upgrade install same error.
also tried creating new cms page but all to no avail.


if revert back to backup containing 1.3.7 everything works fine again


anyone any ideas???

Link to comment
Share on other sites

hi,

The problem is in your .htaccess file.
You have to modify these lines

RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*) /cms.php?isolang=$1&id;_cms=$2 [QSA,L]
RewriteRule ^content/category/([0-9]+)\-([a-zA-Z0-9-]*) /cms.php?isolang=$1&id;_cms_category=$2 [QSA,L]

with this

RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*) /cms.php?id_cms_category=$1 [QSA,L]
RewriteRule ^content/category/([0-9]+)\-([a-zA-Z0-9-]*) /cms.php?id_cms_category=$1 [QSA,L]

Link to comment
Share on other sites

FIXED! :)

Tried all of the coded editing fixes that I found and none worked for me so I did the following and it now works

In Preferences, SEO you see a list of all the CMS pages.

The ones that were not working did not have a Friendly URL name automatically inserted.

I've manually added the Friendly URLs to each line and regenerated the .htaccess file and its all now working! Ace!

Link to comment
Share on other sites

OK.. I updated the friendly url for all the cms pages, all showing..

Then regenerated the htaccess file..

Then I changed the two lines of code and updated the htaccess file..

NOT WORKING STILL!!!

I do not any funky modules that are not compliant with 1.4 or that would affect friendly URLs.

I see the product items in list view, and I see it in back office, when I click on the "view" button the error is page not found..

what is the dealeo??

SO NOT SOLVED!! HELP PLEASE!!!!!

Link to comment
Share on other sites

solutions worked for me originally that why i changed to solved have reopened it again now.


retested on fresh install and error came back.

what i am finding is previous solutions work ok if multiple languages installed but as soon as it goes to one single language then this error appears.

Only way i found to get around if was a single language is to give CMS pages brand new name

eg

original page = 1-delivery
new page url - 1-1-delivery

i know it not elegant but only real walkround i could find


additional to add

if you dont put the original 1-, 2- at start it wont work.

so if i put in friendly url (1-delivery, 1-about) which brings page on web to

1-1-delivery
4-1-about

both pages will load to the delivery page


if put in friendly url (1-delivery, 4-about) which brings webpage to

1-1-delivery
4-4-about

then both will goto correct pages.

Link to comment
Share on other sites

  • 2 weeks later...
RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*) /cms.php?id_cms=$1 [QSA,L]
RewriteRule ^content/category/([0-9]+)\-([a-zA-Z0-9-]*) /cms.php?id_cms_category=$1 [QSA,L] 



Replace in .htacces and it works



It doesn't work for me:

It comes an error-page (404) from the server. Link changed instead of cms.php to: /content/3-agb which seems to be correct, but instead of content I get a 404-server page.

The .htaccess is also not correct if you have your shop in a subfolder like /shop/ .htaccess only creates the rewrite from /cms.... on and not from /shop/cms....
By ammending the sbufolder now I have now error-page, but a blank page with no content ;-((

I have only one language, all other are deleted, so I also have no flags for translation on CMS-page

This modul is the buggiest after all and only a place before homefeatured, which is really bad coded when you want to make adaptions in style...
Link to comment
Share on other sites

  • 2 weeks later...

I resolved by going to BO-> Preferences -> SEO. I give every page a friendly URL except for index.php

Next, I went to Modules tab to disable and re-enabled CMS block.

Lastly, I went to Tools -> Generators and generate a new .htaccess file with Friendly URL check-box checked.

Hope this works for some of you.

Link to comment
Share on other sites

  • 10 months later...

I've tried everything in this thread an nothing worked. I'm using V1.4.7.0

 

I've found references to this problem all over Google going back serveral versions. This is a really cool cart but WOW the bugs!!!

 

Google

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...