.HTML SEO extension Static Pages issue

.HTML SEO extension Static Pages issue

Postby digitaldomain » Wed Jun 29, 2011 4:44 am

Hi,

My SEO page extension settings are set to .HTML and i've just started using the Static Pages feature. However, the when i click the link to my static page on the front side of the website, i get a page cannot be found error. If i change the extension of the static page from .html to .php, it works.

So, im wondering how i'd change this so the static pages will work with a .html ending, otherwise i might need to selec .php as my SEO extension but at this stage, Google has aready indexed all my pages with .html extension so it would be a bad idea to change that now, any ideas?
digitaldomain

 
Posts: 5
Joined: Fri Feb 11, 2011 7:00 pm

Re: .HTML SEO extension Static Pages issue

Postby ANS Team Dmitry » Wed Jun 29, 2011 8:10 pm

Hello
Maybe you forgot to change string
Code: Select all
RewriteRule ^content/([^/]*)\.php$ pages.php?p=$1 [QSA,L]

in .htaccess file to
Code: Select all
RewriteRule ^content/([^/]*)\.html$ pages.php?p=$1 [QSA,L]
Best regards
ANS Team
ANS Team Dmitry

 
Posts: 96
Joined: Mon Sep 27, 2010 5:00 pm

Re: .HTML SEO extension Static Pages issue

Postby digitaldomain » Thu Jun 30, 2011 5:06 pm

Hi,

Thats working perfectly, thanks :)

Just one more little issue with the Static Pages and links on Static Pages...

I tried to put a link to my contact page on a static page and it adds all this other code around the link which is causing it not to work.

It's turning a link such as contact.php into http://store.digitaldomain.ie/%22contact.php/%22

And also when i do a mailto: link it turns it into: http://store.digitaldomain.ie/%22//%22/ ... 2//%22/%22

So its adding a lot of %22 and also stuff to do with the HTML editor too by the looks of it... how do i get rid of all that?

Thanks,
Fran.
digitaldomain

 
Posts: 5
Joined: Fri Feb 11, 2011 7:00 pm

Re: .HTML SEO extension Static Pages issue

Postby Only Heavy Metal » Sun Sep 11, 2011 4:41 am

I have the same problem!
Htacces is set to
Code: Select all
RewriteRule ^content/([^/]*)\html$ pages.php?p=$1 [QSA,L]
but it still not working. Any idea?

Thanks,

Edwin
Only Heavy Metal

 
Posts: 25
Joined: Mon Nov 01, 2010 6:30 am

Re: .HTML SEO extension Static Pages issue

Postby Borg » Wed Sep 28, 2011 11:47 pm

Rewrite not supported by your host. Contact them to fix it or move your store to a compatible host. Works fine on the reptil host :-)
Borg

 
Posts: 22
Joined: Thu Nov 04, 2010 2:28 am

Re: .HTML SEO extension Static Pages issue

Postby Only Heavy Metal » Sun Oct 02, 2011 2:02 am

Hi

Rewrite is enabled (dedicated server) I have same script running under different domain and is all working fine.

Thx
Edwin
Only Heavy Metal

 
Posts: 25
Joined: Mon Nov 01, 2010 6:30 am


Return to Help & Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron