[CRE Loaded] SEO causing issue with javascript

Technical difficulties? Ask for help here.

Re: [CRE Loaded] SEO causing issue with javascript

Postby ebreaka » Thu Apr 30, 2009 1:04 pm

I also think the problem is coming from that stmenu.js i just have no ideas of how to fix that one... but if I take off the php code, and use only the include/.... the .js file is still loading on normal cre pages, only when the links are rewritten by magic, menu is not working anymore (.js not loaded)... and i have no more the non secure items problem...

without forgetting that ony IE is having this problem...
ebreaka
 
Posts: 12
Joined: Fri Apr 17, 2009 4:12 pm

Re: [CRE Loaded] SEO causing issue with javascript

Postby ebreaka » Fri May 01, 2009 3:06 pm

in my 404 error logs, here's a cue when using this code:

Code: Select all
<script type="text/javascript" src="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>templates/Original1_B2B/dhtml-menu/stmenu.js"></script>


/shop/en/boxing-28/the-accessories-33/training-accessories-78/accessories-103/templates/Original1_B2B/dhtml-menu/products-over.png

I have received 195 000 message errors 404, last 2 weeks with Magic SEO... Hope we can find a solution quickly...
ebreaka
 
Posts: 12
Joined: Fri Apr 17, 2009 4:12 pm

Re: [CRE Loaded] SEO causing issue with javascript

Postby ebreaka » Fri May 01, 2009 3:51 pm

ok

I got it fixed... I have added this code:
Code: Select all
<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>


to replace all my existing
Code: Select all
http://
links for my menu and now everything is working fine with https also... Menu and everything... I'm afraid I will still get few 404 related to bad image links coming from css... I'll check my logs to see what's next... I still have a present issue preventing IE to show my green EV SSL certificate, but the rest seems all fine...

thanks for your support about this issue!
Last edited by ebreaka on Fri Jun 05, 2009 9:48 am, edited 1 time in total.
ebreaka
 
Posts: 12
Joined: Fri Apr 17, 2009 4:12 pm

Re: [CRE Loaded] SEO causing issue with javascript

Postby ebreaka » Fri May 01, 2009 3:52 pm

~J~ wrote:Try to add to includes/header_tags.php file before this line:

Code: Select all
echo ' <meta http-equiv="Content-Type" content="text/html; charset=' . CHARSET  . '">'."\n";


following code:
Code: Select all
echo ' <!--[if IE]></base><![endif]-->'."\n";



Should I reverse this ???
ebreaka
 
Posts: 12
Joined: Fri Apr 17, 2009 4:12 pm

Re: [CRE Loaded] SEO causing issue with javascript

Postby ~J~ » Sat May 02, 2009 5:12 am

Basically yes you should.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1055
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Previous

Return to Troubleshooting

Who is online

Users browsing this forum: Google [Bot] and 3 guests