Jump to content
Latest News: (loading..)

Psytanium

Members
  • Content count

    432
  • Joined

  • Last visited

  • Days Won

    3

Psytanium last won the day on July 25 2015

Psytanium had the most liked content!

2 Followers

About Psytanium

  • Birthday 12/06/1982

Profile Information

  • Real Name
    Psytanium
  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I found that i need to add a class category_tree. Someone installed this nice addon on osc2.3.4 ???
  2. Hello, Im trying to install it on OSC2.3.4, I downloaded "Horizontal Categories Menu BS 1.3.2", uploaded the files in their directories, then installed the module from the back end, all seems good, no errors or something. Now I want to display the nav menu, I placed in the header.php <?php echo $oscTemplate->getBlocks('cm_header_catmenu'); ?> But nothing is showing, my website have bootstrap installed, the bootstrap css and js files are in the header, but I think its not a bootstrap issue, its related to php. Can you offer some advise please ? thanks
  3. Psytanium

    wrong urls do not redirect to 404 Not Found

    Solution provided on webhostingtalk forums: RewriteEngine On RewriteRule ^index\.php/(.*)$ http://%{HTTP_HOST}/$1 [R=301,L] To fix USU5 problem you can change it to: RewriteEngine On RewriteRule ^products_info\.php/(.*)$ http://%{HTTP_HOST}/$1 [R=301,L] Finally
  4. Psytanium

    wrong urls do not redirect to 404 Not Found

    Thanks.. I will try your solution next week and post back the result.. bug thanks
  5. Psytanium

    wrong urls do not redirect to 404 Not Found

    Indeed its a bad idea to include index.php in the URLs. cause what follow is considered parameters only. Now I'm using your contribution, the reason I switched because there is a better support generating sitemaps. Anyway, I think osCommerce must do something regarding this issue, WordPress included a solution for this possibility.
  6. Psytanium

    wrong urls do not redirect to 404 Not Found

    I used Ultimate SEO URL5 for some years, this addon use this URL format domain.com/index.php/product_name, so Google now saved my URLs based on this format. 6 months ago, I switched to another SEO URL addon, I think 1 of your contributions, it use another URL format domain.com/product_name.html That's how I ended struggling with Google to get him forget my URLs, but this need old wrong URLs to display the dead end a 404 Not found. Instead, old URLs display the content of domain.com/index.php @MrPhil explained whats happening correctly, any URL string following index.php is treated as URL parameter and if there's no product match it's simply dumping it back to /index.php According to cPanel support this is a standard behavior any server running Apache. Here is a link for testing, I uploaded a index.php to an empty account, there no htaccess or any platform installed: http://lbeautyspot.com/index.php http://lbeautyspot.com/index.php/product_name <- this URL must lead to dead end 404 Not Found in order to make Google clear it from its archive. Thank you both for digging this issue with me
  7. Psytanium

    wrong urls do not redirect to 404 Not Found

    I did what you suggested, the cPanel support replied : I did some tests on 2 other servers from different providers, apparently all servers behave the same regarding this issue. I noticed that only WordPress can take care and lead those wrong URLs to 404 Not Found where it should be, maybe htaccess is the only way to work around my problem.
  8. I posted here before I tested the addon.
  9. Psytanium

    wrong urls do not redirect to 404 Not Found

    I did some tests I tried 4 other oscommerce websites on the same server, with or without URL mod, same results, domain.com/index.php/test redirect to to home page. I tried to open domain.com/test the result is 404 not found. As you said, wrong products_info.php URLs end up on a product not found page. On the same server, I opened a Wordpress website, URL domain.com/index.php/test, the url redirect to domain.com/test (index.php removed) and displayed page not found 404. I tried 3 Opencart websites, on the same server. The result is similar to oscommerce, domain.com/index.php/test redirect to home page Conclusion This problem is not related to template or oscommerce or to URL SEO addons. All my websites on my server, with wrong URLs containing index.php redirect to to home page, and the results on search engine is wrong. Only WordPress websites redirect properly.
  10. Hello, Google search engine post results of old URLs of my website, after some readings, Google advise to redirect all none found URLs to 404 Not Found, my osc2.3.4 is redirecting all none found links to 404 Not Found unless the link contain index.php e.g. www.domain.com/asdasda redirect to 404 Not Found, good but e.g. www.domain.com/index.php/asdadasd redirect to home page instead - This is a problem, Search engines keeps those wrong URLs as valid PLEASE HELP, I have people who search for product A on Google, end up at home page instead of product page. I think this redirection is cause by this code // Ultimate SEO URLs v2.2d if ((!defined(SEO_ENABLED)) || (SEO_ENABLED == 'true')) { include_once('includes/classes/seo.class.php'); if ( !is_object($seo_urls) ){ $seo_urls = new SEO_URL($languages_id); } } Hope you can advise. Thanks
  11. Psytanium

    wrong urls do not redirect to 404 Not Found

    Previously I have Ultimate SEO URL 5 addon installed, now its removed and I have installed Ultimate SEO URLs. I turned off the addon but no effect.
  12. Psytanium

    wrong urls do not redirect to 404 Not Found

    I tried and cleared the htaccess file, blank.it still redirect all links containing index.php to home page, I think its somewhere in php. You know where should I look ? Big thanks btw
  13. Hello, Google search engine post results of old URLs of my website, after some readings, Google advise to redirect all none found URLs to 404 Not Found, my osc2.3.4 is redirecting all none found links to 404 Not Fount unless the link contain index.php e.g. www.domain.com/asdasda redirect to 404 Not Found, good but e.g. www.domain.com/index.php/asdadasd redirect to home page instead - This is a problem, Search engines keeps those wrong URLs as valid PLEASE HELP, I have people who search for product A on Google, end up at home page instead of product page.
  14. Hello, What should I fill in configure.php ? in the following define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); and what is it for the Force the use of sessions in backend ? Should I turn in on or off ? Im asking because the website keep redirecting some users to the login page. thanks
  15. Psytanium

    What are WAMP configures

    I see, i should dedicate some efforts into migration. Do you have a configure.php to use with WAMP ?
×