Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Create Embedded Page not shown under Help.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 06-17-2009, 12:41 PM
 
keystone keystone is offline
 

X-Adept
  
Join Date: Jul 2006
Location: USA
Posts: 787
 

Default Re: Create Embedded Page not shown under Help.

Sweet, It worked. Ok so now my next question is this, since I have my robots.txt file set so that *.php pages are not indexed ( I have cdseo regular not pro) to set a line up in my robots file to allow the static pages within "pages/..." to be indexed? There won't be danger of duplicate content on those pages since I'm not rewriting the URL's. I didn't know if there was a way to set up exceptions on a robots file or not.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3
mods:
reCaptcha
running on UNIX

www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2
mods:
reCaptcha
cdseo pro
running on UNIX
Reply With Quote
  #12  
Old 06-17-2009, 12:45 PM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default Re: Create Embedded Page not shown under Help.

Good to hear.

The files in skin1/pages/US/ are html not php. This is why I set mine up the way I do. It points to an html page not a php file.

Mike


Quote:
Originally Posted by keystone
Sweet, It worked. Ok so now my next question is this, since I have my robots.txt file set so that *.php pages are not indexed ( I have cdseo regular not pro) to set a line up in my robots file to allow the static pages within "pages/..." to be indexed? There won't be danger of duplicate content on those pages since I'm not rewriting the URL's. I didn't know if there was a way to set up exceptions on a robots file or not.
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
  #13  
Old 06-17-2009, 12:54 PM
 
keystone keystone is offline
 

X-Adept
  
Join Date: Jul 2006
Location: USA
Posts: 787
 

Default Re: Create Embedded Page not shown under Help.

Hoosierglass,
I re-read your system of setting that up in the help.tpl and it looks like it also would have worked. I see that the files in the pages/US/ directory are html but the actual link to them points to something like http://www.uscandleco.com/pages.php?pageid=6. If I point directly to the file like this http://www.uscandleco.com/skin1/pages/US/fundraising.html then I lose all the extra stuff (links,header,footer,etc..) and only get the text. Obviously if I get CDSEO pro that would be taken care of but I was wondering if there was another way. I have been seeing a few people having issues with CDSEO pro and having to enter stuff (meta info) twice...I don't know if they just don't have it set up right or what but I was kind of holding off on upgrading. Do you know how to block all .php file except pages.php?... in a robots.txt file? I don't mind having those pages indexed as php urls instead of html but I'm blocking them at the moment.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3
mods:
reCaptcha
running on UNIX

www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2
mods:
reCaptcha
cdseo pro
running on UNIX
Reply With Quote
  #14  
Old 06-17-2009, 01:31 PM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default Re: Create Embedded Page not shown under Help.

You would have to limit each .php type by line, and then make sure that pages.php was allowed. Basically this would eliminate a global command to block all php ie Disallow: /*.php would be no good and you would have to list each .php file individually.

Mike
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
  #15  
Old 06-17-2009, 01:35 PM
 
keystone keystone is offline
 

X-Adept
  
Join Date: Jul 2006
Location: USA
Posts: 787
 

Default Re: Create Embedded Page not shown under Help.

Oh, That would be a good bit of work plus having to update the robots.txt file each time I added a new page. Not a lot of fun. Ok well I'll have to think about what I'm going to do.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3
mods:
reCaptcha
running on UNIX

www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2
mods:
reCaptcha
cdseo pro
running on UNIX
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:30 PM.

   

 
X-Cart forums © 2001-2020